Skip to main content
Glama

πŸ‘οΈ EyeBrowse

A stealthy, LLM-drivable browser engine β€” one codebase, two faces.

A Python library and an MCP server for driving a real, hard-to-detect browser, so legitimate automation isn't false-flagged or IP-banned by Cloudflare, DataDome, Akamai, or PerimeterX. Built on CloakBrowser β€” a stealth Chromium (Chrome/146) that's a Playwright drop-in β€” so EyeBrowse gets the full Chrome DevTools Protocol: trusted cursorless clicks, deep network inspection, MHTML, PDF, and native video.

CI PyPI Python 3.12 License: MIT MCP tools Engine: CloakBrowser Code style: Ruff PRs welcome

EyeBrowse β€” an AI agent driving a stealth browser past Cloudflare, over MCP

β–Ά Full-quality MP4: docs/demo.mp4 β€” an AI agent drives EyeBrowse over MCP: clears a Cloudflare check, then reads real docs (asyncio Β· httpx Β· MDN).


Why EyeBrowse?

  • πŸ₯· Stealth by default β€” engine-level fingerprint spoofing (geoip + humanize on out of the box, novel fingerprint per launch); navigator.webdriver masked; viewport auto-sized to the spoofed screen. No puppeteer-extra band-aids β€” the anti-detection is compiled into the browser.

  • πŸ€– Built for LLMs β€” pages are read as an ARIA tree with [ref=…] handles; the model acts by ref (click/type/hover), not by brittle CSS or raw pixels. Cross-origin iframes, shadow DOM, popups β€” handled.

  • ⚑ Chrome DevTools Protocol β€” trusted, cursorless clicks by node ref (Input.dispatchMouseEvent), raw Network/Performance/Emulation access, MHTML snapshots, PDF export, and native video β€” all reachable as tools.

  • 🧰 Library and MCP from one codebase β€” a clean Python API (EyeBrowse + Session), mirrored 1:1 by a thin MCP server (85 browser_* tools) for Claude Code and any MCP client.

  • πŸͺŸ Never boxed in β€” the curated high-level API doesn't hide Playwright: reach session.page / .context / .browser for anything it doesn't wrap.

  • πŸ”‹ Batteries included β€” multi-session, proxy + identity rotation, API-mode captcha solvers, native video, full HAR capture, and clean-markdown extraction.

Scope. EyeBrowse is a low-level browser engine β€” it holds no workflow logic. Consumers decide what to do; the engine provides what's possible.

Related MCP server: Camoufox MCP

Contents

Quickstart Β· Install Β· Features Β· Compare Β· Library Β· MCP Β· Proxy & identity Β· Extraction Β· Recording Β· How it works Β· Caveats Β· Tools Β· License

Quickstart

pip install eyebrowse
# The stealth-Chromium binary downloads automatically on first launch β€” nothing else to run.
import asyncio
from eyebrowse import EyeBrowse

async def main():
    eb = EyeBrowse()                          # stealth defaults: geoip Β· humanize
    async with eb.session() as s:
        await s.navigate("https://example.com")
        print(await s.snapshot())             # ARIA tree with [ref=...] handles
        await s.click("e6")                   # act on a ref from the snapshot
    await eb.aclose()

asyncio.run(main())

…or wire it into Claude Code (or any MCP client) β€” see Use over MCP.

Install

From PyPI

pip install eyebrowse                 # or: uv pip install eyebrowse
# CloakBrowser fetches its Chromium binary lazily on first launch β€” nothing to run.
pip install "eyebrowse[extract]"     # optional: + Crawl4AI markdown extraction (heavier)

From source (development)

git clone https://github.com/Evil-Bane/eyebrowse && cd eyebrowse
uv sync                              # core engine  (add --extra extract for Crawl4AI)
cp .env.example .env                 # only if you use a proxy / captcha keys

Python 3.12 (pinned <3.13). Engine: cloakbrowser>=0.3 (stealth Chromium, Chrome/146), on playwright 1.60 and mcp 1.27.

Features

πŸ₯· Stealth

CloakBrowser's patched-Chromium fingerprint spoofing (novel --fingerprint per launch); geoip + humanize by default; webdriver masked; viewport matched to the spoofed screen.

πŸ€– LLM interaction

aria_snapshot(mode="ai") β†’ ARIA tree + [ref] handles; click / type / hover / select / drag / file-upload / dialogs / keyboard; coordinate mouse too.

⚑ CDP

trusted cursorless click by ref, raw CDP (Network / Performance / Emulation), MHTML capture, PDF export.

πŸͺŸ Frames & DOM

