Skip to content
MCP server

mcp-stealth-chrome MCP Server

MCP server with 170 tools: a real Chrome browser over CDP with nodriver, HTTP with Chrome's TLS fingerprint, Cloudflare Turnstile handling, session reuse, and web research without API keys

mcp-stealth-chrome scores 49 (Fair), licensed MIT and written in Python. It installs as a local process. It declares 10 tools. Filed under Cloud. GitHub shows 29 stars. Package registries report about 4,390 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by robithyusufMITPython29 stars
Trust score
49Fair
Trust score 49 of 100, Fair

Fair trust

49 of 100 from six public signals. Nobody can buy a point.

  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 49 comes from

0 + 20 + 5 + 10 + 4 + 10 = 49. Each factor is capped, so no single signal can carry a listing.

Registry0 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 0 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "robithyusuf-mcp-stealth-chrome": {      "command": "uvx",      "args": [        "mcp-stealth-chrome"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools10Tool docs quality grade C

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

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

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

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

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

  • The start-up profile cleanup shows the first 5 rows of each list and, for a longer one, the count and total size (keptwithdatamore and the like). profilereport lists every profile left. cdp names the current browser's DevTools host, port an

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

  • frameurl= 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

  • 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 browserescalation says whether it did

  • Many steps in one call, with foreach, if, saveas and ${var}. Use saveas: "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 col

About

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

FeatureWhat you get
✅Real browserChrome or Brave over CDP with real mouse and key input. No WebDriver, and the identity is your real browser and machine
✅Honest resultsA click says whether the page changed and names what covers a blocked element. Nothing reports success on a guess
✅Small page readsbrowser_snapshot and describe_page return compact refs an agent can act on, reaching into iframes and shadow roots, closed ones too
✅HTTP without a browserhttp_request, scrape_markdown and smart_fetch send the TLS fingerprint of Chrome, Firefox or Safari and can reuse the browser's cookies
✅Search and researchweb_search, deep_research, github_read and youtube_read, with no API key
✅Logins that lastA kept profile, saved sessions, and cloning a profile from your own browser. Passwords and cookies are hidden from tool output by default
✅Several browsersInstances side by side, each with its own profile, tabs and logs
✅Stays out of your wayA visible browser opens behind the app you are using and does not take the keyboard
✅Anti-bot helpDetection of the protection in use, Turnstile and reCAPTCHA tools, and handing over to a person when needed
✅Options per launchKeep the browser open after the agent ends, reopen the last tabs, block ads, vertical tabs, a throwaway profile
✅DebuggingNetwork 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.

Install

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

OSuvChrome
macOScurl -LsSf https://astral.sh/uv/install.sh | shbrew install --cask google-chrome
Ubuntu or Debiancurl -LsSf https://astral.sh/uv/install.sh | shsudo apt install -y google-chrome-stable
Windowspowershell -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

ExtraNeeded forIn your client config
os-cursorsolve_turnstile_oscursor, agent_overlay"args": ["mcp-stealth-chrome[os-cursor]@latest"]
adblockblock_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.

SiteWhat it checksResult
bot.sannysoft.comFingerprint tests✅ All passed
browserscan.net/bot-detectionWebDriver, Selenium, CDP, headless✅ All "Normal"
arh.antoinevastel.com areyouheadlessHeadless Chrome✅ "You are not Chrome headless"
2captcha.com/demo/cloudflare-turnstileTurnstile widget, with Cloudflare's test key✅ Checkbox reaches "Success!" with click_turnstile
nopecha.com/demo/cloudflareFull-page "Just a moment..." challenge❌ click_turnstile: 0 of 3✅ solve_turnstile_oscursor: 3 of 3 (one Mac, one IP)
google.com/recaptcha/api2/demoreCAPTCHA v2 images✅ 5 of 5 runs with solve_recaptcha_ai
tls.browserleaks.comJA3 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.

WhatThis serverchrome-devtools-mcp
Open a local page in a running browser63 ms131 ms
Open en.wikipedia.org/wiki/Cat, cached276 ms370 ms
Click a button that changes the page160 ms253 ms
Click a button that does nothing577 ms, says NO page change detected within 450ms262 ms, says it clicked
Click a button under an overlay88 ms, refuses and names the overlay252 ms, says it clicked; the overlay took the click
Click a disabled button89 ms, says it is disabled5.0 s, then a timeout
Fill a text field12 ms248 ms
Close the browser0.11 s0.11 s
Snapshot of a form with 158 elements2,181 tokens3,888 tokens
Snapshot of the Wikipedia page2,405 tokens for the first 100 elements, 100,127 for all225,658 tokens
Start the browser and load the first page1.07 s0.66 s
Memory with one page open941 MB in 10 processes585 MB in 6 processes
Tool definitions sent to the clientabout 32,900 tokens for the 169 tools of 0.26.0, when this was measured7,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.
SituationTool
Checkbox embedded in a page, such as a login or signup formclick_turnstile
Full-page "Just a moment..." challenge, on macOS, with the desktop free for up to a minutesolve_turnstile_oscursor
Full-page challenge where the mouse cannot be taken over, or on Windows or LinuxA 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 toUseProfileKept after closing
Work with a logged-in accountbrowser_launch()~/.mcp-stealth/profileLogins, cookies, history, the list of open tabs
Try something without saving a loginbrowser_launch(persistent=False)TemporaryNothing
Start with no trace of this browser's past usebrowser_launch(privacy=True)Empty, under privacy-profiles/Nothing, and the removal is checked
Use Brave instead of Chromebrowser_launch(browser="brave")~/.mcp-stealth/brave-profileAs 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 toPass
Keep the browser open after the agent endskeep_alive=True
Reopen the tabs from last timerestore_tabs=True
Block ads and trackers in Chromeblock_ads=True
See when the agent drives the window, and take it over (macOS)agent_overlay=True
Tabs in a side barvertical_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 Dockmcp-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:

CheckBraveChrome
bot.sannysoft.com, headless and visible30 passed, 1 warning (TRANSPARENT_PIXEL, from farbling) in 3 of 4 runs31 passed
browserscan.net/bot-detection18 of 18 "Normal"18 of 18 "Normal"
2captcha.com/demo/cloudflare-turnstile with click_turnstileToken filled, 3 of 3Token filled
detik.com front page135 requests, 16 iframes222 requests, 33 iframes
cnnindonesia.com front page116 requests, 1 iframe231 requests, 16 iframes
A Brave profile copied with clone_chrome_profile(browser="brave")1575 of its cookies read back, logins keptRefused, 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 offHow
Leo AI chat, Brave VPN, Speedreader and its prompts, Playlist--disable-features for this browser process only
P3A, the daily usage ping, Tor windowsthe 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 promptsthe 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:

CheckLeanNot 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 offall on
Visible windowToolbar: Shields and the menu; new tab page: background and search boxToolbar 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 eachheadless 494 to 535 MB, 6 processes; visible 511 to 582 MB, 7headless 513 to 521 MB, 6; visible 517 to 540 MB, 7 (no difference beyond run-to-run spread)
bot.sannysoft.com, headless and visible30 passed and TRANSPARENT_PIXEL warned (farbling), or 31 passedthe same
browserscan.net/bot-detectionevery 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.

ToolWhat it does
describe_pageA 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_fillFills a form by label text with fuzzy matching, and returns close candidates when a label is not found
paste_textSends the full paste event sequence, for frameworks that ignore a plain input event
form_introspectPer-field detail: label, framework binding, validation state and constraints
click_and_waitClicks and waits for one outcome: navigation, URL, text, selector, request or network idle
workflow_runMany 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_diffCompare cookies, storage and URL before and after an action
wait_forframe_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_framesEvery 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_statusThe 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.

ToolWhat it does
web_searchSearch 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_markdownOne URL as clean markdown, 7

Frequently asked questions

What is mcp-stealth-chrome MCP Server?

MCP server with 170 tools: a real Chrome browser over CDP with nodriver, HTTP with Chrome's TLS fingerprint, Cloudflare Turnstile handling, session reuse, and web research without API keys

How do I install mcp-stealth-chrome MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. mcp-stealth-chrome MCP Server runs locally from the PyPI package mcp-stealth-chrome with the command uvx mcp-stealth-chrome.

Is mcp-stealth-chrome MCP Server free and open source?

Yes. mcp-stealth-chrome MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does mcp-stealth-chrome MCP Server support remote (HTTP) connections?

No remote endpoint is listed for mcp-stealth-chrome MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does mcp-stealth-chrome MCP Server provide?

mcp-stealth-chrome MCP Server provides 10 tools, including click_and_wait, describe_page, form_introspect, and list_frames. See the full tool list for descriptions and parameters.

How is mcp-stealth-chrome MCP Server's trust score calculated?

mcp-stealth-chrome MCP Server scores 49 out of 100 (Fair). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server