Stealth-Browser-MCP-Server
Provides a real Chrome fingerprint browser with 32 MCP tools for undetectable web automation, navigation, interaction, and data extraction.
README
Electron Stealth
Standalone desktop application — real Chrome fingerprint browser + MCP automation server.
Core value: Not a lightweight Playwright/Puppeteer wrapper. Real Electron Chromium browser with navigator.webdriver = false, real window.chrome, 5 plugins, fingerprint identical to normal Chrome.
Quick Start
1. Launch the app
# From source:
npm start
# Or double-click the built executable:
# dist/ElectronStealth-1.0.0.exe (Windows portable, no install needed)
- Browser window opens, showing the status page
- TCP MCP server starts on
127.0.0.1:19999 - Window title shows connection status
2. Use with Claude Code (recommended)
Configure ~/.claude.json:
"mcpServers": {
"electron-stealth": {
"command": "node",
"args": ["src/bridge.js"],
"cwd": "<path-to-electron-stealth>"
}
}
Restart Claude Code. Then use 32 MCP tools directly:
Open https://example.com
Screenshot
Get page HTML
Click [data-testid="submit-btn"]
Type test@example.com in input[name="email"]
3. Direct TCP access (without Claude Code)
# Run the example extraction script:
node scripts/extract_product.js
# Or write your own client connecting to 127.0.0.1:19999
Architecture
┌─────────────────┐ stdio ┌──────────────┐ TCP :19999 ┌────────────────────┐
│ Claude Code │ ←───────────→ │ bridge.js │ ←───────────────→ │ Electron Stealth │
│ (MCP client) │ │ (Node.js) │ │ (Chromium + MCP) │
└─────────────────┘ └──────────────┘ └────────────────────┘
│
├─ BrowserWindow (visible)
├─ CDP debugger (stealth injection)
├─ TCP MCP Server
└─ BrowserController (32 tools)
Why not stdio direct?
On Windows, Electron GUI apps cannot reliably communicate with the parent process via stdio (ELECTRON_NO_ATTACH_CONSOLE disconnects pipes). bridge.js solves this: it runs as a pure Node.js process connected to Claude Code's stdio, then forwards to the Electron app via TCP.
All 32 Tools
| Category | Tool | Description |
|---|---|---|
| Navigation | navigate |
Open URL |
go_back |
Navigate back | |
go_forward |
Navigate forward | |
reload |
Reload page | |
| Interaction | click |
Click by CSS selector |
click_xy |
Click by coordinates | |
type |
Type text (optional selector focus) | |
type_xy |
Click at coords then type | |
keypress |
Key press (supports Ctrl/Alt/Shift/Meta) | |
scroll |
Scroll page | |
mousemove |
Move mouse | |
| Reading | screenshot |
Screenshot (viewport or full page) → base64 PNG |
screenshot_element |
Element screenshot | |
evaluate |
Execute JS, return result | |
get_html |
Get complete HTML | |
get_text |
Get visible text | |
get_url |
Get current URL | |
snapshot |
Structured snapshot of interactive elements | |
element_info |
Detailed single-element info | |
| Forms | select_option |
Select dropdown option (value or label) |
upload_file |
Upload files | |
handle_dialog |
Handle alert/confirm/prompt | |
| Wait | wait |
Wait for time or selector appearance |
wait_for_network |
Wait for network idle | |
| Capture | network_capture_start |
Start capturing requests/responses |
network_capture_stop |
Stop and return captured data | |
network_get_response |
Get response body for a request | |
| Record | record_start |
Start recording actions (key-value selectors) |
record_stop |
Stop recording, return Flow JSON | |
record_status |
Check recording status | |
| Flow | run_flow |
Execute recorded/hand-written Flow, supports {{VAR}} |
Stealth Detection
| Check | Status |
|---|---|
navigator.webdriver |
false |
window.chrome |
Real object |
navigator.plugins |
5 |
navigator.platform |
Win32 |
navigator.languages |
Configured |
| Chrome PDF Plugin | Present |
| Permissions.query('notifications') | prompt |
Flow Recording
# 1. Start recording
record_start
# 2. Perform actions (manual browser or MCP)
click [data-testid="login-btn"]
type user@test.com in input[name="email"]
type password123 in input[type="password"]
# 3. Stop recording, get Flow JSON
record_stop name="Login Flow"
# 4. Replay anytime
run_flow flow={...}
Recording uses key-value selector priority: data-testid > id > name > aria-label > placeholder > title > text > class > role > type. Coordinate-independent, stable across window sizes.
Network Capture
network_capture_start
navigate https://target-site.com
wait_for_network timeout=10000 idleTime=500
data = network_capture_stop()
# data.summary.xhrApiCalls → API call list
# data.summary.byDomain → Domain distribution
Build
npm install
npm run build:portable
# Output: dist/ElectronStealth-1.0.0.exe (~73MB, single file, portable)
On macOS/Linux, adjust the build.win.target in package.json to your platform.
Troubleshooting
| Issue | Solution |
|---|---|
| Page shows garbled text/CSS | Confirm latest version (base64-encoded fix) |
| Port in use | Close all Electron Stealth windows, or kill the process |
| MCP tools not visible | Restart Claude Code to load MCP config |
| Need Playwright Chromium? | No! Electron Stealth has its own Chromium |
| Blocked by anti-bot? | Uses real Chrome fingerprint, usually not blocked |
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。