browser-agent-mcp

v1.0.15
@vernikr/browser-agent-mcp Checked 3 days ago Published 1 month ago

MCP 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.

ParameterTypeDescription
url *stringAbsolute URL
include_screenshotbooleanAttach a PNG screenshot as MCP image content (default false)
save_html_tostringOptional local path for the full rendered HTML (otherwise only its length is reported).
save_text_tostringOptional local path (on the machine running this bridge). Page text is written there; only a preview + metadata are returned.
solve_cloudflarebooleanAttempt Turnstile auto-solve (default true)
use_proxybooleanRoute 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_secnumberExtra 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.

ParameterTypeDescription
action *string
buttonnumberclick: 1=left (default), 2=middle, 3=right
clicksnumberscroll: wheel clicks
directionstringscroll: up | down
doublebooleanclick: double click
keystringkey: X11 key name, e.g. Return, Escape, Page_Down
return_screenshotbooleanAttach a fresh screenshot after the action (default false)
solve_cloudflarebooleangoto: attempt Turnstile auto-solve
submitbooleantype: press Enter afterwards
textstringtype: text to type
urlstringgoto: target URL
use_proxybooleanRoute 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…
xnumbermove/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…
ynumbermove/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.

ParameterTypeDescription
goal *string
url *string
max_stepsnumberDefault 8