browser-agent-mcp
v1.0.15MCP server that gives LLM agents a real headful Chrome (X11 mouse, Cloudflare Turnstile auto-solve) via the browser-agent-server daemon.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
browser_status
Check the server browser-agent daemon: X11 display, Chrome, mouse position, proxy status. Call before the first fetch of a wave.
browser_fetch
Open a URL in the real Chrome on the server, optionally auto-solving Cloudflare Turnstile via X11 mouse, and return rendered text/HTML/cookies. Use for blockable pages (login walls come back as human challenges). Use save_text_to/save_html_to to keep big pages out of your context.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute URL |
include_screenshot | boolean | Attach a PNG screenshot as MCP image content (default false) |
save_html_to | string | Optional local path for the full rendered HTML (otherwise only its length is reported). |
save_text_to | string | Optional local path (on the machine running this bridge). Page text is written there; only a preview + metadata are returned. |
solve_cloudflare | boolean | Attempt Turnstile auto-solve (default true) |
use_proxy | boolean | Route Chrome through the server WARP SOCKS5 proxy. Omit to let the daemon auto-retry a blocked fetch via WARP; true forces it, false forbids it. |
wait_sec | number | Extra wait after load, default 3.5 |
browser_action
Drive the browser with a single action: goto | move | click | type | key | scroll | screenshot | stop. Mouse moves/clicks use hardware X11 events (isTrusted), not CDP Input.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
button | number | click: 1=left (default), 2=middle, 3=right |
clicks | number | scroll: wheel clicks |
direction | string | scroll: up | down |
double | boolean | click: double click |
key | string | key: X11 key name, e.g. Return, Escape, Page_Down |
return_screenshot | boolean | Attach a fresh screenshot after the action (default false) |
solve_cloudflare | boolean | goto: attempt Turnstile auto-solve |
submit | boolean | type: press Enter afterwards |
text | string | type: text to type |
url | string | goto: target URL |
use_proxy | boolean | Route this browser session through the server WARP SOCKS5 proxy. Omit to leave the session on its current route; true requests WARP, false forbids it. Switching restarts Chrome, so cookies and in-page… |
x | number | move/click: screen X. Coordinates are in the page area, which starts below the browser chrome (tab + address bar) — the gap varies with UI scale, theme and window decoration, so locate a target from… |
y | number | move/click: screen Y, counted from the top of the page area, not the top of the window |
browser_agent
Vision-guided computer-use agent on the server browser: give a URL and a goal, it drives the page (mouse/keyboard) and returns the answer. Slow and costly on a small box — reserve for interactive pages that plain browser_fetch cannot handle.
| Parameter | Type | Description |
|---|---|---|
goal * | string | |
url * | string | |
max_steps | number | Default 8 |