cross-origin iframe routing by ref, shadow-DOM piercing, popup/new-tab switching, evaluate inside any frame.

πŸ—‚ Multi-session

independent stealth sessions, each with its own context / identity / proxy.

🌐 Network

inspect requests/responses (incl. XHR/fetch bodies & WebSocket frames), block URLs, mock responses, go offline, full HAR export.

πŸ’Ύ State

cookies, localStorage & sessionStorage (CRUD), storage_state save/reload.

πŸͺͺ Identity rotation

fresh fingerprint + isolated profile + paired proxy; pluggable residential ProxyProvider.

🧩 Captcha

pluggable API-mode solvers (CapSolver / 2Captcha / CapMonster / NextCaptcha) + TOTP β€” no browser extension.

πŸ“„ Extraction

Crawl4AI raw: feed β†’ clean, token-efficient markdown (no LLM, no API keys).

πŸŽ₯ Capture

screenshots, Playwright tracing, and native video (.webm).

βœ… Verify & debug

assertions, element highlighting, locator generation, geolocation/header emulation.

Full per-tool reference: docs/TOOLS.md (85 tools across 18 groups).

How EyeBrowse compares

EyeBrowse

Playwright&nbsp;MCP

browser-use

playwright-stealth

Anti-detection compiled into the browser

βœ…

❌

❌

⚠️ JS patches

LLM-native ARIA [ref] interaction model

βœ…

βœ…

βœ…

❌

Ships an MCP server

βœ… (85 tools)

βœ…

⚠️ partial

❌

One codebase: Python library and MCP

βœ…

MCP-only

lib-only

lib-only

Full CDP (trusted clicks Β· network Β· MHTML Β· PDF Β· video)

βœ…

⚠️ partial

❌

⚠️ partial

Captcha (API-mode) + TOTP

βœ…

❌

❌

❌

Proxy + identity rotation built in

βœ…

❌

⚠️ partial

❌

Cross-origin iframes Β· shadow DOM Β· popups

βœ…

βœ…

⚠️ partial

n/a

Fair-use note: each project targets a different niche β€” this compares them on the axes EyeBrowse optimizes for (stealth + LLM-drivable + one library/MCP codebase), not as an overall ranking.

Use as a library

import asyncio
from eyebrowse import EyeBrowse

async def main():
    eb = EyeBrowse()                           # stealth defaults
    try:
        async with eb.session() as s:          # a stealth session (auto-closed)
            await s.navigate("https://example.com")
            print(await s.snapshot())          # ARIA tree with [ref=...] handles
            await s.click("e6")                # act on a ref
            await s.type("e8", "hello", submit=True)
            png = await s.screenshot(full_page=True)
            title = await s.page.title()        # full Playwright power when you need it
    finally:
        await eb.aclose()

asyncio.run(main())

Run the included proof: uv run python examples/direct_usage.py.

Use over MCP

EyeBrowse ships an MCP server (eyebrowse-mcp, FastMCP over stdio). Add it to any MCP client.

Claude Code (CLI):

claude mcp add eyebrowse -- eyebrowse-mcp

Any MCP client (JSON config):

{
  "mcpServers": {
    "eyebrowse": {
      "command": "eyebrowse-mcp"
    }
  }
}

Then drive the loop: browser_navigate(url) β†’ read the snapshot β†’ act by ref (browser_click / browser_type / …). A default session is auto-created, so most tools just work. Full list: docs/TOOLS.md.

Proxy & identity (optional)

Runs proxyless by default (geoip still aligns locale/timezone to your real IP). Add a proxy only when you want one:

await eb.new_session(proxy="http://user:pass@residential.example:8080")
await eb.rotate_identity(proxy="socks5://host:1080")   # fresh fingerprint + paired IP
await eb.new_session(no_proxy=True)                     # force proxyless

Set a default once via EYEBROWSE_PROXY_* in .env, eb.set_static_proxy(...), or a custom ProxyProvider for rotation. Over MCP: browser_new_session(proxy_url=…) / browser_new_identity(proxy_url=…) / browser_set_proxy(…).

reCAPTCHA v3 / reputation gates are score-based and key off IP + session reputation β€” a fresh browser on a flagged IP fails regardless of stealth. Pair EyeBrowse with a clean residential proxy.

Extraction

eb.extract() (or browser_extract) hands the rendered HTML to Crawl4AI's raw: feed and returns clean, pruned markdown β€” no LLM is called and no LLM keys are ever read; the consuming agent does any structuring.

md  = await eb.extract()                            # markdown string
res = await eb.extract(output_path="data/page.md")  # β†’ {"path": ..., "chars": ...}

Recording

