Browser Automation
v0.4.1Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_back
Navigate back in browser history.
browser_forward
Navigate forward in browser history.
browser_wait
Wait for an element to appear or for a specified time.
| Parameter | Type | Description |
|---|---|---|
selector * | string | CSS selector to wait for, or milliseconds (e.g., "2000") |
timeout | number | Max wait time in ms (default: 10000) |
browser_click
Click an element. Use @ref from browser_snapshot (preferred) or a CSS selector. WORKFLOW: browser_snapshot → find @ref → browser_click @ref A click can submit a form, send a message, delete something or confirm a payment. Before a click that does any of those, check that the user asked for it.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref from snapshot (e.g., "@e2") or CSS selector |
browser_fill
Clear a field and fill it with text. Use @ref from browser_snapshot. WORKFLOW: browser_snapshot → find input @ref → browser_fill
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref (e.g., "@e3") or CSS selector |
value * | string | Text to fill |
browser_type
Type text character by character (simulates real keystrokes). Useful for search boxes and autocompletes that respond to individual key events.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref or CSS selector |
text * | string | Text to type |
browser_press_key
Press a keyboard key. Common keys: Enter, Tab, Escape, Backspace, ArrowDown, ArrowUp.
| Parameter | Type | Description |
|---|---|---|
key * | string | Key to press (e.g., "Enter", "Tab", "Escape") |
browser_scroll
Scroll the page in a direction.
| Parameter | Type | Description |
|---|---|---|
direction * | string | Scroll direction |
amount | number | Pixels to scroll (default: 500) |
browser_select
Select an option from a dropdown.
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref or CSS selector for the <select> |
value * | string | Option value or visible text to select |
browser_hover
Hover over an element (triggers hover menus/tooltips).
| Parameter | Type | Description |
|---|---|---|
ref * | string | Element ref or CSS selector |
browser_evaluate
Execute JavaScript in the page context and return the result. DESTRUCTIVE: this is equivalent to running arbitrary code with the privileges of the current page.
| Parameter | Type | Description |
|---|---|---|
script * | string | JavaScript code to execute |
browser_snapshot
Get the page accessibility tree with interactive element references. THIS IS YOUR PRIMARY DISCOVERY TOOL. Always call this before clicking, filling, or interacting with the page. Returns element refs like @e1, @e2 that you use with browser_click, browser_fill, etc. Use the -i flag (default) to see only interactive elements, keeping output focused.
| Parameter | Type | Description |
|---|---|---|
full | boolean | If true, show all elements (not just interactive). Default: false. |
browser_screenshot
Take a screenshot of the current page. Returns an image.
| Parameter | Type | Description |
|---|---|---|
annotate | boolean | Add numbered element labels to the screenshot |
full_page | boolean | Capture full scrollable page |
browser_get_page_info
Get the current page URL and title.
browser_get_text
Get the text content of the page (or of a single element). Use this for reading and summarising page content — it returns clean text, unlike browser_snapshot which returns the interactive-element accessibility tree.
| Parameter | Type | Description |
|---|---|---|
ref | string | Element ref from snapshot (e.g., "@e2") or CSS selector. Omit to get the whole page body text. |
browser_pdf
Save the current page as a PDF file. When connected to a host that authorizes file writes, its path permission decision applies to file_path. For standalone clients, the file is written inside the workspace directory (MCP_WORKSPACE_PATH, or the system temp directory when unset) — file_path must resolve inside that workspace. Existing files are refused unless overwrite is set to true.
| Parameter | Type | Description |
|---|---|---|
file_path * | string | Target file path for the PDF. Relative paths resolve inside the workspace directory; standalone absolute paths must be inside it; when connected to a host that authorizes file writes, its path permiss… |
overwrite | boolean | Replace an existing file at file_path. Default: false — existing files are refused. A directory at file_path is refused even with overwrite: true. |
browser_tabs
List open tabs, open a new tab, close the current tab, or switch to a tab by number.
| Parameter | Type | Description |
|---|---|---|
action | string | Tab action. Omit to list tabs. |
tab_number | integer | Tab to switch to: the number in its id in the tab list, e.g. 2 for [t2]. When given, action is ignored. |
browser_close
Close the browser session. Sessions are saved automatically.
browser_authenticate
Open a visible browser window so the user can log in manually. The session is saved automatically. WHEN TO USE: "I need to access LinkedIn", "Log me into WhatsApp", etc. Tell the user to close the browser when done logging in, or call browser_close.
| Parameter | Type | Description |
|---|---|---|
url * | string | Website URL to open for login (http://, https://, or about:blank) |
browser_upload
Upload one or more files to a file input on the page. Use @ref from browser_snapshot or a CSS selector for the <input type="file">. WORKFLOW: browser_snapshot → find file input @ref → browser_upload. When connected to a host that authorizes file reads, its path permission decision applies. Standalone clients require files inside the workspace directory (MCP_WORKSPACE_PATH, or the system temp directory when unset). Only regular files (not directories or devices) are accepted. Validated files are copied into a private staging directory before upload, so the upload cannot be redirected afte…
| Parameter | Type | Description |
|---|---|---|
file_paths * | array | Files to upload. Relative paths resolve inside the workspace directory. When connected to a host that authorizes file reads, its path permission decision applies; standalone clients require files insi… |
ref * | string | Element ref (e.g., "@e3") or CSS selector for the file input |