stealth-browser-mcp
Stealth browser automation for AI agents over MCP and the Chrome DevTools Protocol: navigation, network hooks, DOM extraction, and pixel-accurate UI cloning.
Install / Use
claude mcp add vibheksoni -- npx -y github:vibheksoni/stealth-browser-mcpIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of stealth-browser-mcp
stealth-browser-mcp scores 95/100 on our quality scale, 239th of 2,866 Automation skills we index (top 9%).
Its MCP Server is 24 KB long, well organised into 24 sections with 12 code examples: a thorough specification that gives an agent plenty to work with.
With 3,336 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated today, so stealth-browser-mcp is actively maintained.
- Our last check on 2026-10-17 found the source still online.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
stealth-browser-mcp compared with similar skills
All 4 of these similar skills score higher than stealth-browser-mcp; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| stealth-browser-mcp (this skill)by vibheksoni | 95 | 3.3k | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 109.2k | today | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.9k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 97.9k | today | MCP Server |
Frequently asked questions
- How do I install stealth-browser-mcp?
- Run
claude mcp add vibheksoni -- npx -y github:vibheksoni/stealth-browser-mcp. The install tabs above show the steps for each supported agent. - Which AI agents does stealth-browser-mcp work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is stealth-browser-mcp safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is stealth-browser-mcp still maintained?
- The repository was last updated today, so stealth-browser-mcp is actively maintained.
Skill content
View source on GitHubStealth Browser MCP
Stealth browser automation for MCP-compatible AI agents.
Navigate Cloudflare challenges, anti-bot checks, and login walls with real Chrome-family browser instances powered by nodriver, Chrome DevTools Protocol, and FastMCP.
</div>Sponsors
<table> <tr> <td align="center" width="50%"><a href="https://go.nodemaven.com/stealthbrowsermcpreadaugust"><img src="media/nodemaven-sponsor.png" alt="NodeMaven" width="100%"></a>
</td> <td align="center" width="50%"><a href="https://www.rapidproxy.io/?ref=mcp"><img src="media/rapidproxy-sponsor.png" alt="RapidProxy" width="100%"></a>
</td> </tr> <tr> <td valign="top">NodeMaven — The most efficient proxy provider for Web Scraping and Automation with the Highest Quality IP on the market.
Why NodeMaven?
- ZIP targeting
- 99.9% uptime
- IP filtering: all proxies have fraud score <97%
- No KYC required
- Unique free tools: Proxy Bandwidth Checker, Meta Tag Checker, IP Lookup and others!
Special codes for Stealth-browser-mcp users
STEALTHMCP35— 35% off to Mobile and Residential ProxiesSTEALTHMCP40— 40% off to ISP (Static) Proxies
RapidProxy powers scraping and automation with 90M+ residential IPs across 200+ countries, supporting rotation, geo-targeting, and high concurrency to improve success rates and reduce bans.
Get 500MB of free trial traffic, non-expiring bandwidth, and pricing as low as $0.55/GB.
Why RapidProxy?
- 90M+ clean residential IPs
- Sticky sessions for up to 180 minutes
- Geo-targeting by country and city
- Unlimited concurrent sessions
- Never-expiring traffic
Special offer
Use promo code RAPID10 for 10% off.
Sponsored placement. NodeMaven and RapidProxy are paid sponsors of this project.
Table of Contents
- Sponsors
- Demo
- Features
- Quickstart
- Agent Skill
- Trust Model
- Modular Architecture
- Server Configuration
- Toolbox
- Stealth vs Playwright MCP
- Troubleshooting
- Examples
- Showcase
- Roadmap
- Contributing
- Support
- License
Demo
<div align="center"> <img src="media/showcase-demo-full.gif" alt="Stealth Browser MCP demo" width="800" style="border-radius: 8px;"> <br><br> <a href="media/Showcase%20Stealth%20Browser%20Mcp.mp4" download> <img src="https://img.shields.io/badge/Watch%20HD%20Video-red?style=for-the-badge&logo=video&logoColor=white" alt="Watch HD Video"> </a> </div>Stealth Browser MCP passing a Cloudflare challenge, cloning UI elements, and inspecting network traffic through AI chat commands.
Features
- Anti-bot resistance - Has passed Cloudflare and Queue-It style challenges in testing; results vary by site, region, browser version, and detector version.
- 98 tools across 11 sections - From basic navigation to advanced CDP function execution.
- Modular loading - Run the full 98-tool surface or a minimal 21-tool core; disable sections you do not need.
- Pixel-accurate element cloning - Extract complete elements with CSS, DOM structure, events, animations, and assets via CDP.
- Network inspection - Inspect requests, responses, headers, payloads, and captured bodies through your AI agent.
- Dynamic hook system - Restricted Python hooks can intercept, block, redirect, fulfill, or modify request/response flows.
- CDP execution - Run JavaScript, direct CDP commands, and pre-document scripts through trusted local MCP clients.
- Instant text input - Paste large content via CDP, type with human-like keystrokes, or press real keys with trusted CDP key events.
- Cross-platform - Windows, macOS, Linux, Docker, and CI environments with automatic browser/platform detection.
- Browser support - Chrome, Chromium, and Microsoft Edge with automatic executable discovery.
- Clean MCP integration - Works through standard MCP clients without custom brokers.
Quickstart
1. Clone and install
Requires Python 3.10+ and Chrome, Chromium, or Microsoft Edge.
git clone https://github.com/vibheksoni/stealth-browser-mcp.git
cd stealth-browser-mcp
python -m venv venv
# Windows
venv\Scripts\activate
# macOS / Linux
source venv/bin/activate
pip install -r requirements.txt
2. Add to your MCP client
Claude Code CLI (recommended):
Windows:
claude mcp add-json stealth-browser-mcp "{\"type\":\"stdio\",\"command\":\"C:\\path\\to\\stealth-browser-mcp\\venv\\Scripts\\python.exe\",\"args\":[\"C:\\path\\to\\stealth-browser-mcp\\src\\server.py\"]}"
macOS / Linux:
claude mcp add-json stealth-browser-mcp '{
"type": "stdio",
"command": "/path/to/stealth-browser-mcp/venv/bin/python",
"args": ["/path/to/stealth-browser-mcp/src/server.py"]
}'
Replace the example path with your real clone path.
<details> <summary><strong>Manual JSON configuration (Claude Desktop, Cursor, etc.)</strong></summary>Windows (%APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"stealth-browser-mcp": {
"command": "C:\\path\\to\\stealth-browser-mcp\\venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\stealth-browser-mcp\\src\\server.py"],
"env": {}
}
}
}
macOS / Linux (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"stealth-browser-mcp": {
"command": "/path/to/stealth-browser-mcp/venv/bin/python",
"args": ["/path/to/stealth-browser-mcp/src/server.py"],
"env": {}
}
}
}
</details>
<details>
<summary><strong>Experimental FastMCP CLI install</strong></summary>
These commands are provided for users who prefer FastMCP's installer. The stdio JSON setup above is the recommended path.
pip install fastmcp
fastmcp install claude-desktop src/server.py --with-requirements requirements.txt
fastmcp install claude-code src/server.py --with-requirements requirements.txt
fastmcp install cursor src/server.py --with-requirements requirements.txt
</details>
3. Test it
Restart your MCP client and ask your agent:
Use stealth-browser to navigate to https://example.com and take a screenshot.
Agent Skill
This repo includes an agent skill at skills/stealth-browser-mcp for clients that support Codex-style skills. It teaches agents the recommended tool order, state checks, pre-document CDP script usage, network debugging flow, and browser cleanup rules.
Use the skill when an LLM struggles to choose the right MCP tool or forgets to verify browser state after actions. If your client does not load repo-local skills automatically, add or symlink skills/stealth-browser-mcp into your client skills directory.
Trust Model
This server exposes powerful local browser-control primitives: CDP execution, page JavaScript execution, cookie/storage access, network interception, dynamic hooks, header mutation, navigation, and file uploads from allowlisted local paths.
Treat the MCP client or agent as the security principal. The recommended deployment is local stdio transport with a trusted desktop MCP client. If you use HTTP transport, set STEALTH_BROWSER_MCP_AUTH_TOKEN and do not expose unauthenticated HTTP outside trusted local or private networks.
Modular Architecture
Choose exactly what functionality you need. Run the full 98-tool suite or strip it down to the 21-tool core.
| Mode | Tools | Use Case |
|------|-------|----------|
| Full (default) | 98 | Complete browser automation and debugging |
| Minimal (--minimal) | 21 | Core browser automation and interaction |
| Custom (--disable-*) | Your choice | Disable specific sections |
| Xpool safe (--xpool-safe) | 84 | Disable CDP function tools that trigger Runtime.enable |
python src/server.py --minimal
python src/server.py --disable-cdp-functions --disable-dynamic-hooks
python src/server.py --list-sections
python src/server.py --debug
python src/server.py --transport http --host 127.0.0.1 --port 8000
Use --debug or set STEALTH_BROWSER_DEBUG=1 to enable verbose server diagnostics on stderr. Normal MCP stdio runs stay quiet by default to avoid corrupting JSON-RPC transport output.
Available sections:
| Section | Tools | Description |
|---------|-------|-------------|
| browser-management | 8 | Core browser operations |
| element-interaction | 13 | Page interaction and manipulation |
| element-extraction | 9 | Element cloning and extraction |
| file-extraction | 9 | File-based extraction tools |
| network-debugging | 10 | Network monitoring and capture |
| cdp-functions | 14 | Chrome DevTools Protocol execution |
| progressive-cloning | 10 | Advanced element cloning |
| cookies-storage | 3 | Cookie management |
| tabs | 5 | Tab management |
| debugging | 7 | Debug and system tools |
| dynamic-hooks | 10 | AI-assisted network hooks |
Server Configuration
These are environment variables for the MCP server process. Set them in your shell, service manager, Docker environment, or MCP client env block.
| Variable | Default | Meaning |
|----------|---------|---------|
| STEALTH_BROWSER_MCP_AUTH_TOKEN | unset | Optional bearer token for HTTP transport. When set, HTTP clients must send Authorization: Bearer <token>. |
| MCP_AUTH_TOKEN | unset | Backward-compatible alias for STEALTH_BROWSER_MCP_AUTH_TOKEN. |
| BROWSER_IDLE_TIMEOUT | 600 | Global idle timeout in seconds before an unused browser instance is auto-closed. Set 0 to disable idle reaping globally. |
| BROWSER_IDLE_REAPER_INTERVAL | 60 | Background reaper check interval in seconds. |
| BROWSER_ORPHAN_PROFILE_MAX_AGE | 21600 | Startup cleanup threshold in seconds for stale uc_* temp profiles. Set 0 to disable this startup sweep. |
| BROWSER_FILE_UPLOAD_ALLOWED_DIRS | repo root | Directories that file_upload() may read from. Separate multiple roots with ; on Windows or : on macOS/Linux. |
| STEALTH_BROWSER_DEBUG | 0 | Enable verbose debug logging to stderr when set to 1. |
| DEBUG | 0 | Legacy alias for STEALTH_BROWSER_DEBUG. |
| XPOOL_SAFE_MODE | 0 | Disable the cdp-functions section at startup. |
| PORT | 8000 | Default HTTP port when --port is not provided. |
PowerShell example:
$env:STEALTH_BROWSER_MCP_AUTH_TOKEN='repl…[redacted]'
$env:BROWSER_IDLE_TIMEOUT='900'
$env:BROWSER_IDLE_REAPER_INTERVAL='30'
$env:BROWSER_ORPHAN_PROFILE_MAX_AGE='43200'
$env:BROWSER_FILE_UPLOAD_ALLOWED_DIRS='C:\Users\me\uploads;C:\Users\me\Documents'
python src/server.py
MCP client env block:
{
Truncated for display — read the full file on GitHub.
Related Skills
Agent-Reach
109.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.9kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
97.9k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