Native video β€” Playwright records the whole session to a .webm, written on close. The path is known up-front; the file finalizes when the session closes:

s = await eb.new_session(record_video=True)
# ... drive the browser ...
print(await s.video_path())          # path is known up-front; file finalizes on close
await eb.close_session(s.id)

Over MCP: browser_new_session(record_video=True) β†’ browser_video_path. Want a GIF for a README? Convert the .webm with ffmpeg (ffmpeg -i demo.webm demo.gif). The demo at the top was captured this way β€” see examples/make_demo.py.

How it works

CONSUMERS                         ENGINE (library: eyebrowse/)
 Claude Code  ──MCP──▢  mcp/  ──▢  EyeBrowse faΓ§ade (public API)
 your code   ─ import ──────────▢   β”œβ”€ BrowserEngine (CloakBrowser / stealth Chromium)
 any MCP client                     β”œβ”€ proxy / identity rotation (pluggable)
                                    β”œβ”€ captcha solvers (pluggable, API-mode)
                                    └─ Crawl4AI (raw: feed) β†’ clean markdown

The faΓ§ade (EyeBrowse + Session) is the product; the MCP adapter is a thin 1:1 wrapper over it. The high-level API is curated and LLM-friendly β€” not a reimplementation of all of Playwright β€” and the raw page / context / browser objects are always one attribute away. The launcher is the only engine-specific layer; everything else is plain Playwright.

Caveats

Worth knowing:

  • evaluate runs in the page's main world (page globals reachable). To override a page's widget globals and fire a site callback (e.g. for captcha), EyeBrowse injects a <script> so the code runs in the page world β€” see captcha/inject.py.

  • HAR export closes the session β€” Playwright only flushes the HAR buffer when the context closes. Use the checkpoint pattern: browser_storage_state β†’ browser_har_export β†’ browser_new_session(storage_state=...). For the initiator-rich Chrome HAR (JS call stacks), reach the Network.* domain via browser_cdp_send.

  • Native video is .webm β€” convert to GIF/MP4 with ffmpeg if you need another format.

Project layout

eyebrowse/
  api.py            EyeBrowse faΓ§ade β€” the single public entry point
  config.py         settings / secrets (pydantic-settings)
  snapshot.py       aria_snapshot(mode="ai") + aria-ref= resolution
  proxy.py          ProxyConfig + pluggable ProxyProvider
  identity.py       Identity + random_identity() (isolated profile dir)
  extract.py        Crawl4AI raw: feed β†’ markdown (lazy, optional dep)
  engine/           engine.py (CloakBrowser launch) + session.py (verbs + registry)
  captcha/          solver ABC + 4 providers + DOM detect/inject
  mcp/              FastMCP server + state + tools/ (18 groups Β· 85 tools)
examples/direct_usage.py   library proof (no MCP)
examples/make_demo.py      the native-video demo above
docs/TOOLS.md              full tool reference

Build notes, version-pin rationale, and verified engine behavior live in CLAUDE.md.

Use responsibly

EyeBrowse drives a real browser with anti-detection features. Use it only against sites you own or are explicitly authorized to automate, and within their terms and applicable law.

License

MIT Β© Evil-Bane

Found EyeBrowse useful? ⭐ Star the repo β€” it genuinely helps.

Built with Python Β· Playwright Β· CloakBrowser Β· FastMCP Β· the Model Context Protocol

Available Tools

84 tools
browser_block_urlsA

Abort requests matching glob patterns (e.g. '/*.png', '/ads/**'). Useful to save proxy bandwidth or strip trackers/images.

Inputs: patterns (required), session_id. Returns: result

browser_capture_mhtmlA

Save the full page as a single-file MHTML archive (iframes + shadow DOM + external resources + inline styles) via CDP Page.captureSnapshot β€” captures the exact page state for debugging/forensics. Chromium only. Returns the saved file path.

Inputs: output_path (required), session_id. Returns: result

browser_cdp_clickA

