Skip to main content
Glama

MCP Stealth Chrome

An MCP server with 170 tools that gives an AI agent a real Chrome browser and an HTTP client with Chrome's TLS fingerprint.

PyPI version License: MIT Python 3.11+ CI

It drives Chrome over CDP with nodriver, so there is no WebDriver and the identity stays that of your real browser and machine. Requests that need no browser go through curl_cffi, which is much lighter than rendering a page. Search and page reading work without an API key.

Use the browser when a page needs JavaScript, a login or a person looking at it. Use HTTP when you only need the data.

What it can do

Feature

What you get

✅

Real browser

Chrome or Brave over CDP with real mouse and key input. No WebDriver, and the identity is your real browser and machine

✅

Honest results

A click says whether the page changed and names what covers a blocked element. Nothing reports success on a guess

✅

Small page reads

browser_snapshot and describe_page return compact refs an agent can act on, reaching into iframes and shadow roots, closed ones too

✅

HTTP without a browser

http_request, scrape_markdown and smart_fetch send the TLS fingerprint of Chrome, Firefox or Safari and can reuse the browser's cookies

✅

Search and research

web_search, deep_research, github_read and youtube_read, with no API key

✅

Logins that last

A kept profile, saved sessions, and cloning a profile from your own browser. Passwords and cookies are hidden from tool output by default

✅

Several browsers

Instances side by side, each with its own profile, tabs and logs

✅

Stays out of your way

A visible browser opens behind the app you are using and does not take the keyboard

✅

Anti-bot help

Detection of the protection in use, Turnstile and reCAPTCHA tools, and handing over to a person when needed

✅

Options per launch

Keep the browser open after the agent ends, reopen the last tabs, block ads, vertical tabs, a throwaway profile

✅

Debugging

Network capture, request interception, HAR and curl export, console, performance traces

Works with Claude Code, Cursor, Codex, Gemini CLI, OpenCode, Droid and other MCP clients, on macOS, Linux and Windows.

Related MCP server: ScrapeLab MCP

Install

You need uv and Chrome or Chromium. uv takes care of Python 3.11+.

OS

uv

Chrome

macOS

curl -LsSf https://astral.sh/uv/install.sh | sh

brew install --cask google-chrome

Ubuntu or Debian

curl -LsSf https://astral.sh/uv/install.sh | sh

sudo apt install -y google-chrome-stable

Windows

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

winget install Google.Chrome

Then add the server to your client. For Claude Code:

All projects:

claude mcp add stealth-chrome --scope user -- uvx mcp-stealth-chrome@latest

Current project only:

claude mcp add stealth-chrome -- uvx mcp-stealth-chrome@latest

Other clients:

Edit the config file, then restart the app:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

  • Linux: ~/.config/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "stealth-chrome": {
      "command": "uvx",
      "args": ["mcp-stealth-chrome@latest"]
    }
  }
}

Use ~/.cursor/mcp.json for all projects, or .cursor/mcp.json in one project:

{
  "mcpServers": {
    "stealth-chrome": {
      "command": "uvx",
      "args": ["mcp-stealth-chrome@latest"]
    }
  }
}

Use ~/.windsurf/mcp.json for all projects, or .windsurf/mcp.json in one project:

{
  "servers": {
    "stealth-chrome": {
      "command": "uvx",
      "args": ["mcp-stealth-chrome@latest"]
    }
  }
}

Use your VS Code settings or ~/.continue/config.json for all projects, or .vscode/mcp.json in one project:

{
  "mcpServers": {
    "stealth-chrome": {
      "command": "uvx",
      "args": ["mcp-stealth-chrome@latest"]
    }
  }
}

Open Settings, then Extensions, then MCP Servers, or edit ~/.config/zed/settings.json:

{
  "context_servers": {
    "stealth-chrome": {
      "command": {
        "path": "uvx",
        "args": ["mcp-stealth-chrome@latest"]
      }
    }
  }
}

Add to ~/.codex/config.toml:

[mcp_servers.stealth-chrome]
command = "uvx"
args = ["mcp-stealth-chrome@latest"]

Add to ~/.gemini/settings.json:

{
  "mcpServers": {
    "stealth-chrome": {
      "command": "uvx",
      "args": ["mcp-stealth-chrome@latest"]
    }
  }
}

Add to ~/.config/opencode/opencode.json:

{
  "mcp": {
    "stealth-chrome": {
      "type": "local",
      "command": ["uvx", "mcp-stealth-chrome@latest"],
      "enabled": true
    }
  }
}

Add to ~/.factory/mcp.json:

{
  "mcpServers": {
    "stealth-chrome": {
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-stealth-chrome@latest"]
    }
  }
}

Add to ~/.omp/agent/mcp.json:

{
  "mcpServers": {
    "stealth-chrome": {
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-stealth-chrome@latest"]
    }
  }
}

See docs/INSTALL.md for verification and troubleshooting.

Claude Code skill

The package carries a Claude Code skill that teaches an agent how to use these tools: launching on the right profile, reading pages before acting, what each result means, working with the person through the overlay, and which bot checks to solve or hand over.

uvx mcp-stealth-chrome install-skill            # into ~/.claude/skills (or $CLAUDE_CONFIG_DIR/skills)
uvx mcp-stealth-chrome install-skill --project  # into ./.claude/skills for one project

Then type /stealth-chrome in a new Claude Code session; agents also load it on their own when a task needs the stealth browser. A copy you edited is not replaced unless you pass --force (the old one is kept as SKILL.md.bak). The skill names no AI model and holds no key: CAPTCHA tools use the vision provider you configure yourself.

Optional extras

Extra

Needed for

In your client config

os-cursor

solve_turnstile_oscursor, agent_overlay

"args": ["mcp-stealth-chrome[os-cursor]@latest"]

adblock

block_ads

"args": ["mcp-stealth-chrome[adblock]@latest"]

both

"args": ["mcp-stealth-chrome[adblock,os-cursor]@latest"]

solve_turnstile_oscursor needs the optional os-cursor extra. On macOS, use uvx 'mcp-stealth-chrome[os-cursor]' in your client config ("args": ["mcp-stealth-chrome[os-cursor]@latest"]), or install it with uv tool install 'mcp-stealth-chrome[os-cursor]'. Then give the app or terminal that runs your client Accessibility and Screen Recording permission in System Settings > Privacy & Security. server_status shows under os_cursor whether this is ready. Windows and Linux backends exist but have not been field-tested.

block_ads needs the optional adblock extra, which installs Brave's adblock-rust engine: uvx 'mcp-stealth-chrome[adblock]' in your client config ("args": ["mcp-stealth-chrome[adblock]@latest"]), uv tool install 'mcp-stealth-chrome[adblock]', or pip install 'mcp-stealth-chrome[adblock]'. It is not installed by default because the engine has no prebuilt package for Alpine and other musl Linux or for Windows on ARM, where installing it would need Rust. Without it, block_ads=True still launches, and the result and server_status say ad blocking is off and how to install the extra. Extras combine: mcp-stealth-chrome[adblock,os-cursor].

Test results

Sites change, so read these as results from the screenshots below and not as a guarantee.

Site

What it checks

Result

bot.sannysoft.com

Fingerprint tests

✅ All passed

browserscan.net/bot-detection

WebDriver, Selenium, CDP, headless

✅ All "Normal"

arh.antoinevastel.com areyouheadless

Headless Chrome

✅ "You are not Chrome headless"

2captcha.com/demo/cloudflare-turnstile

Turnstile widget, with Cloudflare's test key

✅ Checkbox reaches "Success!" with click_turnstile

nopecha.com/demo/cloudflare

Full-page "Just a moment..." challenge

❌ click_turnstile: 0 of 3✅ solve_turnstile_oscursor: 3 of 3 (one Mac, one IP)

google.com/recaptcha/api2/demo

reCAPTCHA v2 images

✅ 5 of 5 runs with solve_recaptcha_ai

tls.browserleaks.com

JA3 and JA4

✅ Shows the JA3 of the browser it impersonates

Screenshots

Measured in November 2026 on one Mac (M4 Pro, Chrome 157, headless, a throwaway profile), with both servers driven over MCP by the same script. The other server is Google's chrome-devtools-mcp 1.12.0. Each number is the median of 5 runs, or of 9 clicks. One machine and one day, so read the ratios, not the digits.

What

This server

chrome-devtools-mcp

Open a local page in a running browser

63 ms

131 ms

Open en.wikipedia.org/wiki/Cat, cached

276 ms

370 ms

Click a button that changes the page

160 ms

253 ms

Click a button that does nothing

577 ms, says NO page change detected within 450ms

262 ms, says it clicked

Click a button under an overlay

88 ms, refuses and names the overlay

252 ms, says it clicked; the overlay took the click

Click a disabled button

89 ms, says it is disabled

5.0 s, then a timeout

Fill a text field

12 ms

248 ms

Close the browser

0.11 s

0.11 s

Snapshot of a form with 158 elements

2,181 tokens

3,888 tokens

Snapshot of the Wikipedia page

2,405 tokens for the first 100 elements, 100,127 for all

225,658 tokens

Start the browser and load the first page

1.07 s

0.66 s

Memory with one page open

941 MB in 10 processes

585 MB in 6 processes

Tool definitions sent to the client

about 32,900 tokens for the 169 tools of 0.26.0, when this was measured

7,300 tokens for 32 tools

  • ✅ Faster at opening pages, clicking, filling and reading, and smaller snapshots. A snapshot here lists what can be acted on; the other server's lists the whole accessibility tree including text, so the two are not the same content.

  • ❌ Slower to start, heavier in memory, and its tool list costs a client that loads every definition about four and a half times as much. profile_mode="light" brought one page to about 630 MB in 7 processes, at the cost described under Speed, memory and disk.

  • Tokens were counted with the o200k_base tokenizer as an estimate.

Situation

Tool

Checkbox embedded in a page, such as a login or signup form

click_turnstile

Full-page "Just a moment..." challenge, on macOS, with the desktop free for up to a minute

solve_turnstile_oscursor

Full-page challenge where the mouse cannot be taken over, or on Windows or Linux

A saved session with storage_state_load, or solve_captcha (paid)

click_turnstile, verify_cf and auto_verify click through CDP. When a challenge is still there afterwards, their result says so and names solve_turnstile_oscursor.

One call moves the checkbox from "Verify you are human" to "Success!". This demo uses Cloudflare's test sitekey and returns a dummy token, so it shows that the click lands on the widget. It does not show that a protected site lets you through.

  • ✅ Finds and clicks the embedded widget (.cf-turnstile, [data-sitekey], or a challenges.cloudflare.com iframe). Earlier runs also passed the dash.cloudflare.com login and nopecha.com/captcha/turnstile, not retested since

  • ❌ click_turnstile does not get through Cloudflare's full-page "Just a moment..." challenge. On nopecha.com/demo/cloudflare, the click earned a cf_clearance cookie, but the page stayed at status 403, in 3 of 3 tries, one of them with the VPN off

  • ✅ solve_turnstile_oscursor got the main browser through the same page in 3 of 3 tries: status 200, title "NopeCHA - CAPTCHA Demo", no challenge, checked from the main browser. Measured in November 2026 on one macOS machine with one home IP. It is not a claim about other sites, other IPs, or Windows and Linux

navigator.webdriver is missing, WebDriver Advanced passes, Chrome and its plugins read as normal, and WebGL reports the real GPU.

Antoine Vastel's public test reports "You are not Chrome headless" for a Chrome controlled by this server.

Every signal it checks reads "Normal", including WebDriver, Selenium, CDP and headless Chrome.

Measured at tls.browserleaks.com. Each impersonation shows the JA3 of the browser it names, and a plain Python client does not. Hashes change with browser versions.

httpx:                JA3 37f7d09ced1a845dc48872abc1a29d7b   python-httpx/0.28.1
impersonate=chrome:   JA3 f830262a93191fd695c65531282d5657   Chrome/146.0.0.0
impersonate=firefox:  JA3 6f7889b9fb1a62a9577e685c1fcfa919   Firefox/147.0
impersonate=safari:   JA3 ecdf4f49dd59effc439639da29186671   Safari/605.1.15

Five runs in a row on Google's demo page, with a fresh profile and a vision model through an OpenAI-compatible API:

Run 1: passed, 2169-char token, tiles [3,4,7],        146 s
Run 2: passed, 2126-char token, tiles [0,2,4,7],       80 s
Run 3: passed, 2169-char token, tiles [1,2,4,8],      143 s
Run 4: passed, 2148-char token, tiles [1,4,5,6,8,9],  126 s
Run 5: passed, 2169-char token, tiles [0,3,4],         69 s
Average: 113 s

Usage examples

An agent usually reads the page, then acts on the refs it got back:

browser_launch(url="https://example.com")
browser_snapshot()
click(ref="e3")
fill(ref="e5", value="hello")

Log in once by hand, then reuse the session headless. This is the most reliable way past a login wall, because the site sees a session it already trusts:

browser_launch(url="https://target.com/login")
# log in by hand in the window
storage_state_save(filename="target.json")
browser_close()

browser_launch(url="https://target.com/dashboard", headless=true,
               storage_state_path="~/.mcp-stealth/storage-states/target.json")

Log in with the browser, then fetch data over HTTP with the same cookies:

http_request(url="https://target.com/v1/data", impersonate="chrome", use_browser_cookies=true)

Run several accounts side by side, each with its own profile:

spawn_browser("account_2", url="https://target.com", headless=true)
switch_instance("account_2")
click(ref="e7")
switch_instance("main")

Closing the instance you are on leaves its name current: after close_instance("account_2") the next browser_launch starts account_2 again on its own profile, and both results say so. Call switch_instance("main") first to go back to the main profile.

Find out what protects a page before choosing an approach:

browser_launch(url="https://unknown-site.com")
detect_anti_bot()
# {"detected": ["Cloudflare"], "recommended_tools": [...]}

See what a button would send on a real account, without sending it:

dry_run()
click(ref="e12")
intercept_log()
dry_run(enable=false)

Profiles and launch options

You want to

Use

Profile

Kept after closing

Work with a logged-in account

browser_launch()

~/.mcp-stealth/profile

Logins, cookies, history, the list of open tabs

Try something without saving a login

browser_launch(persistent=False)

Temporary

Nothing

Start with no trace of this browser's past use

browser_launch(privacy=True)

Empty, under privacy-profiles/

Nothing, and the removal is checked

Use Brave instead of Chrome

browser_launch(browser="brave")

~/.mcp-stealth/brave-profile

As for Chrome, in a profile of Brave's own

privacy=True starts from an empty profile, deletes it on close, and picks one proxy when you pass a pool (a|b). It does not change the identity. User agent, Chrome version, operating system, language and timezone stay those of the real browser and machine in every mode, since a made-up identity on a real engine contradicts itself. To use a logged-in account, leave privacy off.

You can override identity for one launch: fingerprint={"user_agent": ..., "accept_language": ..., "platform": ..., "timezone": ...}. Fields you leave out stay real. Client hints and a missing navigator.platform are derived from the user agent so they agree with it, and navigator.languages comes from accept_language without the ;q= weights.

To use logins from your own browser, list_chrome_profiles shows every Chromium-family browser on the machine and clone_chrome_profile copies one into an isolated profile. The source is only ever opened read-only. Caches are left out, and so are a profile's IndexedDB, Service Worker and File System folders, which some web apps use for their login (WhatsApp Web, Telegram Web): the result lists them under not_copied. For a profile you will use every day, pass keep_site_data=True to copy them too.

