Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
作者提供的说明(英文原文)
Stealth Chromium MCP server with hybrid AOM + Set-of-Mark vision and Readability extraction.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SAB_HEADLESS, SAB_STEALTH_LEVEL, SAB_PROXY_SERVER, SAB_PROXY_USERNAME, SAB_PROXY_PASSWORD, SAB_USER_DATA_DIR标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"stealth-agent-browser": {
"command": "npx",
"args": [
"-y",
"stealth-agent-browser-mcp"
],
"env": {
"SAB_HEADLESS": "your-value",
"SAB_STEALTH_LEVEL": "your-value",
"SAB_PROXY_SERVER": "your-value",
"SAB_PROXY_USERNAME": "your-value",
"SAB_PROXY_PASSWORD": "your-value",
"SAB_USER_DATA_DIR": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add stealth-agent-browser --env SAB_HEADLESS=your-value --env SAB_STEALTH_LEVEL=your-value --env SAB_PROXY_SERVER=your-value --env SAB_PROXY_USERNAME=your-value --env SAB_PROXY_PASSWORD=your-value --env SAB_USER_DATA_DIR=your-value -- npx -y stealth-agent-browser-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"stealth-agent-browser": {
"command": "npx",
"args": [
"-y",
"stealth-agent-browser-mcp"
],
"env": {
"SAB_HEADLESS": "your-value",
"SAB_STEALTH_LEVEL": "your-value",
"SAB_PROXY_SERVER": "your-value",
"SAB_PROXY_USERNAME": "your-value",
"SAB_PROXY_PASSWORD": "your-value",
"SAB_USER_DATA_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"stealth-agent-browser": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"stealth-agent-browser-mcp"
],
"env": {
"SAB_HEADLESS": "your-value",
"SAB_STEALTH_LEVEL": "your-value",
"SAB_PROXY_SERVER": "your-value",
"SAB_PROXY_USERNAME": "your-value",
"SAB_PROXY_PASSWORD": "your-value",
"SAB_USER_DATA_DIR": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SAB_HEADLESS envSAB_STEALTH_LEVEL envSAB_PROXY_SERVER envSAB_USER_DATA_DIR env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 ykshah1309 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SAB_PROXY_USERNAME, SAB_PROXY_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.2.0)于7个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Browser Use, Chrome DevTools MCP, MCP Server Browser
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
MCP server for Chrome DevTools
MCP server for browser use access
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol (MCP) server that gives AI agents a stealth-grade Chromium browser with a hybrid Accessibility-Object-Model + Set-of-Mark vision interface. Built for Claude, works with any MCP-compatible host.
rebrowser-playwright to patch the Runtime.Enable CDP leak that bypasses playwright-extra-class stealth plugins. Passes modern bot-detection suites (CreepJS, bot.sannysoft.com) where vanilla Playwright fails.browser_snapshot returns Playwright aria snapshot YAML (~2–5 KB) instead of raw HTML (100KB+). Every interactive element carries a [ref=eN] id that actions consume directly — no selectors, no drift.mode: "hybrid" and the server overlays numbered red boxes on the screenshot so the model can ground visually (Set-of-Mark prompting, Yang et al.). The ref ids on the image match the ids in the YAML. No parallel numbering scheme to go out of sync.browser_scroll_read runs Mozilla Readability through JSDOM and returns clean Markdown — optionally delta-only, so re-reads cost nothing when nothing changed.Authorized use only. Stealth tooling has legitimate applications (accessibility auditing, your-own-account automation, QA against sites you own or have permission to test). Do not use this server to violate a site's terms of service or applicable law. See SECURITY.md.
npm install -g stealth-agent-browser-mcp
npx playwright-core install chromium
Or run without install via npx stealth-agent-browser-mcp.
Add to your MCP config:
{
"mcpServers": { "stealth-browser": { "command": "npx", "args": ["-y", "stealth-agent-browser-mcp"], "env": { "SAB_HEADLESS": "true", "SAB_STEALTH_LEVEL": "patched" } } } }
Restart the host. The agent will see the tools listed below.
| Tool | Purpose |
|---|---|
browser_navigate | Navigate a URL and return a snapshot. |
browser_snapshot | aom (YAML only, cheapest), vision (raw screenshot), or hybrid (YAML + Set-of-Mark screenshot). |
browser_click | Click an element by its [ref=eN]. |
browser_type | Type into an input/textarea by ref. |
browser_select | Choose options in a by ref. |
browser_scroll_read | Scroll and return Readability Markdown (delta-only by default). |
browser_wait_for | Wait for text or a ref to become visible. |
browser_tabs | list / new / close / switch. |
browser_eval | Evaluate a JS expression in the page's MAIN world; JSON result. |
browser_set_proxy | Update single-proxy config (effective after browser_restart). |
browser_set_proxy_pool | Replace residential proxy pool at runtime (effective after browser_restart). |
browser_solve_captcha | Fallback captcha solver (CapSolver / 2Captcha). Detects Turnstile/hCaptcha/reCAPTCHA on the page. |
browser_restart | Close + re-open the active browser session with current config. |
All action tools are addressed by the ref emitted in the last AOM snapshot. Refs are Playwright's own aria-ref=eN ids — there is no parallel numbering scheme.
All via environment variables:
| Var | Default | Notes | ||
|---|---|---|---|---|
SAB_HEADLESS | true | false for a visible window (debugging). | ||
SAB_STEALTH_LEVEL | patched | off \ | patched \ | paranoid. |
SAB_PROXY_SERVER | — | Single-proxy mode. e.g. http://host:port | ||
SAB_PROXY_USERNAME / SAB_PROXY_PASSWORD | — | |||
SAB_PROXY_POOL | — | Residential pool. Comma-separated URLs (http://u:p@host:port,...) or a JSON array of {server, username, password}. | ||
SAB_PROXY_ROTATION | per-restart | per-session \ | per-restart \ | static. |
SAB_PROXY_STICKY_TEMPLATE | — | Username template for sticky-IP providers. ${sessionId} interpolates. Example: brd-customer-c1-zone-res-session-${sessionId}. | ||
SAB_HUMAN_MOUSE | true | Bezier-path click with pre-click hesitation. Defeats Datadome trajectory analysis. | ||
SAB_CAPTCHA_PROVIDER | none | capsolver \ | twocaptcha \ | none. |
SAB_CAPTCHA_API_KEY | — | Provider API key. | ||
SAB_USER_DATA_DIR | — | Persistent profile directory (cookies build reputation). | ||
SAB_DEFAULT_TIMEOUT_MS | 15000 | Per-action timeout. | ||
SAB_MAX_ANNOTATED | 75 | Max labelled boxes in hybrid mode. | ||
SAB_VIEWPORT_W / SAB_VIEWPORT_H | 1366 / 768 | |||
SAB_LOCALE | en-US | |||
SAB_TIMEZONE | America/New_York | |||
LOG_LEVEL | info | debug, warn, etc. Always writes to stderr. |
src/
├── index.ts # Entry (stdio) ├── server.ts # MCP server + tool registration ├── tools.ts # Tool handlers ├── browser.ts # Stealth Chromium launcher (rebrowser-playwright) ├── session.ts # Per-connection browser/context/page state ├── snapshot.ts # AOM + Set-of-Mark pipeline ├── annotate.ts # SVG overlay compositing (sharp) ├── reader.ts # Readability → Markdown (pierces open shadow roots) ├── fingerprint.ts # Rotatable UA/viewport/timezone profiles ├── proxy.ts # Residential pool + rotation + sticky-session template ├── human-mouse.ts # Bezier-curve cursor paths (ghost-cursor math) ├── captcha.ts # CapSolver / 2Captcha REST adapters ├── config.ts # Zod-validated env config └── logger.ts # pino → stderr (never stdout)
All logs go to stderr — stdout is reserved for JSON-RPC. Never add console.log.
A common ask for scrapers is: *"spoof the TLS ClientHello (JA3) to look like Chrome, via curl-impersonate or node-tls-client."*
That applies to Node-layer HTTP scrapers (fetch, got, axios) where the TCP connection originates from Node's OpenSSL, which emits a ClientHello signature distinct from Chrome's BoringSSL — and Cloudflare / Akamai Bot Manager drop it at the network layer before a single byte of JavaScript runs.
This MCP does not have that architecture. Every request exits through Chromium. Chromium's TLS stack *is* Chrome's TLS stack (literally the same BoringSSL build), so the ClientHello JA3 is Chrome's JA3 by construction. No JS-level rewriting is possible or necessary.
The one place TLS can still betray you is if you route through a proxy that terminates and re-initiates TLS (MITM). Residential proxy providers (Bright Data, DataImpulse, Oxylabs residential, SOAX) route at TCP — they do not MITM TLS — and the Chromium handshake reaches the origin unmodified. The products that *do* MITM TLS are managed scraping browsers (Bright Data's Scraping Browser, Oxylabs Web Unblocker), which ship their own headless Chrome and replace this MCP rather than layering on top of it.
Bottom line: with rebrowser-playwright + residential pool (P1) + human mouse (P2), the TLS fingerprint, CDP runtime, DOM surface, and behavioral layer all match real Chrome. Captcha solving (P3) is a fallback for the 1–5% of sessions that still get flagged.
npm run bench:stealth launches the configured browser against public bot-detection test pages (bot.sannysoft.com, CreepJS, pixelscan, BrowserLeaks WebRTC) and reports pass/fail. These are the same harnesses used by the rebrowser-patches and Patchright projects — see rebrowser-bot-detector for the reference suite.
Typical local-fixture test run (see test/):
| Test | Result |
|---|---|
| AOM YAML contains refs for all interactive elements | ✓ |
hybrid mode returns PNG + YAML, refs match | ✓ |
click/type by ref produces expected DOM change | ✓ |
| Readability extracts article to Markdown | ✓ |
Delta-only scroll returns (no readable content change) on repeat | ✓ |
| stealth-agent-browser-mcp | playwright-mcp | browser-use MCP | computer use | |
|---|---|---|---|---|
| CDP-level stealth (Cloudflare/DataDome) | ✓ | ✗ | partial | ✗ |
| Accessibility-tree snapshots | ✓ | ✓ | ✓ | ✗ |
| Set-of-Mark vision (ref-labeled screenshot) | ✓ | ✗ | ✗ | pure vision |
| Readability-based scroll-and-read | ✓ | ✗ | ✗ | ✗ |
| Token-lean by default | ✓ | ✓ | ✗ | ✗ |
| Bundled agent loop | ✗ (host's model drives) | ✗ | ✓ | ✗ |
npm install
npx playwright-core install chromium npm run build npm test
See CONTRIBUTING.md. All contributions under Apache-2.0.
Apache-2.0