Click an element by its [ref=...] using a TRUSTED, cursorless CDP input event.

    Preferred over browser_mouse_click: no visible cursor, no pixel guessing (the click point
    is computed from the element's own box), and the event is isTrusted=true β€” so it passes
    bot-detection that flags DOM .click()/dispatchEvent (isTrusted=false). Chromium only.
    Returns a fresh ARIA snapshot.
    

Inputs: ref (required), session_id, button, double. Returns: result

browser_cdp_sendA

Send a raw Chrome DevTools Protocol command and return its result.

Escape hatch for any CDP capability not wrapped elsewhere β€” e.g. method='Network.getResponseBody' {requestId}, 'Network.getRequestPostData' {requestId}, 'Emulation.setGeolocationOverride', 'Emulation.setDeviceMetricsOverride', 'Network.emulateNetworkConditions', 'Performance.getMetrics'. Chromium only.

Inputs: method (required), params, session_id.

browser_clear_highlightsA

Remove all highlight outlines added via browser_highlight.

Inputs: session_id. Returns: result

browser_clickC

Click an element by its snapshot ref (e.g. 'e12' or 'f1e36' for iframe elements). Returns a fresh snapshot.

Inputs: ref (required), session_id, button, double. Returns: result

browser_close_sessionB

Close a session and free its browser.

Inputs: session_id (required). Returns: result

browser_console_messagesC

Return console messages collected on the current page (type + text).

Inputs: session_id. Returns: result

browser_dragC

Drag one element onto another (by refs). Returns a snapshot.

Inputs: from_ref (required), to_ref (required), session_id. Returns: result

browser_evaluateB

Evaluate a JS expression or function in the page and return the result.

    frame_ref: run the JS INSIDE a child frame instead of the top document. Accepts
    a frame id ('f1'), an element ref inside the frame ('f1e36'), or an <iframe>
    element ref ('e81'). This works for CROSS-ORIGIN frames too β€” the code runs in
    the frame's own context (unlike top-frame JS reaching in via contentDocument,
    which the browser blocks). This is the fix for "Permission denied to access
    property document on cross-origin object".
    Examples: 'document.title'  |  '() => window.location.href'
    

Inputs: expression (required), session_id, frame_ref.

browser_file_uploadC

Set files on a file by ref (absolute paths). Returns a snapshot.

Inputs: ref (required), paths (required), session_id. Returns: result

browser_fill_formB

Fill multiple fields at once. Each field: {ref, value, submit?, clear?}.

Inputs: fields (required), session_id. Returns: result

browser_findA

Find VISIBLE interactive elements whose text / placeholder / label / type contains query β€” the escape hatch when browser_snapshot is all 'generic' (no usable [ref=eN]). Returns a list of matches, each with a css selector you act on via the ref slot, e.g. browser_click(ref="css=...") or browser_type(ref="css=...", text=...). Example: browser_find("verification code") -> the OTP input + its css ref.

Inputs: query (required), session_id.

browser_generate_locatorC

Return a stable CSS selector for an element (by ref) for use in code/tests.

Inputs: ref (required), session_id. Returns: result

browser_grant_permissionsA

Pre-grant browser permissions so the native prompt never blocks the flow.

    permissions: list of permission names, e.g. ['geolocation'], ['notifications'],
        ['camera'], ['microphone'], ['clipboard-read'], ['clipboard-write'].
    origin: restrict the grant to a specific origin (e.g. 'https://example.com');
        omit to apply session-wide.

    Call this before navigating to a page that requests permissions, or immediately
    when a permission prompt appears (it will dismiss the prompt automatically).

Inputs: permissions (required), origin, session_id. Returns: result

browser_handle_dialogA

Accept or dismiss an open JS dialog (alert/confirm/prompt). prompt_text fills a prompt() before accepting. Dialogs stay open until handled.

Inputs: accept, prompt_text, session_id. Returns: result

browser_har_exportA

Finalize and return the HAR file path for a recording session.

    NOTE: This CLOSES the session β€” Playwright only flushes the HAR buffer when
    the browser context closes. The session must have been created with record_har=True.

    output_path: copy the finished HAR to this path (e.g. 'results/run1.har').
        If omitted, the HAR stays at its auto-generated path under data/har/.

    Non-destructive checkpoint pattern (to keep browsing after capturing traffic):
      1. browser_storage_state(path='data/checkpoint.json')   # save auth/cookies
      2. browser_har_export()                                  # closes session, flushes HAR
      3. browser_new_session(storage_state='data/checkpoint.json')  # resume
    

Inputs: session_id, output_path. Returns: result

browser_highlightA

Draw a magenta outline around an element (by ref) β€” handy before a screenshot.

Inputs: ref (required), session_id. Returns: result

browser_hoverC

Hover over an element by ref. Returns a snapshot.

Inputs: ref (required), session_id. Returns: result

browser_keyboard_typeA

Type text into the currently focused element β€” no ref needed.

    Works on contenteditable rich-text editors (TipTap, Quill, ProseMirror)
    where browser_type / fill() is a no-op. Also the escape hatch when a
    coordinate click focused an iframe field and you need to type into it.
    Pattern: browser_mouse_click(x, y) to focus β†’ browser_keyboard_type(text).
    delay: ms between keystrokes (simulates human typing speed).
    Returns a snapshot.