A browser started with browser_launch over stdio stays open until you close it, or until the server exits when its client goes away. keep_alive=True keeps it past that (see below). A browser left running by a server that was killed or crashed is taken over by the next launch on its profile, with its logins and tabs, instead of that launch falling back to an empty profile. When a launch does fall back (the profile is held by another session's browser, or by a Chrome this server did not start), the result starts with WARNING: EMPTY FALLBACK PROFILE and names who holds it. Instances from spawn_browser and browsers in HTTP mode close after BROWSER_IDLE_TIMEOUT.

Runtime data lives in ~/.mcp-stealth/: profile/, profiles/<id>/, brave-profile/, brave-profiles/<id>/, screenshots/, exports/, storage-states/, window-state/, keep-alive/, adblock/, brave-lean/. An app/ folder left by 0.13.0 is removed.

Options for one launch. Open one for the details:

You want to

Pass

Keep the browser open after the agent ends

keep_alive=True

Reopen the tabs from last time

restore_tabs=True

Block ads and trackers in Chrome

block_ads=True

See when the agent drives the window, and take it over (macOS)

agent_overlay=True

Tabs in a side bar

vertical_tabs="left", or "right" in Brave

Brave without Leo, VPN, P3A and the other extras (on by default for a profile the server made)

brave_lean=True, or False to keep Brave as it ships

Open the agent's browser from the Dock

mcp-stealth-chrome install-launcher

browser_launch(browser="brave") and spawn_browser(..., browser="brave") run Brave instead of Chrome, from where Brave installs itself (/Applications/Brave Browser.app, /usr/bin/brave-browser, Program Files\BraveSoftware), or from MCP_STEALTH_BRAVE_PATH. Driven over CDP it stays Brave, measured on Brave 157.1.99.55:

  • ✅ Shields blocks ads and trackers: a local page loading a script from an EasyList host had it blocked, where Chrome loaded it. A new profile fetches its filter lists first, about 11 to 12 seconds.

  • ✅ Farbling: a canvas reads differently on each site and in each session, as in any Brave. Chrome reads the same everywhere. fingerprint_audit counts this as expected on Brave, not as a leak.

  • ✅ The page sees Brave: navigator.brave.isBrave() is true and userAgentData lists Brave and Chromium with versions reduced to 157.0.0.0, as Brave reports them. The identity override this server applies (headless, lang, fingerprint) keeps those, and never names Google Chrome there.

  • Brave's profiles are its own: ~/.mcp-stealth/brave-profile for main, ~/.mcp-stealth/brave-profiles/<id> for others. A profile belongs to the browser that made it: Brave and Chrome keep cookies and saved passwords under different keys, so opening a Chrome profile with Brave, or a Brave profile with Chrome, is refused and the result names why. clone_chrome_profile(browser="brave") copies into brave-profiles/<id>, to launch with browser="brave".

  • keep_alive=True works for Brave as for Chrome. The next browser="brave" launch reattaches to a kept Brave, and a Chrome launch is never handed one (nor the reverse); the result says why a kept browser was not reattached.

  • With the dock_icon setting on a visible Brave runs from Brave Beta (/Applications/Brave Browser Beta.app) with Brave Beta's own icon, which tells it apart from your Brave; the project icon is Chrome's. Otherwise on the same terms as Chrome Beta (see "Own Dock icon" below): only a profile Beta cannot damage, Beta missing means Brave with a note. Nothing is written into Brave Beta. /Applications/Brave Browser.app is never changed. Quit, restore_tabs, cookies kept across a close, and visible windows that stay behind the app in use work as they do for Chrome.

  • Brave Beta is not on the access list of the "Brave Safe Storage" Keychain item that Brave created, so the first time Brave Beta needs it macOS asks you. Always Allow keeps its logins. Deny, or no answer, leaves it unable to read the profile's cookies, and it drops them (measured on a test profile: 3 cookies, then none). The launch result says this whenever Brave Beta runs.

  • server_status reports under brave whether Brave is installed, where, and its version, and under browser which one is running.

  • A profile whose maker cannot be told (it holds data, and its Local State and Preferences are missing, any of them is unreadable, or they disagree) is refused to both browsers. A --user-data-dir in extra_args is treated as the launch's profile folder and gets the same checks; naming two different folders is refused.

  • attach_to_chrome tells Brave from Chrome by the process on that port, or navigator.brave, and says which. A browser it cannot tell (a wrapper, Edge, Vivaldi, or one on another machine without navigator.brave) is reported as such, and fingerprint_rotate and emulate_device then leave the client hints alone rather than name the wrong browser.

  • Brave 158 handles cookies as Chrome 158 does: in a profile outside its own folder it cannot read the v10 cookies Brave 157 wrote, and deletes them. The cookie move under Chrome works for Brave too (measured on Brave Beta 158.1.101.48 with a test keychain: 3 cookies moved, read back, stored as v11). A Brave whose version cannot be read is refused a profile holding v10 cookies.

  • profile_report, profile_cleanup and the start-up cleanup know brave-profile, brave-profiles/<id> and brave-profile-pid<N> as they know Chrome's folders, with the same checks.

Measured through this server on one macOS machine in November 2026, Brave 157.1.99.55 against Google Chrome 157:

Check

Brave

Chrome

bot.sannysoft.com, headless and visible

30 passed, 1 warning (TRANSPARENT_PIXEL, from farbling) in 3 of 4 runs

31 passed

browserscan.net/bot-detection

18 of 18 "Normal"

18 of 18 "Normal"

2captcha.com/demo/cloudflare-turnstile with click_turnstile

Token filled, 3 of 3

Token filled

detik.com front page

135 requests, 16 iframes

222 requests, 33 iframes

cnnindonesia.com front page

116 requests, 1 iframe

231 requests, 16 iframes

A Brave profile copied with clone_chrome_profile(browser="brave")

1575 of its cookies read back, logins kept

Refused, since it would read none

mcp-stealth-chrome open --browser brave opens the agent's Brave without an agent. If it is already running on its profile it comes to the front (with --url, the page opens in a new tab). If not, it starts exactly as browser_launch(browser="brave", keep_alive=True) would, through that function: same flags, profile folder, debugging port, quit watcher and keep_alive record. It then stays open with no server running, and the next browser_launch(browser="brave") from any agent reattaches to it. --browser chrome does the same for Chrome.

mcp-stealth-chrome install-launcher builds ~/Applications/Stealth Brave.app (macOS), a small app with the project icon, signed on this Mac, that runs open. To use it:

  • Pin it: drag it to the Dock. A click opens the agent's Brave or brings it forward. The app exits at once and has no Dock icon of its own, so while the browser runs the Dock shows the pinned launcher (the project icon) and Brave Beta (its own icon). Measured: cold click to a running browser in about 3 seconds, a click on a running one about 2 seconds.

  • Pinning Brave Beta itself does not work as a launcher: a click on it when it is not running starts plain Brave Beta on its own default profile, with no debugging port and nothing an agent can reach. macOS has no way to send that click through the launcher without changing Beta's bundle, which this project does not do.

  • Default browser: the app declares http and https, so it appears in System Settings > Desktop & Dock > Default web browser. Choose "Stealth Brave" there and links from other apps open in the agent's Brave, in a new tab when it runs and through a cold start when it does not. Only http:// and https:// links are passed on: any other scheme (file:, chrome:, brave:, a bare host name) is refused and nothing opens. The app does not open local files. Nothing changes the default for you; macOS asks you. Brave Beta should not be the default browser itself, for the reason above.

  • It never starts a second browser on a profile: a click reserves the profile the way browser_launch and spawn_browser do (one reservation per profile, shared by every process of this project), so a double click, or a click while an agent launches on that profile, waits and then finds that browser running. A profile held by any other browser is only ever brought forward, or refused with the reason. When the browser could not be brought to the front, or a window could not be opened, the click says so and fails rather than reporting success. A lock left by a browser that is gone (after a restart) is cleared when its PID now runs something else and no process uses the profile.

  • Safety: a click starts a browser with a DevTools port on 127.0.0.1 without any agent asking. Any program running as you on this Mac can drive that browser, read its pages and use its logins, as with any browser this server starts. It stays open when no agent runs, until you Quit it. The app says so and asks once before its first start. It never opens your own Brave or Chrome profile, and it sets nothing system-wide (no LaunchAgent, no managed preferences).

  • An agent that reattaches to a browser you opened from the launcher acts only on the tabs it opens itself, or that an agent opened there before. Your own tabs are marked [not opened by this server] in tab_list, and the agent acts on one only after tab_select picks it. The agent shares your cookie jar there (the result says so): it can read the logins of that profile. It never ends your browser for being idle and does not put ad blocking on it.

  • A browser opened from the launcher is yours: it is recorded as opened by the launcher and its time cap is a year instead of 24 hours, also after an agent reattached to it and left, unless you set MCP_STEALTH_KEEP_ALIVE_MAX_HOURS. Quit ends it as usual, and so does closing its last window.

  • A page an agent opens in a browser you opened lands as a tab of your window, behind the tab you are looking at; tab_new(new_window=True) still gives it a window of its own.

  • It comes back with your tabs. While you use it no agent runs, so the browser's quit watcher keeps the list of open pages (http, https and file pages, once the list has stood still for 3 seconds, so the windows of a Quit closing one by one never replace it), and the next start from the launcher reopens them as tabs in one window. browser_close(forget_tabs=True) removes that list too.

  • Brave's extras: install-launcher --browser brave --lean makes every start from the launcher turn off Leo, the VPN and Rewards buttons and the rest (what brave_lean=True does); --no-lean keeps Brave as it ships and puts back what lean changed. Without either, the server's own rule applies: lean only on a profile it made empty. open --lean and open --no-lean do the same for one start.

  • The app finds the command it recorded when it was built, then ~/.local/bin, Homebrew's bin folders and your shell's PATH, so a reinstall with uv tool install --force keeps it working. When the command cannot be found it says so in a dialog with the install command. install-launcher --remove takes it away again; --dir builds it elsewhere.

  • The launcher does not modify other apps: macOS blocks an app from writing into another app's bundle (App Management). Brave Beta keeps its own icon anyway; for Chrome Beta, an update removes the project icon and the next launch from an agent or from mcp-stealth-chrome open in a terminal puts it back.

  • open --move-to-beta moves a profile Brave made to Brave Beta, once and one way: its cookies go through the cookie move, and Brave older than Beta is refused the profile afterwards. It is only applied when the profile is a folder of its own that Brave made, and both the version that last opened it and Brave Beta's are known; anything unknown is refused. If Brave Beta cannot read the cookies (macOS did not let it use "Brave Safe Storage": answer the Keychain dialog with Always Allow), the launch is refused and the profile is left as it was.

  • --use-mock-keychain in extra_args is for tests only and refused otherwise: cookies written with it can only be read with it again.

  • An agent that should launch the same Brave Beta when none runs needs dock_icon on too (the settings file is shared by every server; an MCP_STEALTH_DOCK_ICON=0 in its config would win over it). Without it, its Brave launch on a profile Brave Beta opened is refused, since Brave 157 is older than the Beta that last opened it.

  • On Linux open works without the app; on Windows it says why not (keep_alive needs the quit watcher, which does not run there).

With browser="brave" the server turns off the parts of Brave an agent has no use for. It is on by default for a profile the server makes in an empty folder (brave-profile, brave-profiles/<id>, persistent=False, privacy=True), which it records as its own in its data folder (~/.mcp-stealth/brave-lean), so a copy or a moved folder does not count. A profile you name with user_data_dir, a copy from clone_chrome_profile, or one made before this release keeps its settings unless you pass brave_lean=True; the launch result says which applies and why. brave_lean=False keeps Brave as it ships and puts back what an earlier lean launch changed, in every sub-profile it wrote. Reattaching to a kept Brave applies nothing and says so. Chrome has none of this, and says so when brave_lean is passed.

Turned off

How

Leo AI chat, Brave VPN, Speedreader and its prompts, Playlist

--disable-features for this browser process only

P3A, the daily usage ping, Tor windows

the profile's Local State

Toolbar and sidebar buttons, new tab widgets (stats, Rewards, News, VPN, Talk) and sponsored images, Brave News, the wallet's page provider (window.ethereum and the like), the Web Discovery, Wayback Machine and default-browser prompts

the profile's Preferences, written before launch

Kept: Shields, farbling, navigator.brave and the Brave brands, vertical tabs, Safe Browsing, and component updates, which bring Shields its filter lists.

  • Brave's enterprise policies (BraveRewardsDisabled and the rest) are not used: they apply to every Brave on the machine, including your own. So Rewards, Brave Ads and the wallet page stay as Brave ships them: Rewards and Ads are off until someone opts in, and lean only hides their button and cards.

  • Settings are written only into a profile no browser holds, never through a link (the profile folder included), and never into Brave's own folder (your Brave). A file that does not parse is left alone, and so is a setting whose parent holds something other than settings. Whatever could not be written is named in the launch result, and the launch goes on.

  • The launch result lists what was turned off; server_status shows it under brave.lean_running, and what lean does under brave.lean.

Measured on Brave 157.1.99.55, macOS, November 2026:

Check

Lean

Not lean

Brave servers a new profile left idle for 90 s contacted (net-log)

componentupdater, go-updater, redirector, brave-core-ext.s3 and variations, the same as without lean (safebrowsing in some runs)

the same, plus usage-ping, star-randsrv.bsg and collector.bsg (the usage ping and P3A)

Read from the running browser (brave://settings)

P3A, usage ping, Tor, Leo, VPN, Speedreader off

all on

Visible window

Toolbar: Shields and the menu; new tab page: background and search box

Toolbar adds Rewards, sidebar, wallet, Leo and VPN buttons; new tab page adds stats, News and VPN cards

Memory and processes on example.com, 3 runs each

headless 494 to 535 MB, 6 processes; visible 511 to 582 MB, 7

headless 513 to 521 MB, 6; visible 517 to 540 MB, 7 (no difference beyond run-to-run spread)

bot.sannysoft.com, headless and visible

30 passed and TRANSPARENT_PIXEL warned (farbling), or 31 passed

the same

browserscan.net/bot-detection

every check "Normal"

the same

browser_launch(vertical_tabs="left"), "right" or "off" writes the tab-strip setting into the profile before the browser starts, and the profile keeps it. Leaving it out (None) keeps the profile's own setting. Brave has both sides. Google Chrome only has the left, so vertical_tabs="right" with Chrome is refused. Checked in visible windows on macOS by where the page starts: Brave's strip is 221 points wide on either side, Chrome's 240 on the left.

browser_launch(restore_tabs=True) reopens the tabs this instance had on this profile when the server last closed it: browser_close, close_instance, close_all_instances, the idle timeout, a Quit, or the server exiting because its client went away, which is what happens when an agent session is put to sleep. spawn_browser(restore_tabs=True) does the same for a named instance. Chrome's own session restore stays off, because restored window placement opened windows that could not be seen.

  • ✅ Pages open behind the app you are using, the way tab_new opens them, in the order tab_list showed, and the tab that was selected is selected again. Measured on macOS: 0 ms frontmost for the restored browser.

  • Without a url, the first saved page loads in the first tab. With a url, that page stays first and selected, the saved pages follow, and a saved page with exactly that URL is not opened twice.

  • ✅ The result lists each page as reopened (final URL, status) or failed (why), with secret URL parameters masked. It says plainly when there is no saved list, when the list cannot be read, and when it is older than 30 days (MCP_STEALTH_RESTORE_TABS_MAX_DAYS), and it never fails the launch.

  • The list is saved when the server closes the browser, about 2 seconds after tool calls, and every 30 seconds while the browser runs, so a server that was killed still leaves the last list it saw. Saving takes about 1 ms. A Quit closes every window before anything can read them, so the list saved before the Quit stays: a browser with no pages never replaces a saved list. Only http, https and file pages are kept, up to 30.

  • persistent=False and privacy=True keep no tabs.

  • The list is in ~/.mcp-stealth/window-state/<instance>-tabs.json, one entry per profile, readable by you only. Page URLs can carry tokens. browser_close(forget_tabs=True) and close_instance(instance_id, forget_tabs=True) close without saving and remove the list. profile_cleanup(action="remove_fallback", ...) removes the list of the profile it deletes. Deleting the file removes all of them.

When an agent session sleeps, reconnects (/mcp) or ends, its client closes the server's stdin and the server closes every browser it started. browser_launch(keep_alive=True) and spawn_browser(instance_id, keep_alive=True) leave that one browser running instead, with its tabs and page state, and the next launch on the same profile picks it up:

browser_launch(url="https://app.example.com", keep_alive=True)
# ... the agent sleeps; the browser stays open ...
browser_launch()   # a new agent, same profile
# Reattached to the running browser (pid 4242, 3 tab(s)). Selected tab shows: ...
  • It is per launch, not a setting: other agents on the machine keep the default, which closes their browsers with their server.

  • ✅ Reattaching opens no new Chrome. Tabs keep their order, the selected tab stays selected, and a half-filled form keeps what was typed, measured with a value typed before the server exited. With a url, that page opens in a new tab so no kept page is navigated away from; a tab already showing exactly that URL is selected instead. The result lists the tabs, with secret URL parameters masked.

  • A launch on a profile held by a kept browser reattaches whatever keep_alive says. Left unset on a reattach, keep_alive stays as it was; keep_alive=False means it now closes with this server. Every result says which holds, a new browser included ("keep_alive=False: this browser closes when this server exits"). browser_launch(keep_alive=...) on the browser already running applies the change. Launch options that only shape a new Chrome (headless, proxy, fingerprint, profile_mode, restore_tabs and so on) are named in the result as not applied.

  • ✅ It only takes a browser a previous server of this project started and no live server holds. Every one of these must hold, or the launch goes on as before (a profile-pid<N> fallback, or profile_conflict as you set it) and the result says why it did not reattach: the record's PID holds the profile lock, its command line names that --user-data-dir, the recorded DevTools port and flags only this server passes (exactly: /tmp/profile never matches /tmp/profile-evil), the process started at the recorded time (so a PID handed to another program is told apart), DevTools answers there with the recorded Chrome version and names that same PID as its browser process, and the server that wrote the record has exited. Only one server reattaches at a time (a lock on the profile, released by the system if that server dies), and after connecting it asks the browser once more for its PID and version and checks the process again, dropping the connection if anything changed. Your own Chrome on that profile, or a browser another running server drives, is never attached.

  • Nothing starts on a reattach, so the profile version check, the Chrome Beta choice and the Chrome 158 cookie move do not run; the result says so, and says when a cookie move is still pending for the next real launch.

  • How a kept browser ends: Quit (Cmd+Q, the Dock) still ends a visible one after its server has gone, through its watcher process. browser_close or close_instance from an agent that reattached ends it. Once it has had no server for MCP_STEALTH_KEEP_ALIVE_MAX_HOURS (24 by default), its watcher ends it; the time counts from when the last server let go, not from the launch.

  • Headless works too, as an invisible Chrome that keeps holding memory until one of those ends it. The launch result says so.

  • persistent=False and privacy=True ignore keep_alive and say so: there is no profile for a later server to find. It is not available on Windows, or with MCP_STEALTH_QUIT_WATCHER=0, because nothing would end the browser on Quit or at the time cap there; the result says so and the browser closes with its server.

  • The record is one small file per profile in ~/.mcp-stealth/keep-alive/ (PID and its start time, port, profile, instance, Chrome version), readable by you only, and removed when the browser ends. It never holds the proxy: a proxy URL can carry a password, so a reattach reads it from the running Chrome's own command line. The tab list for restore_tabs is still saved when the server exits. The leftover-profile cleanup leaves the profile of a running kept browser alone; a record whose Chrome is gone, or whose PID now runs something else, is removed rather than trusted.

  • A signal from the watcher or the server only goes to a process proved to be the one meant, checked right before it: exact profile, and the start time recorded for it. A process whose command line or start time cannot be read is not signalled, and the close says it is not verified. On Linux the signal goes through a pidfd, so it cannot reach a process that took the PID after the check. On macOS the start time has one-second resolution and the check and the signal are separate calls, and Windows goes by the exact command line: small residual risks, not guarantees.

  • If the watcher cannot identify the browser after its last window was closed, it stops after three tries and leaves the reason behind; the next tool call says the browser may still be running and was not ended.

  • MCP_STEALTH_KEEP_ALIVE_MAX_HOURS must be a positive finite number. inf, nan, 0 or a negative value fall back to 24 and a value over a year is cut to a year; the launch result names either.

browser_launch(agent_overlay=True) and spawn_browser(agent_overlay=True) put three things over a visible browser window, without drawing anything inside the page:

  • A light that turns slowly around the window and breathes between thin and thick while the agent acts, dims while it thinks between steps, and fades out when it stops. Its corners follow the window's own rounded corners, and turn square in full screen. It leaves with the window: about 0.1 s after a Quit, with the close animation when the window closes.

  • The bar, the light and the lock can each be set from the bar's ⋯ menu, and the change shows at once: a compact bar, a bar shown only while the pointer is over the window, or none. See Settings below.

  • A bar at the bottom saying what the agent does, with Take over.

  • A lock over the page while the agent works: a click or scroll there does not reach the page and the bar says why. It follows the page when you move, resize or zoom the window or go full screen; the tab strip and address bar stay usable. After 20 seconds without a tool call the agent counts as idle: the lock goes and the bar says Agent idle, so you can use the page without Take over. What you then click, scroll or type is passed to the agent's next tool call, which tells it to read the page again.

Only Take over hands the browser to you. While you hold it, every tool that would act on or read the page is refused and says why, so the agent cannot see what you type there. The agent learns of it at its next tool call, and the bar tells you where it stands: not told yet, told at what time, going on without the browser (http_request, spawn_browser, whose results say you hold it), or waiting for you. Resume agent hands it back, and wait_for_human returns when you press it. Anything you want to tell the agent goes in its chat; the bar only carries the buttons. Done pressed while the agent is not waiting reaches its next tool call too. A key you press while the agent works does not take over: its input waits until you stop, and the tool's result says your keys reached the page. request_human_help shows its request in the bar in amber with Done, also with the bar set to Hidden, and wait_for_human returns when you press it or on its done_selector or done_url_contains. A page change alone does not end that wait: the page can move by itself.

The arrow button in the bar shows where the agent points and clicks, as a cursor labelled Agent. It starts off unless the agent_cursor setting is on.

  • Off by default. The agent_overlay setting turns it on for every launch, and agent_overlay=False on a running browser stops it. It needs the os-cursor extra; without it, headless, or on a browser you opened from the Dock launcher, the launch result says it is off and why. The result says on only once the overlay reports it is up.

  • The bar with Done or Resume agent stays as long as the request or your hold lasts; otherwise everything fades out after 90 seconds without a tool call (overlay_hide_after).

  • If the overlay process dies, it is started again (three times at most) and keeps who holds the browser. If it cannot be, the tools stay refused while you hold it, and browser_launch(agent_overlay=False) is the way to release it once you tell the agent you are done.

  • Take over stops input already under way: a drag, a scroll, typing or a click stops at its next step, a held button is let go, and each step of batch_actions and workflow_run is refused like a call.

  • Measured on a MacBook with a 120 Hz display, against no overlay at all: the overlay process uses about 3% CPU and WindowServer about 10 points more while the agent works with the cursor off. The light is drawn at 30 frames a second in four thin windows along the edges and turns once every 16 seconds; at 20 frames it costs about 5 points but the colours visibly step, at 60 about 19. With the cursor on, WindowServer uses about 18 points more while it moves.

  • While nothing covers the browser the overlay sits above it in the floating level, so bringing the browser to the front does not hide it for a moment.

  • Keys cannot be held back without taking the keyboard from the browser, so a key such as Enter can still act on the page before the agent pauses. The lock covers the page only: tabs, the address bar and the window buttons stay usable. When two windows of the browser sit at exactly the same place and size, the overlay follows the front one.

browser_launch(block_ads=True) and spawn_browser(block_ads=True) block ad and tracker requests with EasyList and EasyPrivacy, using adblock-rust, the engine inside Brave. Off by default, and it needs the adblock extra (see Install).

  • ✅ Every tab, popup, frame (including frames from other sites, which run as their own process) and worker of that browser is covered from its first request: a new one waits up to 2 seconds while blocking is set up for it. The page you navigate to is never blocked, even on an ad domain.

  • ✅ Requests only. Nothing is hidden or written in the page, so a blocked ad can leave an empty box. Blocked requests fail with net::ERR_BLOCKED_BY_CLIENT, as with any ad blocker, and a page can notice that.

  • The lists are downloaded the first time from easylist.to into ~/.mcp-stealth/adblock, readable by you only, checked again at most once a day in the background, and used offline from the last copy. They are not included in the package: they are published under GPLv3 and CC BY-SA. A download is limited to 16 MB and 20 seconds. Without a list the launch says block_ads: OFF and why, and runs without blocking. With one of the two lists missing it says block_ads: PARTIAL and which one.

  • ✅ Blocking does not freeze the browser when it fails. If the part of the server that answers Chrome stops answering for 3 seconds, or its connection to Chrome ends while the browser is open, ad blocking turns itself off for that browser, the requests and new tabs it was holding go through, and the next tool result says so and why. Measured on real Chrome by stopping, hanging and disconnecting it in the middle of a page load, and by killing the whole server with SIGKILL: the page, a popup opened meanwhile and the page that opened it all finished loading.

  • The launch result says whether it is on and how many rules it uses. server_status shows, per browser, the requests seen, blocked and allowed, by type and host, and the last blocked URLs with secret parameters masked.

  • intercept_start works alongside it on the same connection to Chrome, so each request gets one answer: an ad request is logged with the outcome blocked by block_ads, and intercept_stop leaves ad blocking on.

  • Brave blocks ads itself with Shields, so block_ads does nothing there and says so.

  • With keep_alive=True, ad blocking ends when the server exits and the browser stays open: the browser goes on unblocked. A later launch that reattaches to it with block_ads=True blocks again; one without it does not. A kept Brave is left to Shields on a reattach too.

  • Measured on three Indonesian news home pages, 5 runs each, headless, with and without block_ads: frames went from 33 to 16 (detik.com), 30 to 5 (kompas.com) and 12 to 1 (cnnindonesia.com), and requests from 225 to 118, at least 250 to 145, and at least 250 to 118. The page's load event came within 60 s in 15 of 15 runs with blocking and 9 of 15 without, where ad auctions kept loading frames. The article text stayed the same apart from sponsored items. On a local page of 200 requests the load event took 178 ms instead of 138 ms (median of 24 loads), about 0.2 ms per request. A page can also wait longer for a widget it starts from a blocked tag manager: on cnnindonesia.com, its article recommendations started about 2 s later.

Chrome 158 on macOS stops reading the cookies an older Chrome wrote in a profile outside its default folder. Before such a launch the server backs the cookies up, moves them to the new format and checks every one came back. When it cannot be sure, it refuses the launch and says what to do. Steps, recovery and limits are in docs/CHROME-158.md.

With the dock_icon setting on, a visible browser on a new profile runs from Google Chrome Beta (/Applications/Google Chrome Beta.app) with the project icon, so it is not mistaken for your own Chrome. It needs Chrome Beta installed. Measured on Chrome Beta 158:

  • Only a profile nothing has written to goes to Beta: persistent=False, privacy=True, or a profile folder that does not exist yet or is empty. A profile that already holds data stays on Google Chrome and the result says why. Chrome 158 does not read the v10 cookies Chrome 157 stores in a profile outside its default folder, and deletes them: a copy of a profile with 1172 cookies had none left after Beta opened it. When in doubt, Google Chrome is used.

  • A profile Beta made stays on Beta, and the result says so. Google Chrome 157 is refused it, headless too, until Google Chrome reaches the version that last opened it.

  • The icon is a custom Finder icon at the top of the Beta app (Icon\r and a Finder flag). Nothing inside Contents/ changes, and codesign --verify --deep still passes. An update of Beta removes the icon. The next visible launch puts it back in the background, about 0.3 seconds, and does not wait for it. /Applications/Google Chrome.app is never changed.

  • Beta registers with Google's updater under its own entry, com.google.chrome.beta. The com.google.chrome entry is not changed. Headless browsers, attach_to_chrome and the solve_turnstile_oscursor helper keep Google Chrome. The helper stops at once when the main browser runs a different Chrome version, because a clearance bound to the user agent could not be moved over.

  • server_status reports dock_icon: off, beta-ready, beta-missing, icon-missing or unavailable, with the reason, and dock_icon_brave the same for Brave Beta (never icon-missing: it keeps its own icon).

  • The Chrome copy used by 0.13.0 is gone. A copy left in ~/.mcp-stealth/app is removed when a server starts and no browser runs from it.

What tool results tell you

Results describe what was observed. A tool that reports success when nothing happened would leave an agent building on a false result, so these rules hold across the server:

  • ✅ A click says whether the page changed. One that changed nothing answers clicked but NO page change detected within 450ms; a later reaction may still arrive.

  • ✅ A click on a covered element is refused, and the result names what covers it

  • ✅ An empty capture says whether anything was being captured

  • ✅ A browser is reported closed only after its process was seen gone

  • ✅ A visible browser stays behind the app you are using

  • ✅ By default, navigate tries auto_verify first. If the tripwire still detects a verification page, it stops the agent and asks you for help (antibot_paused). The tripwire itself does not solve it.

  • ✅ Clicks are real mouse input. click, click_text, click_role, click_element_offset, click_at_corner and hover test the target first and refuse by name when something covers it. Clicks say clicked but NO page change detected within 450ms when no change was observed in the verification window, the outcome could NOT be verified when the page could not be read before or after, and name any new tab the click opened. A JS click only happens with js_fallback=True, and the result says so.

  • ✅ A click is checked as soon as it lands and reported when the page changes, about 160 ms for a button that works. Only a click that changes nothing waits the full 450 ms before saying so, so a handler that reacts after 300 ms is not reported as dead.

  • ✅ The hit test before a click and the before and after comparison run in an isolated world, like the snapshot. A page that replaces getBoundingClientRect, elementFromPoint, getComputedStyle or querySelector to watch for automation sees none of them called by a click, a hover or a navigation: 0 calls, where one click used to make 37.

  • ✅ A native dialog cannot hang the server. A click, key or pointer move that opens one returns and names it, any other tool that needs the page says so instead of waiting, and dialog_handle answers the one already open.

  • ✅ select_option sets the value from JS because a native dropdown cannot be driven with page input. The result states isTrusted=false, and the value is read back.

  • ✅ browser_snapshot writes nothing to the page. Refs live on the server and reach into iframes, cross-origin ones included, and shadow roots. A closed shadow root, where a payment provider keeps its card field, is read through the browser's DOM domain, so that field gets a ref like any other. A field shows its label as label="...", taken from <label for>, a label around it or aria-labelledby, and name_contains finds it by that. The label's own row is left out when its field is listed, and the count of those rows is reported. A page that has not rendered yet says so instead of reading as empty, and a frame whose field sits in a closed shadow root is named as not readable, with mouse_click_xy and type_text as the way in.

  • ✅ navigate reports the final URL, redirects, status and ready state. The navigation commit waits up to 30 seconds by default. If the page has not committed, the server stops the load and says whether that stop was confirmed; if it cannot confirm the stop, the result says the tab may still be loading. A response that arrives just after the bound and is proved loaded is reported as success with a note. For about:, data:, blob: and file: URLs, an exact URL match and an interactive or complete document suffice without an HTTP status. The JSON result exposes loading_stopped and tab_may_still_be_loading for timeout failures. wait_until=load waits for the load event up to 15 seconds after commit. expect_url and expect_status turn a redirect into a failure. A page that did not load is an error, and batch_actions and workflow_run count it as failed. It no longer raises the window unless you pass focus=True.

  • ✅ A visible browser stays behind the app you are using. browser_launch, spawn_browser, tab_new, tab_select and page actions do not take the keyboard, measured with lsappinfo on macOS. tab_new opens its own background window, or with new_window=False a tab behind the one its window shows, which pages still read as visible (Chrome picks the window and the result names it). tab_select only changes which tab tools act on unless you pass focus=True, and says when the page it selected reads as hidden. A click that calls window.open still brings Chrome forward for about 130 ms before focus returns, so keys typed in that moment reach Chrome. tab_focus raises the window on request. Quitting it with Cmd+Q or the Dock, or closing all its windows, ends it within about 3.5 seconds, also when the server that launched it has exited or was reinstalled meanwhile: each visible browser has a small watcher process of its own. The next tool call says it was closed, and nothing starts it again by itself. Closing the last tab with tab_close does not count as a Quit.

  • ✅ A profile last opened by a newer Chrome is never opened by an older one. The launch is refused with both versions named, nothing starts, and the profile is not changed. The version is read from Last Version and Local State in the profile. An older Chrome can damage a profile a newer one has upgraded.

    • It needs macOS with the copy on the same APFS volume as Chrome. If the copy cannot be made, launches use Chrome itself and the result says why. Headless launches and attach_to_chrome are not affected.

  • ✅ evaluate, frame_evaluate and wait_for_function report a JavaScript exception as an error, and promises are awaited. Objects and arrays come back as JSON.

  • ✅ type_text, humanize_type and fill send a keydown and keyup per character. type_text refuses when no field has focus, and refuses a newline in a single-line field.

  • ✅ upload_file refuses a path that is not a file. It hands the file over by its path, so size does not matter (2.2 GB took 0.09 s and no memory), and an input inside a shadow root is reached by its snapshot ref. upload_file(..., drop=True) drops the file on a drop zone instead, as a drag from Finder does, after the same hit test as a click, and says when the page did not react. paste_text refuses a field that cannot take text and reports what landed, contenteditable included.

  • ✅ click_turnstile, verify_cf and auto_verify report what the page shows after the click: whether the token filled, the title, and whether the challenge is still there. A click alone is not a pass, and no click happens when no checkbox matched. A challenge still present names solve_turnstile_oscursor as the next step.

  • ✅ press_key reports what the key did: navigation, page change, focus, or nothing.

  • ✅ A person can use the same visible browser. Tools act only on tabs the server opened or took over (the launch, tab_new, reopened tabs, a kept browser on reattach, every tab on attach_to_chrome, and any page one of those opened). A tab a person opens is marked [not opened by this server] in tab_list, and tools act on it only after tab_select picks it, whose result says so: a tab= index and tab_close(index=) refuse it before that. When a person closes the tab tools were using, the next tool says so and no other tab is picked in its place. tab_list waits at most 2 s per tab, so a dialog left open in some tab cannot hang it; the row names the reason. A browser whose tabs the server opened behaves as before. Measured hazards that remain: keys typed by a person and by type_text in the same field interleave, and the server cannot answer a dialog in a tab no tool has used.

  • ✅ fill_form fails when a field fails and then does not submit. batch_actions counts it as failed. batch_actions refuses input that is not a list of actions, or an empty list, and counts an item that is not an action object as failed.

  • ✅ Empty results say whether anything was measured. console_get, intercept_log and storage_snapshot report that state, and network_get is an error before network_start.

  • ✅ A tool refuses an argument it does not take, names it and lists the ones it does take, and does nothing. screenshot(path="x.jpg") used to save shot-<time>.png without a word about path. Steps of batch_actions and workflow_run get the same refusal and count as failed.

  • ✅ mouse_click_xy says what was at the point just before the press: tag, id, name and a little text, and for an iframe the URL of the frame it shows (also one filled by a form post) and the point inside it.

  • ✅ screenshot with quality and no file name saves a JPEG, and says when quality was not applied to a PNG. When a point in the saved image is not a CSS pixel (device pixel ratio, or max_dimension shrinking it), the result gives the factor to use with mouse_click_xy.

  • ✅ wait_for_human called without request_human_help says no handoff was pending, so a page change it saw is not read as a person's work.

  • ✅ Without the overlay's Done and without done_selector or done_url_contains, wait_for_human takes a page change as weak evidence: it counts only 5 s after request_human_help (or after the call) and once it held 2 s, the result says what changed and that the page may have done it, and the request stays open for the next wait. Shopee moves its login page to /buyer/login/qr a moment after loading, and that used to read as a finished login after 0.0 s. A timeout keeps the request open for the agent but takes it off the overlay's bar; the next wait_for_human shows it there again.

  • ✅ assert_clickable tells you what would block a click without clicking.

  • ✅ A lost browser connection names the condition and how to recover. browser_recover handles a stuck browser and only touches this server's profiles.

✅ Credentials stay out of tool output, since output lands in the agent's transcript. cookie_list, network_get, intercept_log, wait_for_request, auth_capture, export_curl, http_request and http_request_with_session hide cookies, credential headers, JSON and form fields, and query parameters unless you pass reveal_values=True. A URL in their output, a Location, Content-Location or Referer header, and the URLs http_session_cookies and session_warmup print also hide a user:password@ part and secret pairs in the fragment, such as an OAuth #access_token=. Ordinary parameters stay as they are. Everything below a credential name is hidden, such as the card details under gatewayTokens in a token vault's reply. To read those, network_get, intercept_log, wait_for_request, auth_capture and export_curl take reveal_values="body": credential headers, URL secrets and every body value whose own name is a credential stay hidden, the rest of the body shows, and the reply says so. Navigation tools (get_url, navigate, tab_list and the like) return the page's URL as it is, because agents use it to keep working. Bodies in other formats pass through unchanged. export_curl also returns an http_request call that replays the session with the browser's own cookies. Files holding credentials are written mode 600, and so are files taken from a page: screenshots, save_pdf, screenshot_element, inspect_image, traces and heap snapshots. They are written whole to a new private file that then replaces the old one, so nobody reads a half-written file and a symlink in the folder is replaced rather than followed.

After every navigation the tools make (navigate, reload, go_back, go_forward, tab_new with a url, browser_launch and spawn_browser with a url) the page is checked for a site's verification page, and so it is between the steps of workflow_run and batch_actions. It only detects and stops: nothing is solved or bypassed.

  • What fires: built-in rules for one host each (Shopee: a path /verify/captcha or /verify/traffic, a query scene=crawler_*, or the page text "Verifikasi untuk melanjutkan" or "Geser untuk menyelesaikan puzzle"), your own rules (antibot_rules), and a Cloudflare challenge page that is still there after auto_verify had its turn. A word alone in a URL ("captcha", "verify", "challenge") never fires, nor does a site that is only served through Cloudflare. A widget alone is not a challenge page. The initial auto_verify check skips widgets whose response input belongs to a form with a username, email or password field, unless challenge-page markers are also present.

  • pause (default): the result is an error that starts antibot_paused: and says what fired (trigger:), the page's host and path with its query cut short (get_url gives it whole), the page asked for, and what to do next. The request for you shows in the overlay's bar with Done; the window is not brought forward. Headless, or without the overlay, the result says nobody can see the request. A second tool on the same page says it in one line. After Done the next tool checks the page again, and a page still showing the check pauses again.

  • browser_launch and spawn_browser say in their first line that the browser is running and stays open on the page.

  • A click, click_text, click_role or press_key that leads to such a page did happen, so its result is no error: a line first names the page, and in pause the request is made.

  • warn: the tool's own result, with one line first that names the page. off: nothing is checked.

  • A standalone navigation to a known host without a matching host rule or Cloudflare signal adds no tripwire probe. At an ordinary batch or workflow step boundary the current URL is not known: one small evaluation (measured at 0.5 ms) checks the top document and up to 16 direct same-origin frames. The first navigation step skips this check. It checks their current URLs and, on hosts with text rules, searches the first 20,000 characters of frame text. Nested and cross-origin frames are not inspected. A verified click reports a popup only if Chrome identifies the clicked tab as its opener and its URL already matches a rule. The next batch or workflow step checks whether that URL still holds. Popup text, initially blank popups and later redirects are not checked.

  • workflow_run and batch_actions stop before their next step, whatever stop_on_error says, and no page is opened after it. workflow_run then returns status: antibot_paused, paused_at, paused_path, antibot (trigger, page, next), the whole vars and resume_with: it runs again a navigation that reached the page, and starts after a click that did. The stop is not counted as a failure. The field case (five pages, the third redirected to a verification page with a 2 KB tracking id) answers in under 1 KB.

Tools

Open a group to see its tools.

browser_launch, browser_close, browser_recover, spawn_browser, switch_instance, list_instances, instance_describe, instance_release, close_instance, close_all_instances, attach_to_chrome, detach, list_external_chrome, server_status

list_chrome_profiles, clone_chrome_profile, profile_report, profile_cleanup

navigate, navigate_and_snapshot, go_back, go_forward, reload, get_url, tab_list, tab_new, tab_select, tab_close, tab_focus

tab_new(new_window=...) picks where the tab opens. Left unset, a visible browser opens it in its own window behind the app you use, and headless opens a tab. True gives it its own window in both. False opens a tab in an existing window. In a visible browser that tab stays behind, so Chrome does not come to the front, and the page still reads as visible and focused. The result says which window it landed in and whether the page reads as visible.

browser_snapshot, accessibility_snapshot, describe_page, form_introspect, get_text, get_html, get_attribute, get_links, inspect_element, query_selector_all, search_page, extract_table, extract_structured, detect_content_pattern, scrape_page, list_frames, frame_evaluate

get_text on the whole page also reads every iframe, cross-origin and nested ones too, each under a line naming the frame; frames=False keeps to the top document. A hidden frame (display:none) is named on one line instead of read, since its text would be its script source.

click, click_text, click_role, click_and_wait, click_element_offset, click_at_corner, click_at_image, hover, fill, fill_form, smart_fill, paste_text, type_text, press_key, select_option, check, uncheck, upload_file, drag_and_drop, dialog_handle, dialog_auto_handle, scroll, scroll_to

batch_actions, workflow_run

mouse_click_xy, mouse_move, mouse_drift, mouse_record, mouse_replay, humanize_type, find_by_image

click(humanize=True) and mouse_click_xy(humanize=True) approach along a curved path. The older humanize_click was removed in 0.25.0: use these.

wait_for, wait_for_change, wait_for_function, wait_for_navigation, wait_for_network_idle, wait_for_request, wait_for_response, wait_for_url, assert_clickable, assert_element_visible, assert_text_present, assert_url_matches

request_human_help, wait_for_human

screenshot, screenshot_element, inspect_image, save_pdf, get_viewport_size, set_viewport_size

evaluate, inject_init_script

network_start, network_get, network_save_status, auth_capture, export_curl, export_har

intercept_start, intercept_log, intercept_stop, dry_run

http_request, http_request_status, http_request_cancel, http_request_retry, http_request_with_session, http_session_cookies, session_warmup

web_search, scrape_markdown, smart_fetch, deep_research, social_research, social_digest, github_read, youtube_read

cookie_list, cookie_set, cookie_delete, cookie_import, cookie_export, localstorage_get, localstorage_set, sessionstorage_get, cache_clear, indexeddb_list, indexeddb_delete, storage_state_save, storage_state_load, storage_snapshot, storage_diff

localstorage_set sets or clears either store: area="session" for sessionStorage, clear=True to empty it. The older localstorage_clear, sessionstorage_set and sessionstorage_clear were removed in 0.25.0: use this.

detect_anti_bot, detect_and_bypass, click_turnstile, verify_cf, solve_captcha, solve_recaptcha_ai, solve_turnstile_oscursor, fingerprint_audit, fingerprint_rotate, identity_pin, identity_show

vision_locate, vision_describe, vision_ocr, vision_check

console_start, console_get, console_clear, get_page_errors, performance_trace_start, performance_trace_stop, performance_metrics, performance_timeline, web_vitals, coverage_start, coverage_stop, memory_heap_snapshot, emulate_network, emulate_cpu, emulate_device

What the main tools do

These keep token use down and remove guesswork when an agent drives a page.

Tool

What it does

describe_page

A short JSON summary of title, headings, fields, actions and errors, far smaller than accessibility_snapshot. wait_stable=True waits for a single-page app to settle

smart_fill

Fills a form by label text with fuzzy matching, and returns close candidates when a label is not found

paste_text

Sends the full paste event sequence, for frameworks that ignore a plain input event

form_introspect

Per-field detail: label, framework binding, validation state and constraints

click_and_wait

Clicks and waits for one outcome: navigation, URL, text, selector, request or network idle

workflow_run

Many steps in one call, with foreach, if, save_as and ${var}. Use save_as: "name[]" in a loop to collect every parsed result; ${name} and ${name[0].field} reference the list. Vars above 200,000 characters are reported as large; successful collections above 1,000,000 characters are written whole to a private export file and replaced in vars with file, item count and character count. No code runs on the server, and start_at="3.2.1" resumes from a nested step. output="summary" (default) returns counts per tool, failed steps, the results of readers, of save_as steps and of the last step. Collected steps point to name[index] instead of repeating the item; a successful summary leaves out last.value when it repeats the last collected item. "failures" returns counts and failed steps, and "full" lists the steps up to 200 and counts the rest in completed_omitted. After a failure all modes keep vars whole for resume, including large collected lists, and a sleep step pauses {"seconds": 3} or a random {"min": 6, "max": 11}, at most 300 s

storage_snapshot, storage_diff

Compare cookies, storage and URL before and after an action

wait_for

frame_url= waits for a frame whose URL matches a regex, cross-origin frames included. A frame filled by a form post, as 3-D Secure does, has no src in the page, so a selector cannot find it

list_frames

Every frame with its URL. max_url_len (default 200, 0 for whole URLs) cuts a long URL and url_cut says how much went

server_status

The start-up profile cleanup shows the first 5 rows of each list and, for a longer one, the count and total size (kept_with_data_more and the like). profile_report lists every profile left. cdp names the current browser's DevTools host, port and websocket URL (null with no browser), and says so when the host is not a loopback address

These run without a browser and without a search API key, and use the stealth browser only when a page looks blocked or empty.

Tool

What it does

web_search

Search results as title, URL and snippet. Bing by default, with Brave, DuckDuckGo and Exa as options. Without a browser first; an empty result retries through the browser when one runs, and browser_escalation says whether it did

scrape_markdown

One URL as clean markdown, 70 to 98% smaller than the raw HTML

smart_fetch

Tries HTTP first and moves to the browser only when blocked

deep_research

Searches, fetches the top sources and returns markdown with citations

social_research

Who sells or makes something and how much attention it gets, across Reddit, Threads, Facebook and X. cookie_files re-imports your sessions on each call, which login-walled platforms need

social_digest, github_read, youtube_read

A Reddit community digest, GitHub repos and issues through the API, and YouTube metadata with transcripts

http_request presents the TLS handshake of Chrome, Firefox or Safari. Slow calls return a request ID, which you follow with http_request_status or stop with http_request_cancel. http_request_retry replays a request only when you ask, and connection, read and unknown failures stay distinct. http_request_with_session reuses browser cookies and a bearer token seen earlier on the same origin. Both accept only http and https, send text arguments exactly as given, and take reveal_values=True to show credentials in the response. Redirects are followed up to 30 as before, with browser cookies scoped as before, but your own headers only go to the origin you asked for (scheme, host and port): headers_not_forwarded names any left behind, redirects lists each hop (also when a later hop fails), and a 303, or a 301 or 302 after a POST, continues as a GET without the body, as browsers do. session_warmup browses naturally before reaching a target.

network_start and network_get capture requests with headers and, on demand, response bodies. Chrome drops a body when its page navigates away, and network_get then says so. network_start(keep_bodies=True) has Chrome keep bodies outside the page so they can still be read: they stay in Chrome's memory for that tab until it closes, up to 64 MB in all, the oldest dropped first (CAPTURE_BODY_BUFFER_BYTES and CAPTURE_BODY_MAX_BYTES change it), and the result says so. It is off by default. Calling network_start again forgets the earlier requests, so later calls cannot look up their bodies, and a network_get still running across it returns an error instead of an old body. network_get(resource_type="xhr,fetch") leaves out documents, scripts and images, and max_url_len (default 200, 0 for whole URLs) cuts long URLs and says how much went. A reply over 50,000 characters leaves out the oldest entries and says how many. export_curl turns a captured request into a curl command and an http_request call. Prefer the second, because plain curl sends curl's own TLS fingerprint. export_har writes the capture to a HAR file.

Capture covers only this tab's CDP session, not out-of-process iframes, workers or service workers; block_ads and save_bodies use separate connections with their own target coverage. Capture is bound to the tab where it starts; selecting another tab does not move or stop it.

network_get(full=True) marks request headers headers_source: "wire" when Chrome reports what it sent for that request. If it reports only the page's headers, the source is "page" with a note: a missing header does not mean it was not sent. export_har records the same distinction in request._headersSource and masks credential fields, including cookies from the network.

network_start(save_bodies=[{"url_pattern": "*/api/v4/pdp/*", "name": "pdp", "extract": ["data.item.title", "data.item.models[].{name,price}"]}]) writes the response bodies of matching URLs to ~/.mcp-stealth/exports/<date>/<name>.jsonl, one JSON line per response ({"meta": {request_url, page_url, ts, status, mime}, "body": ...}), and nothing of a body to the transcript. It is for the JSON a page loads for itself behind headers only its own scripts can sign, for many pages in a row. It covers every tab and popup of the browser, past navigations and reloads, and also a popup that opens the API URL itself. extract keeps only some fields: a.b a key at each dot, a[] each element of a list, {x,y} at the end those keys; a path that finds nothing is null and named in meta.missing. The files are masked as network_get shows them (reveal_values as there), 0600, a new file past 50 MB. A plain network_start() leaves saving on; save_bodies=[], closing the browser or the server's exit stop it. network_save_status() gives per name what matched, was saved, is pending and was not saved and why, the files with their size, and the last record's meta and top-level keys. Saving is refused in the person's own browser (the launcher's, or one reached with attach_to_chrome).

intercept_start pauses matching requests at the CDP layer to observe, cancel or mock them, including XHR and anything a page captured before your script ran. It turns itself off after a deadline, so a forgotten intercept cannot hang the page. When Chrome refuses to turn it off, intercept_stop is an error and intercept_log still shows it active: the handler then lets every request through, and calling intercept_stop again, or the deadline, tries again. Starting one on another tab meanwhile is refused. dry_run is the preset for exploring a logged-in account: it blocks POST, PUT, PATCH and DELETE and records what each would have sent, while reads keep working.

detect_anti_bot identifies Cloudflare, DataDome, PerimeterX, Akamai, Kasada and Imperva on the current page. detect_and_bypass also applies the best approach this server has. click_turnstile and verify_cf click a Turnstile checkbox, with template matching as a fallback. fingerprint_audit checks this browser's own fingerprint for inconsistencies, and states what it cannot see from inside a page, such as TLS or IP against timezone. identity_pin keeps a stable identity and proxy per instance. mouse_drift, mouse_record, mouse_replay, click(humanize=True) and humanize_type add natural movement.

solve_turnstile_oscursor(url=None, timeout_s=50.0) tries a different path for an interactive full-page challenge. It opens a fresh headed Chrome without a CDP client, locates the checkbox in an OS screenshot, clicks with the real desktop cursor, then waits eight seconds before attaching CDP to read cookies. It transfers only site cookies through the storage-state loader and reports success only after the main browser returns HTTP 200 with no detected challenge. A click or a clearance cookie alone is not proof of access. An unsuccessful challenge is reported, not retried automatically.

  • Launch the main browser first. Omit url to use its active tab. The main browser and sidecar need the same IP route and natural user agent; an explicit main-browser proxy or a user-agent mismatch is refused.

  • This tool intentionally takes focus and moves the shared OS cursor. Keep the desktop free during the call. A per-user OS lock prevents simultaneous solver calls across server processes, but cannot stop a person or another desktop program from moving the pointer.

  • macOS: run it with uvx 'mcp-stealth-chrome[os-cursor]' or install it with uv tool install 'mcp-stealth-chrome[os-cursor]' (uv sync --extra os-cursor for development). Without the extra the tool stops before doing anything and says the module is missing. Grant the controlling app or terminal Accessibility and Screen Recording in System Settings. server_status reports os_cursor.available without moving anything; right after a start it may say still being measured for a moment. The Python helper os_input.is_available(prompt=True) can request the Accessibility prompt; the MCP tool never changes permissions by itself.

  • Windows and Linux: not field-tested. Windows uses native SendInput. Linux requires X11 and xdotool, or the os-cursor extra's python-xlib/XTEST fallback. Native Wayland is refused.

  • timeout_s must be at least 16 seconds and bounds the attempt, not process cleanup. A standalone run takes about 16 to 20 seconds, but inside the MCP server native input and screen capture run slower: 35 timed out during scoring and 50 passed, so 50 is the default. Only the tool's own temporary profile, screenshot and mode-600 cookie file are overwritten and deleted. Overwriting is best effort, not a secure-erasure guarantee on SSD or copy-on-write storage. Cookies already transferred to the main browser remain there until expiry or deletion.

  • Verification: a macOS local fixture passed native input, cookie handoff and main-browser HTTP 200 through a real MCP client. On nopecha.com/demo/cloudflare it passed 3 of 3 with timeout_s=40 from one macOS machine and one IP, checked from the main browser (see Test results). This is not a claim of reliable Cloudflare access elsewhere.

performance_timeline and web_vitals give load timing and Core Web Vitals without a trace. performance_trace_start saves a trace you can open in DevTools, and coverage_start shows unused JS and CSS. memory_heap_snapshot saves a V8 heap snapshot. emulate_network, emulate_cpu and emulate_device throttle and emulate, and wait_for_network_idle waits until no request is in flight.

Option

Effect

browser_snapshot(mode="fast")

Skips computed styles, 2 to 3 times faster

browser_snapshot(mode="viewport"), max_elements, container_selector

Returns less on long pages

browser_snapshot(diff_from_last=True), delta=True

Near-instant on an unchanged page, or marks only what changed

screenshot(format="jpeg"), region, region_selector

Smaller files and faster crops. Base64 output stays opt-in

browser_launch(profile_mode="light")

No images, background Chrome services or Chrome's built-in component extensions, for ordinary pages. It also drops the "Google" speech voices, which pages can see. Keep the default on protected sites

Every launch

Chrome's default apps (Google Docs Offline, Web Store Payments) are not installed. On a fresh profile, one page took 10 processes and about 0.9 GB instead of 12 and 1.1 GB, measured on one machine. Pages cannot tell the difference: fingerprint_audit reads the same

navigate

Looks for a Cloudflare challenge once after load and waits only when something points at one. Opening a local page went from 669 ms to 63 ms

browser_close

Asks Chrome to quit over CDP and returns when its processes are seen gone, about 0.75 s. Chrome writes its cookies on the way out, so a login made just before the close is kept; ended with a signal, as before, it lost cookies set in the last 30 seconds. A Chrome that does not exit within 5 seconds is still ended with a signal. Programs Chrome starts that are not part of the browser, such as the system updater, are left alone

Headless

The reported screen is your display's size, or 1920x1080 when it cannot be read, so the window fits its screen. Headless Chrome otherwise reports 800x600 with a 1280x800 window. fingerprint_audit warns when a window is larger than its screen

browser_launch(testing_mode=True)

Faster regression runs, with less stealth

profile_report, profile_cleanup

Size and use of every profile, and cleanup of caches. Cleanup previews unless confirm=True, and refuses main and named profiles and anything in use

Limits

  • DataDome, Kasada, PerimeterX/HUMAN and ChatGPT's managed Turnstile are hard to pass with open source tools. A session saved after a manual login is the most reliable option, and commercial services may be needed in production.

  • Datacenter IPs and fresh profiles get blocked more often. For search engines, a warm profile with engine="brave" returns the most, and an empty result page usually comes from the environment.

  • Headless is easier to detect, so keep headless=false on difficult sites.

  • A Chrome profile can only be open once at a time. A second browser on the same profile moves to a separate one and says so.

  • Closed shadow roots cannot be read.

  • The browser is driven through a DevTools port on 127.0.0.1. Any program running on the same computer, under any account, can find that port (a scan of every local port took 8.3 s) and read the browser's cookies in plain text through it, without the Keychain prompt that guards the cookie file. Web pages cannot: Chrome refuses a page's connection to it (the server no longer passes nodriver's --remote-allow-origins=*) and blocks public pages from local addresses. If you pass --remote-allow-origins in extra_args it is kept, and the launch result and server_status.remote_allow_origins say so. Do not keep accounts in a browser this server drives whose loss you could not undo, such as your main email, banking, crypto wallets or a password manager.

  • On Windows, tests saw Google Chrome read back none of a profile's cookies after a relaunch, so a login may not survive a restart there. Linux and macOS keep them. This is being looked into.

Configuration

API keys

✅ 164 of the 170 tools need no key. These six do:

Tools

Key

Approximate cost

solve_recaptcha_ai, vision_locate, vision_describe, vision_ocr, vision_check

A vision model: OpenAI-compatible, Anthropic, or local Ollama

$0.001 to $0.03 per call

solve_captcha (Turnstile, reCAPTCHA v2 and v3, hCaptcha)

CapSolver

$0.80 to $1.00 per 1000

solve_recaptcha_ai suits low volume with your own key. solve_captcha suits production, since a dedicated service handles more challenge types.

Add the key to the env block of the server config. Use one of these:

"env": { "OPENAI_API_KEY": "sk-...", "OPENAI_MODEL": "your-vision-model" }
"env": { "ANTHROPIC_API_KEY": "sk-ant-...", "ANTHROPIC_MODEL": "your-vision-model" }
"env": { "OPENAI_BASE_URL": "https://api.groq.com/openai/v1", "OPENAI_API_KEY": "gsk_...", "OPENAI_MODEL": "your-vision-model" }
"env": { "OPENAI_BASE_URL": "http://localhost:11434/v1", "OPENAI_API_KEY": "ollama", "OPENAI_MODEL": "your-local-vision-model" }
"env": { "CAPSOLVER_KEY": "CAP-..." }
  • ✅ Works: any current model that accepts images

  • ❌ Fails: text-only models

Always set the model name. The built-in fallback may be out of date.

Any provider with /v1/chat/completions and image_url support works.

Order of use: arguments to the tool, then OPENAI_*, then AI_VISION_* (deprecated, it logs a warning), then ANTHROPIC_*.

One server for many clients

By default each client starts its own server over stdio. With --http, one server handles them all, and each connection (Mcp-Session-Id) gets its own instances, tabs and logs. Another session's instance is refused until that session calls instance_release.

mcp-stealth-chrome --http                # http://127.0.0.1:8765/mcp

The server can act as whoever is logged in to its browsers, so access is restricted:

  • ✅ A bearer token is always required, from MCP_STEALTH_TOKEN or ~/.mcp-stealth/http-token (created mode 600 on first run, never printed). Send it as Authorization: Bearer <token>.

  • ✅ Only loopback is allowed unless you pass --allow-remote. The token then travels unencrypted without a TLS proxy. Behind a proxy or on a wildcard address, name what clients use with --allowed-host.

  • ✅ Host and Origin checks stay on, which blocks DNS rebinding from a web page.

  • A second session's default browser gets its own profile without the first session's logins. Use instance_release or clone_chrome_profile to share.

  • Subagents on one connection count as one session and share state.

  • Each session runs its own Chrome, so this saves server processes and not browser memory.

  • When a client ends its session, its browsers wait to be claimed or closed by the idle timeout.

  • Request interception and performance tracing work for one session at a time.

Settings

Your own preferences live in one file, ~/.mcp-stealth/settings.json, shared by every server on the machine. Change them from the overlay bar's ⋯ menu, or with the command:

uvx mcp-stealth-chrome settings                          # each setting, its value and where it came from
uvx mcp-stealth-chrome settings set overlay_bar compact
uvx mcp-stealth-chrome settings reset overlay_bar        # back to the default (reset alone: all of them)

A change applies to the next launch, and the overlay's bar, light, lock, cursor and fade-out time change at once on a browser already open. Choosing Hidden for the bar takes the ⋯ menu away with it (the bar still shows for a request for help or while you hold the browser); settings reset overlay_bar brings it back. Each setting has an environment variable of its own; one set in an MCP server's config wins over the file for that server (the list and server_status.settings show it as env), and the ⋯ menu shows it as fixed.

Setting

Values

Default

What it does

Variable

agent_overlay

on, off

off

The overlay on every visible launch: a light, a bar with Take over, a lock (macOS, os-cursor extra)

MCP_STEALTH_AGENT_OVERLAY

overlay_bar

full, compact, hover, off

full

The bar: a small one, one shown only while the pointer is over the window, or none while the agent works (then no lock either, since the bar's button is how you take over). Help requests and your hold always show it

MCP_STEALTH_OVERLAY_BAR

overlay_light

on, off

on

The light around the window

MCP_STEALTH_OVERLAY_LIGHT

overlay_lock

on, off

on

Keeps clicks off the page while the agent works

MCP_STEALTH_OVERLAY_LOCK

agent_cursor

on, off

off

The agent's cursor in the overlay (the bar's arrow button turns it on or off for one browser)

MCP_STEALTH_AGENT_CURSOR

overlay_hide_after

seconds, 1 to 86400

90

Quiet time before the overlay fades out (not while a request for help or your hold shows)

MCP_STEALTH_OVERLAY_HIDE_AFTER

dock_icon

on, off

off

Visible browsers on new profiles run from Google Chrome Beta with the project icon, or Brave Beta with its own (macOS). See "Own Dock icon" under What tool results tell you

MCP_STEALTH_DOCK_ICON

antibot_tripwire

pause, warn, off

pause

A site's verification page after a navigation or between workflow steps: stop and ask you, say so and go on, or nothing. See "A site's verification page" under What tool results tell you

MCP_STEALTH_ANTIBOT_TRIPWIRE

antibot_rules

your rules, per host

none

Your own verification pages, besides the built-in ones. Example below

MCP_STEALTH_ANTIBOT_RULES (JSON text)

Your own verification pages, per host (a host covers its subdomains): url holds regular expressions searched in the path and query, never the host; text holds words of the page, in any case, read only on that host. At most 50 hosts, 20 patterns a list, 200 characters a pattern; a value with anything wrong is refused whole.

uvx mcp-stealth-chrome settings set antibot_rules '{"example.com": {"url": ["^/verify/", "[?&]scene=crawler_"], "text": ["Verify to continue"]}}'

Environment variables

Set in the MCP server's config. The ones most people set:

Variable

Purpose

BROWSER_IDLE_TIMEOUT

Seconds before an idle spawn_browser instance or HTTP-mode browser closes. Default 600, 0 means never

MCP_STEALTH_TOKEN

Token for HTTP mode

MCP_STEALTH_DATA_DIR

Folder used instead of ~/.mcp-stealth for profiles, screenshots, exports and the rest. Chrome keeps your real home folder. The HTTP token stays in ~/.mcp-stealth

Variable

Purpose

BROWSER_IDLE_REAPER_INTERVAL

How often idle browsers are checked. Default 60

BROWSER_LAUNCH_TIMEOUT, BROWSER_NAV_TIMEOUT, TOOL_ACTION_TIMEOUT

Time limits for launching, navigating, and single actions

CAPTURE_MAX_EVENTS, CAPTURE_MAX_INDEXED

Size of the capture buffers

MCP_STEALTH_APP_DIR

Folder of the Chrome copy left by 0.13.0, which is removed. Default ~/.mcp-stealth/app

MCP_WINDOWLESS_CLOSE_SECONDS

Seconds a visible browser may have no window before it is ended as quit. Default 3

MCP_STEALTH_QUIT_WATCHER

Set to 0 to leave quitting to the server alone, without the per-browser watcher process

MCP_STEALTH_CLOSE_WAIT

Seconds a browser asked to quit is given to write its state and exit before it is ended with a signal. Default 5

MCP_STEALTH_PROFILE_REMOVE_WAIT

Seconds a privacy profile's removal keeps trying after its browser has gone, while Windows still holds its files open. Default 15 on Windows, 0 elsewhere (three quick tries)

MCP_STEALTH_PROFILE_GC

Set to 0 to turn off the cleanup of leftover profiles when the server starts

MCP_STEALTH_TABS_DIR

Folder for the saved tab lists of restore_tabs. Default ~/.mcp-stealth/window-state

MCP_STEALTH_TAB_RECORD_DEBOUNCE

Seconds after a tool call before the open tabs are saved. Default 2, 0 turns it off

MCP_STEALTH_TAB_RECORD_PERIOD

Seconds between saves of the open tabs while a browser runs. Default 30, 0 turns it off

MCP_STEALTH_BRAVE_PATH

Brave's executable, when it is not where Brave installs itself

MCP_STEALTH_RESTORE_TABS_MAX_DAYS

A saved tab list older than this is not reopened. Default 30, 0 means no limit

MCP_STEALTH_RESTORE_TABS_MAX

Tabs kept in a saved list. Default 30

MCP_STEALTH_RESTORE_TABS_MAX_PERSON

Tabs kept for a browser you opened from the Dock launcher. Default 300

MCP_STEALTH_KEEP_ALIVE_MAX_HOURS

Hours a browser kept with keep_alive=True may run with no server before its watcher ends it. Default 24, at most a year; anything not a positive finite number means 24

MCP_STEALTH_KEEP_ALIVE_DIR

Folder for the records of kept browsers. Default ~/.mcp-stealth/keep-alive

MCP_STEALTH_LAUNCHER_DIR

Where install-launcher builds the Dock launcher. Default ~/Applications

MCP_STEALTH_LAUNCHER_ACTIVATE

Set to 0 so open leaves the browser behind the app in use instead of bringing it forward (tests)

MCP_STEALTH_LAUNCHER_EXTRA_ARGS

A JSON list of extra browser flags for open, used by tests

MCP_STEALTH_ADBLOCK_DIR

Folder for the filter lists and engine of block_ads. Default ~/.mcp-stealth/adblock

MCP_STEALTH_SETTINGS

The settings file. Default ~/.mcp-stealth/settings.json (in MCP_STEALTH_DATA_DIR when that is set)

MCP_STEALTH_OVERLAY_DIR

Folder for the files the server shares with the overlay. Default $TMPDIR/mcp-stealth-overlay

MCP_STEALTH_OVERLAY_IDLE_AFTER

Seconds without a tool call after which the agent counts as idle and the overlay's lock goes. Default 20

MCP_STEALTH_OVERLAY_CORNER

The window corner the overlay's light follows: <box> or <box>,<n> (a superellipse; n=2 is a circle). Default 37,4 on macOS 26 (measured), 10,2 before

MCP_STEALTH_CLOSED_PROBE_MAX_NODES

Largest document, in elements, whose closed shadow roots browser_snapshot reads through the DOM domain. 0 turns it off. Default 5000

MCP_STEALTH_ADBLOCK_DOWNLOAD_TIMEOUT

Seconds a list download may take in all. Default 20

MCP_STEALTH_ADBLOCK_MAX_BYTES

Largest list accepted, in bytes. Default 16 MB

MCP_STEALTH_ADBLOCK_STALL

Seconds ad blocking may go unanswered before it turns itself off for that browser. Default 3

OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL

Vision model through any OpenAI-compatible API

ANTHROPIC_API_KEY, ANTHROPIC_MODEL

Vision model through Anthropic

CAPSOLVER_KEY

Enables solve_captcha

EXA_API_KEY

Exa as a web_search engine

GITHUB_TOKEN, GH_TOKEN

Higher rate limit for github_read

RESEARCH_PROXY

Proxy for the research tools

Development

git clone https://github.com/RobithYusuf/mcp-stealth-chrome
cd mcp-stealth-chrome
uv sync
uv run mcp-stealth-chrome                # stdio server
uv run pytest tests/ -q                  # fast tests
MCP_E2E=1 uv run pytest tests/ -q        # adds the real Chrome tests

CI runs on macOS, Ubuntu and Windows:

  • the fast tests, with Python 3.11 and 3.13

  • an install of the built wheel without uv.lock, then server_status through a real MCP client

  • the real Chrome tests, headless

Tests that need a visible window or Chrome Beta run only on a developer's Mac.

AGENTS.md and the topic guides in docs/agents/ record the rules and platform facts behind the code.

mcp-camoufox offers the same tool names and snapshot format on Firefox, for sites where Chromium is harder to get through.

Built with nodriver, curl_cffi, FastMCP, OpenCV and adblock-rust (MPL-2.0, through the python-adblock bindings). The EasyList and EasyPrivacy lists are by the EasyList authors (https://easylist.to) and are downloaded at run time. stealth-browser-mcp covers UI cloning and network hooks.

License

MIT. See LICENSE.

Available Tools

138 tools
accessibility_snapshotC

Return ARIA accessibility tree of current page.

Inputs: interesting_only. Returns: result

assert_element_visibleA

⭐ Verify an element is visible (rendered, non-zero size, not hidden). Pass selector OR text — text uses fuzzy contains match. Returns ok(rect) or err(timeout).

Inputs: selector, text, timeout. Returns: result

assert_text_presentA

⭐ Verify text appears anywhere on page within timeout. Returns ok(found) or err(not found + sample of body text).

Inputs: text (required), timeout. Returns: result

assert_url_matchesA

⭐ Verify current URL matches regex within timeout. Returns ok(current_url) or err(timeout + last_url).

Inputs: pattern (required), timeout. Returns: result

attach_to_chromeA

⭐ Attach to an existing Chrome instance via CDP — no new browser launch, no profile lock conflict. Target Chrome must have been started with --remote-debugging-port=<N>. Auto-detects port if omitted (picks lowest).

Use cases:
- Control your existing Chrome (e.g. Profile 21) without closing it.
- Drive a Chrome session you launched manually with custom flags.
- Connect to a remote/Docker Chrome via host=<remote> port=<N>.

To detach without closing Chrome, call detach(). Calling browser_close()
after attach DOES close the target Chrome — use detach() instead if you
want to keep it running.

Inputs: port, host, instance_id. Returns: result

auth_captureA

⭐ Intercept the next N requests matching a URL pattern and return their headers (Authorization, Cookie, X-CSRF-*, etc.) — useful for SPAs that hold bearer tokens in JS memory and never write them to localStorage.

Pattern: substring match on URL (case-sensitive). For regex use
network_get instead.

Args:
    filter_url_pattern: e.g. "/api/" or "graphql"
    count: stop capturing after this many matches (default 1)
    timeout: max seconds to wait (default 10)
    include_response_headers: also wait for + return response headers

Returns JSON array of {url, method, request_headers, request_body,
[response_headers, status]}.

Inputs: filter_url_pattern (required), count, timeout, include_response_headers. Returns: result

batch_actionsA

Execute a list of actions sequentially.

Each action: {type: click|fill|type|wait|press|navigate, ...params}
Example: [{"type":"click","ref":"e3"},{"type":"fill","ref":"e4","value":"x"}]

Inputs: actions (required). Returns: result

browser_closeA

Close the browser and free the profile lock.

Inputs: no named parameters. Returns: result

browser_launchA

Launch stealth Chrome via nodriver. Creates persistent profile by default.

Args:
    url: initial URL to load
    headless: run without UI (many sites detect headless — prefer False)
    proxy: "http://user:pass@host:port" or "socks5://host:port"
    user_agent: override UA string
    window_width, window_height: viewport size
    persistent: reuse profile at ~/.mcp-stealth/profile
    lang: browser language
    extra_args: additional Chromium flags
    storage_state_path: load cookies/localStorage from JSON before first nav
    testing_mode: 2-5× faster startup+nav for perf/regression testing —
        disables image loading, background throttling dampers, translate,
        notifications, media autoplay. WARNING: reduces stealth — not for
        anti-bot work (sites can detect missing images as automation signal).
    auto_verify: if True (default), automatically detect Cloudflare /
        Turnstile challenges after the initial load and dispatch a
        CDP-level click on the checkbox. Caps at 2 attempts ~6s total —
        never loops. Set False to opt out.
    user_data_dir: launch Chrome against an EXISTING user profile root
        (e.g. "~/Library/Application Support/Google/Chrome"). Overrides
        persistent + the default MCP profile. The target Chrome instance
        (if any) MUST be closed first — locked profiles are detected
        upfront and refused with the lock-holder PID. Supports ~ expansion.
    profile_directory: when paired with user_data_dir, picks a sub-profile
        inside it (e.g. "Default", "Profile 21"). Without this, Chrome
        uses "Default". Helpful to drive a specific persona without
        cloning the profile. Use list_chrome_profiles to enumerate.

Inputs: url, headless, proxy, user_agent, +10 more. Returns: result

browser_recoverA

Force-recover from a stuck browser state.

Escape hatch when browser_close() can't run (graceful shutdown depends
on internal state that may be corrupt). Steps:
1. Best-effort browser.stop() — ignore any errors
2. Kill orphan Chrome PIDs whose argv references the active profile
   (SIGTERM, then SIGKILL after 2s if still alive) — only PIDs spawned
   against THIS MCP profile, never the user's daily Chrome
3. Reset BrowserState (clears tabs, instances, network index, locks)
4. Clear devtools / dialog caches
5. Wipe stale Singleton* lock files in all known profile dirs

Always succeeds — never raises. Use this when normal close hangs or
returns an error you can't diagnose. After this, browser_launch()
again to start fresh.

Inputs: no named parameters. Returns: result

browser_snapshotA

Inject SNAPSHOT_JS and return a ref-indexed list of interactive elements.

Refs (e0, e1, ...) are attached via data-mcp-ref and valid until next nav.

Modes (performance vs completeness tradeoff):
  full      — default; same shape as mcp-camoufox (computed-style visibility + full attrs)
  fast      — skip getComputedStyle + minimal attrs (2-3× faster, less info per element)
  viewport  — full fidelity but only elements inside current scroll viewport
              (5-10× faster on long feeds/SERPs, pair with scroll for segment-by-segment)

diff_from_last=True caches a DOM hash per tab; if the hash matches the previous
call on the same URL, returns "unchanged" without re-serializing the element list
(near-instant for re-check loops).

Inputs: mode, diff_from_last. Returns: result

cache_clearA

Clear the browser HTTP cache (CDP Network.clearBrowserCache).

Mirrors DevTools → Application → Clear storage → Clear site data (cache).
Does NOT touch cookies, localStorage, or IndexedDB — use dedicated tools
or browser_launch(persistent=False) for a full wipe.

Inputs: no named parameters. Returns: result

checkC

Tick a checkbox/radio (idempotent).

Inputs: ref, selector. Returns: result

clickC

Click an element by ref (from snapshot) or CSS selector. JS fallback on failure.

Inputs: ref, selector, humanize. Returns: result

click_and_waitA

⭐ Click + wait for the side-effect to land. Distinguishes a successful action from a silent failure (e.g. form invalid where click() returns success but submit never happened).

Args:
    ref / selector / text: element to click (passed through to existing
        click tools — text uses click_text fuzzy match)
    expect: what to wait for after the click. One of:
        "navigation"     — URL changes
        "url"            — URL matches expect_url_pattern (regex)
        "text"           — page contains expect_text
        "selector"       — expect_selector becomes visible
        "request"        — outgoing request matches expect_request_pattern
        "network_idle"   — no in-flight requests for 500ms
        "auto"           — try navigation→network_idle→nothing
    expect_*: target for the matching expect mode
    timeout: per-mode max wait

Returns JSON {clicked, observed: {what, evidence}, elapsed_ms}.

Inputs: ref, selector, text, expect, +5 more. Returns: result

click_at_cornerA

Click at a corner of element (close X buttons, delete icons, dismiss).

corner: top-left | top-right | bottom-left | bottom-right
offset: inset pixels from corner (default 8px — works for most X buttons)

Inputs: corner, offset, ref, selector. Returns: result

click_at_imageA

⭐ Find image via template matching, then click its center.

Combines find_by_image + humanize_move + mouse_click. Useful for visual
CAPTCHAs, custom buttons without reliable selectors, or interacting with
canvas-based UIs.

Inputs: template_path (required), threshold, humanize. Returns: result

click_element_offsetB

Click inside element at percentage position (not center).

Examples:
  x_percent=8          → checkbox at left edge of label
  x_percent=90         → right-side toggle slider
  y_percent=20         → top portion of a card

Inputs: x_percent, y_percent, ref, selector, +1 more. Returns: result

click_roleA

Click by ARIA role (e.g. button, link, textbox), optional accessible name.

Inputs: role (required), name. Returns: result

click_textB

Find and click element whose text matches.

Inputs: text (required), exact. Returns: result

click_turnstileA

Auto-find and click the Cloudflare Turnstile checkbox.

Three-tier detection strategy:
  1. Primary selectors: iframe[src*=challenges.cloudflare.com], [data-sitekey], .cf-turnstile
  2. Secondary: .turnstile, input[name=cf-turnstile-response] → nearest sized container
  3. Fallback (if fallback_template=True): OpenCV template match via verify_cf
     — covers out-of-process iframe cases (e.g. nopecha.com/captcha/turnstile)

Args:
    offset_x: pixels from widget left edge (default 30, calibrated for CF checkbox)
    offset_y: vertical offset (default = container center)
    fallback_template: if selectors fail, try OpenCV template click (default True)

Known to work on: 2captcha.com/demo/cloudflare-turnstile, dash.cloudflare.com login,
nopecha.com/captcha/turnstile (via template fallback).
Does NOT work on: Cloudflare managed-mode interstitials ("Just a moment..." full-page
challenges) — use solve_captcha or storage_state_load for those.

Inputs: offset_x, offset_y, fallback_template. Returns: result

clone_chrome_profileA

Clone an existing Chrome profile into isolated mcp-stealth location.

SAFE: reads source profile without modification, copies to
~/.mcp-stealth/profiles/<target_instance_id>/Default/

Chrome desktop MUST be closed for source profile (we check SingletonLock).
Preserves: cookies, history, bookmarks, saved passwords, extensions state.
Skips (if skip_cache=True): Cache, Code Cache, GPUCache, Media Cache,
Service Worker, IndexedDB (regenerable, saves 500MB+).

Args:
    source_profile: Chrome profile dir name ("Default", "Profile 1", etc).
                    Use list_chrome_profiles() to see options.
    target_instance_id: Name for the cloned instance (becomes folder name).
    skip_cache: Exclude cache dirs for fast + smaller copy (default True).
    overwrite: Delete target if exists before copying (default False).

After clone, launch with:
    spawn_browser(instance_id='<target_instance_id>')

Inputs: source_profile, target_instance_id, skip_cache, overwrite. Returns: result

close_all_instancesA

⭐ Close every running browser instance. Useful for cleanup.

Inputs: no named parameters. Returns: result

close_instanceB

⭐ Close a specific browser instance (frees profile + memory).

Inputs: instance_id (required). Returns: result

console_clearA

Clear the captured console buffer + call console.clear() in the page.

Inputs: no named parameters. Returns: result

console_getA

Retrieve captured console messages (chronological: oldest first within the last limit, newest last).

Inputs: limit. Returns: result

console_startA

Begin capturing console messages of active tab.

Inputs: no named parameters. Returns: result

coverage_startA

Start collecting JS/CSS code coverage.

Wraps CDP Profiler.startPreciseCoverage + CSS.startRuleUsageTracking.
Call coverage_stop() to get the usage report (bytes used vs unused).

Inputs: js, css. Returns: result

coverage_stopA

Stop coverage collection and return used/unused breakdown.

Returns per-file summary: bytes used, bytes total, unused %. Sorted by
largest unused byte count (biggest dead-code wins first).

Inputs: no named parameters. Returns: result

describe_pageA

⭐ Compact AI-friendly page summary — replaces accessibility_snapshot for LLM workflows. Returns JSON with the page's intent + interactable surface in ~10× fewer tokens than a full a11y dump.

Args:
    wait_stable: if True, install a MutationObserver and wait until the
        DOM has been quiet for `stable_ms` before snapshotting (max
        `max_wait` seconds). Use on SPA / lazy-rendered pages so the
        LLM sees the final state, not a half-hydrated render. Cheap
        (~50-200ms typical, capped at max_wait).
    max_wait: outer cap for stability wait (default 2.5s)
    stable_ms: required quiet window in ms (default 400)

Output shape:
  {
    "title": "...",
    "url": "...",
    "headings": [{"level":"h1","text":"..."}],
    "fields": [{"label":"...","type":"text|email|...","required":bool,"value":"...","name":"...","id":"..."}],
    "actions": [{"text":"Submit","kind":"button","disabled":false}],
    "errors": ["..."],
    "navigation": ["Dashboard","Settings",...],
    "stability": "stable|timeout|skipped"  (only present if wait_stable=True)
  }

Use this BEFORE smart_fill so the LLM knows which labels exist.

Inputs: wait_stable, max_wait, stable_ms. Returns: result

detachA

⭐ Release CDP connection to an attached Chrome WITHOUT closing it. Only valid for browsers connected via attach_to_chrome — for browsers spawned by browser_launch/spawn_browser this is equivalent to a no-op (use browser_close instead).

After detach, Chrome keeps running with all tabs intact. You can
re-attach later with attach_to_chrome(port=...).

Inputs: no named parameters. Returns: result

detect_and_bypassA

⭐ One-shot: detect anti-bot wall on current page and apply the best bypass we have. Returns JSON with detection + bypass result.

Bypass routing:
  - Cloudflare Turnstile / interstitial → _auto_verify_cf (DOM + OpenCV)
  - Other walls (DataDome, PerimeterX, Akamai, Imperva, Kasada) →
    return detection + recommended-action list (no auto-bypass since
    those need session reuse / proxies / paid solvers).
  - No wall detected → returns ok with empty bypass.

Inputs: no named parameters. Returns: result

detect_anti_botA

⭐ Analyze current page + HTTP headers to identify anti-bot system.

Detects: Cloudflare, DataDome, PerimeterX/HUMAN, Akamai Bot Manager,
Kasada, Imperva/Incapsula, F5 Shape, none. Returns system + recommended
bypass strategy from our toolkit.

Inputs: no named parameters. Returns: result

detect_content_patternA

Heuristically detect the most likely repeating container on page.

Useful for scraping job listings, product cards, search results. Returns top-3 candidate CSS selectors ranked by child-similarity.

Inputs: no named parameters. Returns: result

dialog_auto_handleA

⭐ Install a PERSISTENT auto-handler for native browser dialogs. Unlike dialog_handle (one-shot, action baked in at arm time), this one stays armed across many dialogs and reads its config at fire time — call again with new action/types to update without re-arming.

Args:
    action: "accept" (Leave / OK) or "dismiss" (Cancel / Stay)
    enabled: True to arm, False to disable (config preserved)
    types: optional list to scope handling — any of:
           ["alert", "confirm", "prompt", "beforeunload"]
           None (default) = handle all types.
    text: prompt response when action="accept" on prompt() dialogs;
          also basic-auth "user:pass" for HTTP 401.

Common patterns:
    # Form pages with "unsaved changes" guard — auto-leave forever
    dialog_auto_handle(action="accept", types=["beforeunload"])

    # Pages that spam alert() — auto-OK
    dialog_auto_handle(action="accept", types=["alert"])

    # Disable when done
    dialog_auto_handle(enabled=False)

Native dialogs only (Chrome's own card UI). HTML/CSS modal overlays
are regular DOM — use click_text("Cancel") / click_role for those.

Inputs: action, enabled, types, text. Returns: result

dialog_handleA

Pre-arm handler for next alert/confirm/prompt. Call BEFORE action that triggers it.

Inputs: action, text. Returns: result

drag_and_dropB

Drag from (start_x, start_y) to (end_x, end_y).

Inputs: start_x (required), start_y (required), end_x (required), end_y (required). Returns: result

emulate_cpuA

Throttle CPU via CDP Emulation.setCPUThrottlingRate.

rate=1 is no throttle; rate=4 makes CPU ~4× slower (matches DevTools default
"4x slowdown"). rate=6 simulates low-end mobile. Pass 1 to reset.

Inputs: rate. Returns: result

emulate_deviceA

Emulate a device via CDP Emulation.setDeviceMetricsOverride + UA override.

Presets: iphone-15, iphone-se, pixel-8, galaxy-s23, ipad, desktop (reset).
Also sets the matching User-Agent string so UA-sniffing backends respond
with the mobile variant.

Inputs: preset. Returns: result

emulate_networkA

Throttle network via CDP Network.emulateNetworkConditions.

Presets match Chrome DevTools device mode (offline/slow-3g/3g/slow-4g/4g/wifi).
Pass preset="no-throttle" to reset. Override individual knobs with
latency_ms / download_bps / upload_bps.

Inputs: preset, latency_ms, download_bps, upload_bps. Returns: result

evaluateC

Execute arbitrary JS expression in page context. Returns stringified result.

Inputs: expression (required). Returns: result

export_harC

Export captured network traffic to HAR-like JSON file.

Inputs: filename. Returns: result

extract_structuredB

Extract structured data from repeating containers.

fields: [{name: "title", selector: ".job-title", attribute: "text|href|src|..."}]
Only direct text nodes of element are captured for "text" (prevents child-field mixing).

Inputs: container_selector (required), fields (required), limit. Returns: result

extract_tableB

Extract a as JSON rows with optional header keys.

Inputs: selector, include_headers. Returns: result

fillC

Fill input/textarea via set_value (fast, works for standard inputs).

Inputs: ref, selector, value. Returns: result

fill_formB

Fill multiple fields then optionally submit.

fields: [{ref: "e1", value: "..."}, {selector: "#email", value: "..."}]

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

find_by_imageA

⭐ Find an image on the current page via OpenCV template matching.

Takes a fresh screenshot, matches against template_path image, returns
(x, y) center of best match. Use for finding visual buttons/icons when
DOM selectors aren't available.

Returns JSON: {"found": true, "x": ..., "y": ..., "score": ..., "template": "..."}

Inputs: template_path (required), threshold. Returns: result

fingerprint_rotateA

Override fingerprint vectors for active tab: user_agent, accept_language, platform (Win32/MacIntel/Linux x86_64), timezone (Asia/Jakarta, etc). Applied via CDP. Persists until next tab creation.

Inputs: user_agent, accept_language, platform, timezone. Returns: result

form_introspectA

⭐ Detailed form analysis in a single call. Returns label, framework binding (react/vue/solid_or_svelte/lit), validation state, and constraints (pattern, min/max length, required) per field.

Args:
    form_selector: CSS selector for a specific form (default: scan
        whole document for visible inputs)

Inputs: form_selector. Returns: result

frame_evaluateA

Run JS inside an iframe matching URL pattern.

Same-origin frames only: cross-origin iframes (reCAPTCHA bframe, payment
widgets, third-party embeds) block contentWindow.eval and return an error.

Inputs: frame_url_pattern (required), expression (required). Returns: result

get_attributeC

Get attribute value of element.

Inputs: name (required), ref, selector. Returns: result

get_htmlA

Return innerHTML (or outerHTML) of element or whole document.

Inputs: selector, outer. Returns: result

get_page_errorsA

Retrieve JS errors caught on active tab.

Inputs: no named parameters. Returns: result

get_textB

Return innerText of element (by selector or ref) or whole document.

Inputs: selector, ref. Returns: result

get_urlA

Return current URL of active tab.

Inputs: no named parameters. Returns: result

get_viewport_sizeA

Return current window dimensions.

Inputs: no named parameters. Returns: result

go_backA

Go back in history.

Inputs: no named parameters. Returns: result

go_forwardA

Go forward in history.

Inputs: no named parameters. Returns: result

hoverC

Hover over element.

Inputs: ref, selector. Returns: result

http_requestA

HTTP request with TLS-perfect browser fingerprint via curl_cffi. Use for API scraping after browser login — same stealth as real Chrome's JA3/JA4.

Args:
    url, method: target URL and HTTP verb
    impersonate: chrome, chrome124, firefox, safari, edge (default chrome)
    use_browser_cookies: auto-inject cookies from active browser tab
    headers, params: extra headers/query params
    data: raw body string (form-urlencoded or custom)
    json_body: JSON body dict (sets Content-Type automatically)
    timeout, follow_redirects: usual HTTP options
    return_mode: auto (json if parseable else text), json, text, or meta (status+headers only)

Inputs: url (required), method, impersonate, use_browser_cookies, +7 more. Returns: result

http_request_with_sessionA

⭐ Authenticated HTTP request that piggybacks on the BROWSER's session.

Combines:
  - cookies from active tab (use_browser_cookies=True in http_request)
  - Authorization header — explicit auth_header, OR auto-extracted
    from network_index (the most recent same-host request captured
    via network_start). Pages that hold bearer tokens in JS memory
    only become reachable after navigate / interaction emits a
    request — call network_start once at session begin.

Args:
    url, method, json_body, data, impersonate, return_mode, timeout:
        same as http_request
    extra_headers: merged on top of auto-detected ones
    auth_header: explicit bearer / basic value, e.g. "Bearer eyJ..."

Returns same shape as http_request.

Inputs: url (required), method, json_body, data, +5 more. Returns: result

http_session_cookiesA

⭐ Inspect which browser cookies would be sent with a request to URL.

Helpful to verify session sharing works before making requests.

Inputs: url (required). Returns: result

humanize_clickC

⭐ Click with Bezier-curve mouse approach + randomized dwell.

Inputs: ref, selector. Returns: result

humanize_typeC

⭐ Type with Gaussian-distributed keystroke delays.

Inputs: text (required), mean_delay. Returns: result

indexeddb_deleteB

Delete an IndexedDB database by name (scoped to current origin).

Inputs: database_name (required). Returns: result

indexeddb_listA

List IndexedDB databases for the current origin.

Reads via CDP IndexedDB.requestDatabaseNames. Use indexeddb_delete(name)
to drop one. Useful for clearing SPA state (many PWAs store auth / drafts
in IndexedDB rather than localStorage).

Inputs: no named parameters. Returns: result

inject_init_scriptA

Register a script that runs before page scripts on every navigation of the CURRENT tab. Scope is the active tab/target only — it is NOT auto-applied to other open tabs or to tabs opened later; re-run per tab if needed.

Inputs: script (required). Returns: result

inspect_elementC

Return tag, attributes, position, text for an element.

Inputs: ref, selector. Returns: result

list_chrome_profilesA

List all Chrome/Chromium/Edge/Brave profiles found on this system.

Reads browser 'Local State' JSON (read-only). Returns profile name, user email, path, whether in-use (Chrome currently running on it), and whether it exists.

Inputs: no named parameters. Returns: result

list_external_chromeA

List Chrome processes running on this machine, with their CDP debugging port if any. Use before attach_to_chrome to find a target. Returns array of {pid, debugging_port, user_data_dir, cmd}. Chromes without a debugging port show port=null and cannot be attached unless restarted with --remote-debugging-port=.

Inputs: no named parameters. Returns: result

list_framesA

List all iframes and their URLs.

Inputs: no named parameters. Returns: result

list_instancesA

⭐ List all browser instances with status + last-active time. Also reports external (non-MCP) Chrome processes that may conflict with custom --user-data-dir launches.

Inputs: no named parameters. Returns: result

localstorage_clearA

Clear all localStorage for current origin.

Inputs: no named parameters. Returns: result

localstorage_getA

Get localStorage — all keys or one specific key.

Inputs: key. Returns: result

localstorage_setC

Set a localStorage entry.

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

memory_heap_snapshotA

Capture a V8 heap snapshot (.heapsnapshot) — drag into DevTools Memory panel.

Large pages produce 50-200MB snapshots. Saved to ~/.mcp-stealth/exports/.

Args:
    filename: output name (default timestamped)
    stable_ms: consider snapshot complete after no new chunks for this many ms
    max_wait: hard cap on wait even if chunks keep arriving

Inputs: filename, stable_ms, max_wait. Returns: result

mouse_click_xyC

Click at raw viewport coordinates.

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

mouse_driftA

⭐ Simulate idle mouse wandering to pass behavioral ML.

Random Bezier segments across the viewport — mimics a user thinking. Call BEFORE a critical interaction (form submit, button click) to establish 'human' behavior pattern before the deterministic action.

Inputs: duration_seconds, segments. Returns: result

mouse_moveB

Move cursor to raw coordinates. humanize=True uses Bezier path.

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

mouse_recordA

⭐ Record real mouse movements from the page for later replay.

Injects a listener that captures mousemove events during duration. Move
your mouse naturally in the Chrome window while this runs. The recorded
path can then be played back via mouse_replay() — highest-stealth
behavioral pattern (indistinguishable from human).

Returns: JSON array of {t, x, y} events.

Inputs: duration_seconds. Returns: result

mouse_replayA

⭐ Replay a recorded mouse path (from mouse_record).

Args:
    path_json: JSON array of {t, x, y} from mouse_record
    speed: 1.0 = original speed, 2.0 = 2x faster, 0.5 = slower

Inputs: path_json (required), speed. Returns: result

network_getA

Retrieve captured network events.

Args:
    limit: max entries returned (chronological: oldest first within the last `limit`, newest last)
    filter_url: substring filter on URL
    include_body: fetch response bodies via CDP Network.getResponseBody
        for each matching entry. Bodies are truncated to max_body_bytes.
        Requires network_start(capture_bodies=True) (default).
    max_body_bytes: cap per-body length (default 10000)
    full: if True, return entries with full headers + body fields
        from network_index (use this once you've called network_start).
        Default False = legacy flat event stream (backward compat).

Inputs: limit, filter_url, include_body, max_body_bytes, +1 more. Returns: result

network_startA

Begin capturing network requests + responses with full headers.

Args:
    capture_bodies: if True (default), also indexes by request_id so
        network_get(include_body=True) can fetch response bodies on
        demand via CDP Network.getResponseBody.

Inputs: capture_bodies. Returns: result

paste_textA

⭐ Set field value by simulating a real paste event sequence.

Use when fill / type_text don't register on modern frameworks (SolidJS
runes, Svelte 5 runes, some Qwik forms) that ONLY listen for paste
events or beforeinput with inputType:'insertFromPaste'.

Sequence dispatched (mimics a real Cmd-V):
  1. focus
  2. ClipboardEvent('paste', {clipboardData: 'text/plain': text})
  3. InputEvent('beforeinput', {inputType: 'insertFromPaste', data: text})
  4. native value setter (HTMLInputElement / HTMLTextAreaElement)
  5. InputEvent('input', {inputType: 'insertFromPaste', data: text})
  6. Event('change')

Args:
    text: value to paste
    ref: data-mcp-ref from browser_snapshot
    selector: CSS selector
    submit: if True, simulate Enter keypress after paste

Inputs: text (required), ref, selector, submit. Returns: result

performance_metricsA

Return Chrome's runtime Performance metrics (Nodes, JSHeap, FPS, etc).

Wraps CDP Performance.getMetrics — use it for snapshots during a test run (before/after interaction) to detect regressions.

Inputs: no named parameters. Returns: result

performance_timelineA

Read Navigation/Resource/Paint timing via Performance API.

Returns TTFB, DOMContentLoaded, load, LCP candidate, FCP, resource count, and slowest 5 resources. Fast (no trace capture) — best for smoke tests.

Inputs: no named parameters. Returns: result

performance_trace_startA

Start Chrome DevTools performance trace on the active tab.

Use stop() to save the .json file. Only one trace can be active at a time.

Args:
    categories: comma-separated trace categories. Default covers DevTools'
        Performance panel view:
          "devtools.timeline,v8.execute,disabled-by-default-devtools.timeline,
           disabled-by-default-devtools.timeline.frame,loading,latencyInfo,
           blink.user_timing"
    screenshots: include screenshot frames in trace (bigger file, lets you
        scrub through frames in DevTools Performance panel)

Inputs: categories, screenshots. Returns: result

performance_trace_stopA

Stop the active performance trace and save to ~/.mcp-stealth/exports/.

Output is a JSON array compatible with chrome://tracing and
DevTools Performance panel (drag-drop to import).

Inputs: filename. Returns: result

press_keyA

Press a single key (Enter, Escape, Tab, ArrowDown, a, etc).

Inputs: key (required). Returns: result

query_selector_allA

Return count + attrs of all elements matching CSS selector.

Inputs: selector (required), limit. Returns: result

reloadC

Reload the active tab.

Inputs: no named parameters. Returns: result

save_pdfC

Save current page as PDF via CDP Page.printToPDF.

Inputs: filename, landscape. Returns: result

scrape_pageA

Clean readable text extraction — drops nav, footer, scripts, styles.

Smart-truncates at paragraph boundary (not mid-word).

Inputs: only_main_content, max_chars. Returns: result

screenshotA

Screenshot active tab. Saves to ~/.mcp-stealth/screenshots/.

Args:
    filename: output name (default timestamped)
    full_page: stitch entire page height (slower, larger file)
    return_base64: append base64 body to response (useful for vision models)
    format: "auto" (from extension, default), "png" (lossless), or "jpeg" (smaller)
    quality: JPEG quality 1-100 (default 80) — ignored for PNG
    region: clip to {x, y, width, height} — uses CDP Page.captureScreenshot clip
            (skips full-viewport paint, 2-5× faster for small crops)
    max_dimension: if either width or height exceeds this (px), the image is
        resized proportionally via OpenCV INTER_AREA. Default 1920 keeps output
        under the 2000 px per-side limit that LLM image tools (Claude/GPT) enforce
        — prevents "image exceeds dimension limit" failures on long full_page
        captures or hi-DPR device emulation. Pass 0 to disable resizing.

Inputs: filename, full_page, return_base64, format, +3 more. Returns: result

scrollA

Scroll page via REAL mouseWheel CDP events (not JS scrollBy).

humanize=True (default): variable chunks 50-150px + micro-pauses + 20%
reading-pause chance — bypasses DataDome/PerimeterX behavioral detection.
humanize=False: instant scroll (faster, less stealthy).

Directions: up | down | top | bottom

Inputs: direction, amount, humanize. Returns: result

scroll_toA

Smooth-scroll a specific element into viewport.

Args:
    ref: snapshot ref (e.g. "e7") from browser_snapshot
    selector: CSS selector alternative
    block: "start" | "center" | "end" | "nearest" — vertical alignment
    smooth: CSS smooth scroll (default) vs instant jump

Works even if element is far off-screen (pages of scroll away).

Inputs: ref, selector, block, smooth. Returns: result

select_optionC

Select by value or label.

Inputs: ref, selector, value, label. Returns: result

server_statusB

Diagnostic info about the server and browser.

Inputs: no named parameters. Returns: result

sessionstorage_clearA

Clear all sessionStorage for current origin (parity with localstorage_clear).

Inputs: no named parameters. Returns: result

sessionstorage_getB

Get sessionStorage — all keys or one.

Inputs: key. Returns: result

sessionstorage_setC

Set a sessionStorage entry.

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

session_warmupA

Warm up session by navigating naturally before hitting target URL. Anti-bot systems score trust by session history — direct deep-URL hits look suspicious.

Patterns:
  - homepage_first: goto origin → wait → goto target
  - referer_chain: goto origin → find link to target → click
  - natural_browse: homepage → scroll → random click → scroll → target

Inputs: target_url (required), pattern, dwell_seconds. Returns: result

set_viewport_sizeC

Resize the browser window.

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

smart_fillA

⭐ Fill form fields by label text (fuzzy match). LLM-friendly alt to fill_form which requires DOM refs.

Args:
    fields: {"Label": "value", ...} — keys match form field labels
        (case-insensitive, fuzzy: exact > prefix > substring > token).
        Labels resolved from <label>, aria-label, placeholder, name.
    submit_label: optional button text to click after filling
        (e.g., "Create", "Sign in"). Fuzzy-matched on action button text.

Behavior:
    - Each field: locates input → focus → clear → type value
    - Returns per-field result + list of available labels if missing
    - On miss: error includes candidates so the LLM can retry with
      the correct label name.

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

solve_captchaA

Solve a CAPTCHA via CapSolver HTTP API.

kind: turnstile | recaptcha_v2 | recaptcha_v3 | hcaptcha
Needs CAPSOLVER_KEY env var (or pass api_key). Returns solved token.
If inject_selector given, also injects token into that form field
(e.g. input[name='cf-turnstile-response']).

Inputs: kind (required), website_url (required), website_key (required), api_key, +2 more. Returns: result

solve_recaptcha_aiA

Solve reCAPTCHA v2 image challenge using a vision-enabled LLM.

Supports Anthropic (Claude) OR any OpenAI-compatible API (gpt-4o, gpt-5.x,
Groq llama3.2-vision, local Ollama llava, Together.ai, Fireworks, etc).

⚠️ MODEL MUST BE MULTIMODAL (vision-capable) — text-only models fail silently.
✅ Supported: gpt-4o, gpt-5.x, claude-opus-4-7, llava, llama-3.2-90b-vision-preview
❌ NOT: gpt-3.5-turbo, llama3 (non-vision), claude-3-haiku

Env vars (OpenAI SDK standard — priority checked if args omitted):
    OPENAI_API_KEY + OPENAI_BASE_URL + OPENAI_MODEL  → OpenAI-compat
    ANTHROPIC_API_KEY + ANTHROPIC_MODEL              → Claude
    AI_VISION_* (legacy, DEPRECATED — removed v0.2.0) → backward-compat

Explicit override:
    provider="anthropic" | "openai"
    base_url="https://your-provider.example.com/v1"
    api_key="..."
    model="gpt-4o" | "claude-opus-4-7" | ...

Cost: varies by provider (~$0.005-0.03 per solve).

Inputs: api_key, max_rounds, wait_between, provider, +2 more. Returns: result

spawn_browserA

Create a new named browser instance running in parallel with main. Each instance has its own profile, cookies, tabs, logs. Use for multi-account scraping or isolated sessions.

Args:
    instance_id: unique name (e.g., "scraper_1", "acct_alice")
    idle_timeout_seconds: auto-close after idle (0 = never, default 600s)
    profile_dir: override profile path (default: ~/.mcp-stealth/profiles/<id>/)
    other args: same as browser_launch

Use switch_instance(id) to route subsequent tool calls to this instance.

Inputs: instance_id (required), url, headless, proxy, +9 more. Returns: result

storage_diffA

⭐ Compare current state vs an earlier storage_snapshot. Returns JSON showing what changed (added/removed/modified per area + url change).

Pattern:
  storage_snapshot("before")
  <do an action e.g. click login>
  storage_diff("before")  → returns what the action actually changed

Inputs: name. Returns: result

storage_snapshotA

⭐ Capture cookies + localStorage + sessionStorage + URL into named slot for later diffing. Use BEFORE an action you want to inspect.

Inputs: name. Returns: result

storage_state_loadA

⭐ Load cookies + localStorage from a saved JSON file.

Call BEFORE navigating to protected site so session is ready.

Inputs: file_path (required). Returns: result

storage_state_saveC

⭐ Save cookies + localStorage of current origin to JSON.

DIFFERENTIATOR: Per research, session-reuse is THE most reliable way to
bypass Cloudflare Turnstile — it never triggers if session valid.
Login manually once → save state → reuse forever until expiry.

Inputs: filename. Returns: result

switch_instanceA

⭐ Make instance_id the active one for subsequent tool calls.

The previous current instance continues running in the background,
cookies/tabs preserved. Swap back anytime.

Inputs: instance_id (required). Returns: result

tab_closeB

Close tab at index (defaults to active).

Inputs: index. Returns: result

tab_focusA

⭐ Bring the active tab's browser window to the OS foreground.

Programmatic CDP navigation does not raise Chrome to the front, so
on a desktop where the user has their own Chrome already open you
may see only the original window even though MCP successfully
drove a different window/tab. Call this when you want to *see*
what MCP is doing.

Common reasons MCP's window is hidden:
  - Per-PID profile fallback: another Chrome already held
    ~/.mcp-stealth/profile/, so MCP launched into
    ~/.mcp-stealth/profile-pid<N>/ — that's a SEPARATE Chrome window.
    Run server_status to confirm (profile_dir field).
  - OAuth popup opened a new tab/window MCP now drives.
  - macOS Spaces / minimized window / behind other apps.

Inputs: no named parameters. Returns: result

tab_listA

List all open tabs with index, URL, title.

Inputs: no named parameters. Returns: result

tab_newB

Open a new tab and make it active.

Inputs: url. Returns: result

tab_selectA

Switch to tab at given index (from tab_list).

Inputs: index (required). Returns: result

type_textA

Type into focused element (keystroke-by-keystroke). Use humanize for Gaussian delays.

Inputs: text (required), humanize, mean_delay. Returns: result

uncheckC

Untick a checkbox.

Inputs: ref, selector. Returns: result

upload_fileC

Upload a file via .

Inputs: file_path (required), ref, selector. Returns: result

verify_cfA

⭐ Use nodriver's built-in Cloudflare challenge verification.

Uses OpenCV template matching to find the Turnstile checkbox on a screenshot
and click it. template_image is a path to a cropped image of the checkbox;
without it, the bundled English default is used.

Works on simple CF interstitials. For managed-mode Turnstile (ChatGPT-level),
combine with storage_state or solve_captcha.

Inputs: template_image. Returns: result

vision_locateA

⭐ Find an element by natural-language description using a vision LLM.

Uses the same provider as solve_recaptcha_ai (OPENAI_* / ANTHROPIC_* env).
Reuses solve_recaptcha_ai's vision plumbing so any vision-capable model
works (gpt-4o, gpt-5.x, claude, llava, llama-3.2-vision).

Args:
    description: NL description, e.g. "the red Create button at bottom right"
    click: if True, also dispatches a CDP mouse_click at the located point
    api_key/base_url/model/provider: explicit overrides (else from env)

Returns JSON: {"found":true/false, "x":int, "y":int, "confidence":"high|medium|low"}.
Use when CSS selectors are unreliable (visual-only differentiator, dynamic IDs).

Inputs: description (required), click, api_key, base_url, +2 more. Returns: result

wait_forC

Wait until selector exists or text appears on page.

Inputs: selector, text, timeout. Returns: result

wait_for_navigationC

Wait until the page finishes loading.

Inputs: timeout. Returns: result

wait_for_network_idleA

Wait until no network request has been in-flight for idle_ms.

More robust than wait_for(selector) for JS-heavy SPAs. Implementation polls
performance.getEntriesByType('resource') + a custom fetch/XHR tracker
injected once per tab.

Inputs: idle_ms, timeout. Returns: result

wait_for_requestA

⭐ Block until a network request matching url_pattern is observed. Replaces the setTimeout(2000)+poll anti-pattern.

Args:
    url_pattern: substring match
    method: optional HTTP verb filter (GET/POST/...)
    timeout: max seconds to wait
    require_response: also wait for the response phase (default True)

Returns JSON of the matching entry (url/method/status/request_headers/
response_headers).

Inputs: url_pattern (required), method, timeout, require_response. Returns: result

wait_for_responseB

Wait for a network response whose URL matches regex.

Inputs: url_pattern (required), timeout. Returns: result

wait_for_urlC

Wait until URL matches a regex pattern.

Inputs: pattern (required), timeout. Returns: result

web_vitalsA

Collect Core Web Vitals (LCP, CLS, INP, FCP, TTFB) via web-vitals v4.

Injects Google's official web-vitals library from CDN, listens for each
metric, returns after all expected metrics fire or timeout elapses.

Best practice: call after the page has been interacted with (scrolled,
clicked) so INP and CLS have real signal.

Inputs: timeout. Returns: result

workflow_runA

⭐ Execute a list of tool steps sequentially. Resumable — pass start_at=N to skip the first N steps.

Each step: {"tool": "<name>", "args": {...}, "label": "optional"}

Args:
    steps: list of step dicts
    start_at: index to begin from (for resume after a fix)
    stop_on_error: abort on first failure (default True). If False,
        continue and collect all results.

Returns JSON:
  {
    "completed": [
      {"index": 0, "tool": "navigate", "ok": true, "result": "..."},
      ...
    ],
    "failed_at": 3,                # index of failure (omitted on success)
    "failure_context": {...},      # last step's input + error (for LLM debug)
    "resume_with": "workflow_run(steps=..., start_at=4)"  # hint
  }

Allowed tools (curated for sequencing): navigate, reload, go_back/forward,
click, click_text, click_role, fill, type_text, press_key, select_option,
check, uncheck, wait_for*, screenshot, scroll, scroll_to, smart_fill,
vision_locate, assert_*, storage_*, cookie_import, storage_state_load,
evaluate, mouse_click_xy.

Inputs: steps (required), start_at, stop_on_error. Returns: result

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 138 tools

    Disambiguation3/5

    With 138 tools, many have overlapping purposes (e.g., 10+ click tools). Although each has distinct use cases, the sheer volume forces an agent to carefully differentiate similar tools, creating ambiguity.

    Naming Consistency3/5

    Most tools use snake_case with a verb_noun pattern, but there are outliers like bare verbs (click, fill, check) and compound names (click_and_wait, click_at_corner). The convention is moderately consistent but not strict.

    Tool Count2/5

    138 tools is excessive for almost any domain. While the server covers a wide range of stealth browser automation features, many tools are highly specialized and could be consolidated, making the surface feel bloated.

    Completeness5/5

    The tool set is exceptionally comprehensive, covering launch, attach, navigation, interaction, forms, network, storage, performance, captcha, accessibility, and workflow orchestration. It's hard to find any missing operations for browser automation.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to perform undetectable browser automation that bypasses Cloudflare, antibots, and social media blocks. Provides 105 tools for element extraction, network debugging, and real-world web scraping with a 98.7% success rate on protected sites.
      170 PyPI
      3,382
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables undetectable web scraping and browser automation for AI agents with 84 tools including stealth navigation, element extraction, network interception, and auto cookie consent dismissal. Bypasses anti-bot systems like Cloudflare and DataDome while providing LLM-ready markdown output and full Chrome DevTools Protocol access.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Undetectable browser automation for AI agents that bypasses Cloudflare, antibot systems, and social media blocks using real browser instances with 97 tools across 11 sections.
      MIT