Inputs: text (required), session_id, delay. Returns: result

browser_list_sessionsA

List all open sessions with their current url, tab count, and identity.

Inputs: no named parameters. Returns: result

browser_localstorage_clearB

Clear all localStorage for the current origin.

Inputs: session_id. Returns: result

browser_localstorage_getB

Get a localStorage value by key (null if absent).

Inputs: key (required), session_id.

browser_localstorage_listB

List all localStorage key/value pairs for the current origin.

Inputs: session_id.

browser_localstorage_removeC

Remove a localStorage key.

Inputs: key (required), session_id. Returns: result

browser_localstorage_setC

Set a localStorage key to a value.

Inputs: key (required), value (required), session_id. Returns: result

browser_mock_urlA

Fulfill requests matching a glob pattern with a canned response (response mocking / fault injection). Cleared by browser_unblock_urls.

Inputs: pattern (required), status, body, content_type, +1 more. Returns: result

browser_mouse_clickA

Click at absolute coordinates (x, y). button: left|right|middle; clicks for multi-click.

Inputs: x (required), y (required), button, clicks, +1 more. Returns: result

browser_mouse_downC

Press a mouse button down (at the current position).

Inputs: button, session_id. Returns: result

browser_mouse_dragC

Drag from (x1, y1) to (x2, y2) with the left button held.

Inputs: x1 (required), y1 (required), x2 (required), y2 (required), +1 more. Returns: result

browser_mouse_moveB

Move the mouse to absolute page coordinates (x, y).

Inputs: x (required), y (required), session_id. Returns: result

browser_mouse_upB

Release a mouse button (at the current position).

Inputs: button, session_id. Returns: result

browser_mouse_wheelA

Scroll the mouse wheel by (delta_x, delta_y) pixels.

Inputs: delta_x, delta_y, session_id. Returns: result

browser_navigateA

Navigate to a URL. Returns the page's ARIA snapshot (with [ref=...] handles).

    wait_until: when to consider navigation done β€”
        'domcontentloaded' (default, fast: DOM parsed) | 'commit' (fastest: response
        started) | 'load' (waits for ALL resources β€” slow/unreliable on heavy or proxied
        sites) | 'networkidle'. Prefer the default and then browser_wait_for a specific
        element; only use 'load' for simple static pages.
    timeout_ms: max navigation wait; None = the engine's configured navigation timeout.
    Auto-creates a session if none exists.
    

Inputs: url (required), session_id, wait_until, timeout_ms. Returns: result

browser_navigate_backA

Go back one entry in history. Returns the new page's ARIA snapshot.

Inputs: session_id. Returns: result

browser_navigate_forwardB

Go forward one entry in history. Returns the new page's ARIA snapshot.

Inputs: session_id. Returns: result

browser_network_requestA

Get one request's full detail: request + response headers, and response body (auto-captured for XHR/fetch resource types β€” body may still be populating for very recent requests). Match by list index or url substring (most recent match).

Inputs: session_id, index, url_contains. Returns: result

browser_network_requestsA

List network requests seen this session (method, url, status, resource_type). Optionally filter by resource_type (e.g. 'xhr', 'fetch', 'document') or url substring. For full details including headers and body, use browser_network_request.

Inputs: session_id, resource_type, url_contains. Returns: result

browser_new_identityA

Start a fresh browser identity in a new session: a novel fingerprint (randomized OS + screen) with isolated storage, optionally paired with a proxy. Proxyless by default; pass proxy_url ('http://user:pass@host:port') or proxy_server[+username/password] to pair an IP. persistent=True mints a reusable profile dir. Returns the new session info.

Inputs: persistent, label, proxy_url, proxy_server, +3 more.

browser_new_sessionA

Create a new stealth browser session and make it current. Returns its id.

    Runs PROXYLESS by default. To use a proxy, pass either proxy_url
    ('http://user:pass@host:port') or proxy_server[+username/password].
    no_proxy=True forces proxyless even if an env/default proxy is configured.

    persistent: keep cookies/localStorage in a profile dir across runs.
    headless: override the configured default (None = use the default).
    humanize: per-session cursor humanization β€” a float caps cursor-move time in seconds
        (e.g. 0.25 = fast but still humanized), True = default speed, False = off,
        None = use the configured default.
    record_har: capture a full network HAR (export with browser_har_export).
    record_video: record the session to a native .webm (Chromium only); fetch the path with
        browser_video_path. The file is finalized on browser_close_session.
    record_video_width / record_video_height: pin the recording resolution (e.g. 1920 x 1080
        for HD); when omitted Playwright defaults to 800x450.
    har_url_filter: glob to scope what the HAR records (e.g. '**/api/**' or
        '**/students/**') so it excludes login/captcha/static noise; default = all.
    storage_state: path to a saved cookies/localStorage JSON to reload.
    extensions: list of paths to UNPACKED Chromium extension folders to side-load (e.g. a
        captcha-solver or a custom extension). Forces a persistent + headful session
        (Chromium only side-loads extensions that way); the profile persists so the
        extension's own config/login survives.
    Most tools auto-create a default session, so calling this is optional.
    

Inputs: persistent, label, headless, humanize, +12 more. Returns: result

browser_pdf_saveB

Save the current page as a PDF file. Chromium only. Returns the saved file path.

Inputs: output_path (required), session_id. Returns: result

browser_press_keyB

Press a keyboard key (e.g. 'Enter', 'Escape', 'ArrowDown', 'Tab'). Returns a snapshot.

Inputs: key (required), session_id. Returns: result

browser_reloadB

Reload the current page. Returns the page's ARIA snapshot.

Inputs: session_id. Returns: result

browser_resizeA

Resize the page viewport (e.g. 1920x1080). Affects layout and screenshot size.

Inputs: width (required), height (required), session_id. Returns: result

browser_screenshotA

Take a PNG screenshot. By default captures the visible viewport; full_page=True captures the entire scrollable page; ref captures a single element.

    output_path: if given, the PNG is WRITTEN TO THAT FILE and the absolute path is returned
    as text (instead of returning the image bytes). Use this to hand a screenshot to an
    out-of-band vision/OCR tool without routing the (large) image bytes through the caller β€”
    e.g. a text-only LLM driver that delegates 'seeing' to a separate vision model.

Inputs: session_id, full_page, ref, output_path.

browser_scrollA

Scroll the page by pixels in a direction, or scroll an element into view.

    direction: 'up' | 'down' | 'left' | 'right'. amount: pixels (default 300).
    ref: if given, scrolls that element into view (direction/amount ignored).
    Use this to trigger lazy-loaded content or reveal off-screen elements.
    Returns a snapshot.

Inputs: direction, amount, ref, session_id. Returns: result

browser_scroll_to_bottomA

Scroll to the very bottom of the page, pausing to let lazy content load.

    Stops when the page height stops growing (infinite scroll exhausted or real
    bottom reached). max_scrolls: safety cap. wait_ms: pause per step.
    Returns a snapshot of the final state.

Inputs: max_scrolls, wait_ms, session_id. Returns: result

browser_select_comboboxA

Pick value from a CUSTOM / searchable dropdown or combobox (country & country-code pickers, styled listboxes) where browser_select_option times out. Opens the trigger ref, types value to filter, commits the highlighted option by keyboard (ArrowDown+Enter), then VERIFIES the committed value and falls back to clicking the option by visible text. Filter by the COUNTRY NAME (e.g. 'Germany'), not a dial code ('49') which matches the wrong row. Returns {committed, actual} + a snapshot β€” if committed=false the selection did NOT take.

Inputs: ref (required), value (required), session_id, submit_key. Returns: result

browser_select_optionA

Select option(s) in a NATIVE by ref (match by value OR visible label). Self- verifies and, on a no-match, returns the available option labels. For a CUSTOM / searchable dropdown (styled div, role=combobox/listbox β€” most country-code pickers) this will not work β€” use browser_select_combobox instead. Returns the committed option + a snapshot.

Inputs: ref (required), values (required), session_id. Returns: result

browser_sessionstorage_clearC

Clear all sessionStorage for the current origin.

Inputs: session_id. Returns: result

browser_sessionstorage_getA

Get a sessionStorage value by key (null if absent).

Inputs: key (required), session_id.

browser_sessionstorage_listC

List all sessionStorage key/value pairs for the current origin.

Inputs: session_id.

browser_sessionstorage_removeC

Remove a sessionStorage key.

Inputs: key (required), session_id. Returns: result

browser_sessionstorage_setC

Set a sessionStorage key to a value.

Inputs: key (required), value (required), session_id. Returns: result

browser_set_extra_headersB

Set extra HTTP headers sent with every request in this session.

Inputs: headers (required), session_id. Returns: result

browser_set_geolocationC

Override the geolocation the page reads (note: geoip already aligns geo to the IP).

Inputs: latitude (required), longitude (required), session_id. Returns: result

browser_set_inputA

Set value on a FRAMEWORK-CONTROLLED input (React/Vue) via the native value setter + input/change events. Use this when browser_type / fill silently leaves the field EMPTY (controlled components re-derive value from state and ignore plain typing β€” e.g. some OTP and masked phone inputs). Returns the resulting value + a snapshot.

Inputs: ref (required), value (required), session_id. Returns: result

browser_set_offlineA

Toggle the context's network offline/online (to test offline behavior).

Inputs: offline, session_id. Returns: result

browser_set_proxyA

Pin a proxy as the default for subsequent sessions/identities. (Proxies are bound at launch, so existing sessions are unaffected.)

Inputs: server (required), username, password. Returns: result

browser_snapshotA

Capture the page's ARIA accessibility tree with [ref=...] handles.

    This is the primary way to 'see' a page: it lists actionable elements (roles +
    names + refs) without CSS/markup noise. Pass a ref from here to click/type/hover.
    Frame-hosted elements get prefixed refs like 'f1e36' (iframe 1, element 36).
    Shadow DOM elements appear with plain eN refs β€” the locator engine pierces them.

    enrich=True ALSO appends a DOM map of visible interactive elements, each with a css
    selector usable in the ref slot (browser_click(ref="css=...")). Use it when the ARIA
    tree collapses to bare 'generic' nodes with no usable names/refs (JS-heavy sites).
    

Inputs: session_id, depth, enrich. Returns: result

browser_snapshot_frameA

Snapshot a specific child frame directly. Use when browser_snapshot returns an iframe node with empty/collapsed children β€” snapshotting the frame is reliable (works for same-origin AND cross-origin frames).

    frame_ref: a frame id ('f1'), an element ref inside the frame ('f1e36'), or the
    <iframe> element's own ref ('e81'). Returns the frame's ARIA tree with refs
    rewritten to 'fNeM' form so they're directly usable with click/type/etc.

Inputs: frame_ref (required), session_id, depth. Returns: result

browser_solve_captchaA

Solve a captcha on the current page and inject the token (no extension).

    kind: 'turnstile' | 'recaptcha_v2' | 'recaptcha_v3' | 'hcaptcha' | 'funcaptcha'.
    website_key is auto-detected from the DOM if omitted (for FunCaptcha that's the
    public key). provider defaults to the configured one (needs that provider's API
    key in the environment). Returns the solved token.

    recaptcha_v3: pass page_action (must match the site's grecaptcha.execute action)
      and optionally min_score (0.1–0.9); the token is injected and grecaptcha.execute
      is overridden to return it.
    funcaptcha (Arkose): funcaptcha_subdomain (the Arkose 'surl') and funcaptcha_data
      (the dynamic 'blob' JSON string) are passed through for sites that require them.
    

Inputs: kind, website_key, provider, session_id, +5 more. Returns: result

browser_start_tracingC

Start a Playwright trace (screenshots + DOM snapshots) for later inspection.

Inputs: session_id. Returns: result

browser_stop_tracingA

Stop tracing and write a trace.zip (open with playwright show-trace). Returns the path.

Inputs: path, session_id. Returns: result

browser_storage_stateA

Save cookies + localStorage to a JSON file. Reload it later via browser_new_session(storage_state=path). Returns the file path.

Inputs: session_id, path. Returns: result

browser_switch_to_popupA

Switch the active page to the most recently opened popup or new tab.

    Use this after triggering an OAuth / SSO flow (Google Sign-In, GitHub OAuth,
    etc.) or any action that calls window.open() or opens a target=_blank link.
    The tool waits up to timeout_ms for the new window to open, then makes it the
    active page and returns its ARIA snapshot. To go back to the original tab
    afterward, use browser_tabs(action='select', index=0).

Inputs: session_id, timeout_ms. Returns: result

browser_tabsA

Manage tabs. action: list | new | select | close (index for select/close, url optional for new). Returns the resulting tab list.

Inputs: action, index, url, session_id. Returns: result

browser_totp_generateA

Generate a TOTP (time-based one-time password) from a base32 shared secret.

    No browser or session needed β€” this is a pure computation tool.
    Use it when a site uses an authenticator app (Google Authenticator, Authy, etc.)
    as the second factor. The secret is the base32 string shown during 2FA setup
    (usually labeled 'secret key' or encoded in the QR code's otpauth:// URI).

    digits: code length (default 6). interval: time step in seconds (default 30).
    Returns the current 6-digit (or N-digit) TOTP code as a string.
    

Inputs: secret (required), digits, interval. Returns: result

browser_typeC

Type text into a field by ref (top-frame or iframe ref like 'f1e20'). submit=True presses Enter after. Returns a snapshot.

    Pass the string as `text`. `value` is accepted as an alias for `text` (a common slip,
    since browser_fill_form fields use `value`) so the call doesn't hard-error.

Inputs: ref (required), text, session_id, submit, +2 more. Returns: result

browser_type_otpA

Enter an OTP/verification code into the field at ref, handling MULTI-BOX widgets (one per digit that auto-advances) by distributing the digits across the boxes via the React-tracked setter β€” instead of typing the whole code into box 1 (which lands the digits in the wrong boxes). Works on a single field too. Returns {boxes, value} (read it back) + a snapshot. After this, still SUBMIT (Enter / a Verify button).

Inputs: ref (required), code (required), session_id. Returns: result

browser_unblock_urlsB

Remove all URL routes added via browser_block_urls or browser_mock_url.

Inputs: session_id. Returns: result

browser_verify_element_hiddenC

Assert an element (by ref) is hidden/absent. Returns {ok, ...}.

Inputs: ref (required), session_id.

browser_verify_element_visibleC

Assert an element (by ref) is visible. Returns {ok, ...}.

Inputs: ref (required), session_id.

browser_verify_text_visibleC

Assert some visible text appears on the page. Returns {ok, ...}.

Inputs: text (required), session_id.

browser_verify_valueC

Assert an input/element (by ref) has the expected value. Returns {ok, ...}.

Inputs: ref (required), value (required), session_id.

browser_video_pathA

Path to this session's native video recording (Chromium only).

    Only present when record_video=true was passed to browser_new_session. The .webm is
    finalized when the session closes (browser_close_session); the path is known beforehand.
    

Inputs: session_id. Returns: result

browser_wait_forA

Wait for a condition then return a fresh snapshot. Pass exactly one condition:

    text        β€” text to become visible (searched across all frames including iframes).
    text_gone   β€” text to disappear.
    selector    β€” CSS/Playwright selector to become visible.
    url         β€” URL glob/regex to wait for (SPA client-side navigation).
    network_idle β€” wait until no network requests for 500ms (SPA render complete).
    value_ref + value β€” wait until the element at value_ref HOLDS `value` (substring). Confirms a
        field/dropdown actually committed (e.g. value_ref=<country picker>, value='Germany').
    time        β€” wait N seconds unconditionally.
    timeout_ms  β€” max wait in ms (default 30 000).
    

Inputs: session_id, text, text_gone, selector, +6 more. Returns: result

browser_wait_for_downloadA

Wait for a file download to complete and return its saved path.

    Call this before (or immediately after) clicking a download button.
    The first download event is captured, saved to save_dir, and the
    absolute file path is returned. timeout_ms: max wait (default 30s).

Inputs: session_id, save_dir, timeout_ms. Returns: result

browser_ws_messagesA

Return all WebSocket connections opened this session and their messages.

    Each entry: {url, closed, messages: [{dir: 'sent'|'received', data: str}]}.
    url_contains: filter to connections whose URL includes this substring.
    Useful for real-time apps (trading dashboards, chat, live data feeds) that
    deliver state over WebSocket rather than HTTP.

Inputs: session_id, url_contains. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 84 tools

    Disambiguation4/5

    Most tools have distinct purposes, but there are overlapping sets like multiple click methods (browser_click, browser_cdp_click, browser_mouse_click) and type methods (browser_type, browser_type_otp, browser_set_input). Descriptions help differentiate, but some ambiguity remains.

    Naming Consistency5/5

    All tools follow a consistent 'browser_verb_noun' snake_case pattern. The naming is predictable and well-structured, with no mixing of conventions.

    Tool Count2/5

    With 84 tools, the server is overly large for its scope. While browser automation is broad, this many tools risk overwhelming agents and could benefit from consolidation.

    Completeness5/5

    The tool set covers nearly every aspect of browser automation: navigation, clicks, typing, forms, storage, network, screenshots, PDF, permissions, captchas, TOTP, and more. There are no obvious gaps.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to automate a privacy-focused Firefox-based browser through MCP, with session and profile management, navigation, interaction, extraction, screenshots, JavaScript execution, tabs, downloads, and permission/URL validation.
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Gives MCP-compatible AI agents an anti-detection browser toolset for navigating, interacting with, searching, and extracting content from websites, plus downloads, multi-tab workflows, and persistent sessions with cookies and saved profiles. It enables reliable automation of the web without getting blocked by running against a separate Camoufox-based browser server.
      468 npm
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Exposes a 47-tool browser automation surface to MCP clients, enabling AI agents to navigate, interact with, observe, and extract content from web pages across multi-tab sessions. Runs on Camoufox-based anti-detection behavior so agents can automate sites that block conventional headless browsers, with session persistence, cookie import, and stdio or HTTP transport.
      468 npm
      MIT