camoufox-reverse-mcp
An anti-detection browser MCP server designed for JavaScript reverse engineering through the Camoufox engine. It enables AI assistants to perform dynamic debugging, function hooking, and network interception while bypassing sophisticated bot detection mechanisms.
README
camoufox-reverse-mcp
Anti-detection browser MCP server for JavaScript reverse engineering.
An MCP (Model Context Protocol) server that gives AI coding assistants (Claude Code, Cursor, Cline, etc.) the ability to perform JavaScript reverse engineering through the Camoufox anti-detection browser — including API parameter analysis, JS source analysis, dynamic debugging, function hooking, network interception, and cookie/storage management.
Why Camoufox?
| Feature | chrome-devtools-mcp | camoufox-reverse-mcp |
|---|---|---|
| Browser Engine | Chrome (Puppeteer) | Firefox (Camoufox) |
| Anti-Detection | None | C++ engine-level fingerprint spoofing |
| Debug Capability | Limited (no breakpoints) | Playwright + JS Hook |
Core Advantages:
- Camoufox modifies fingerprint information at the C++ engine level, not JS patches
- Juggler protocol sandbox isolation makes Playwright completely undetectable by page JS
- BrowserForge generates fingerprints based on real-world traffic distribution
- Works on sites with strong bot detection: Rui Shu, GeeTest, Cloudflare, etc.
Quick Start
Option 1: Install via AI Chat (Recommended)
Paste the following into your AI coding tool's chat (Cursor / Claude Code / Codex, etc.):
Please configure camoufox-reverse-mcp and refer to this MCP for related operations: https://github.com/WhiteNightShadow/camoufox-reverse-mcp
The AI will automatically clone, install dependencies, and configure the MCP server.
Option 2: Manual Installation
1. Clone the repository
git clone https://github.com/WhiteNightShadow/camoufox-reverse-mcp.git
cd camoufox-reverse-mcp
2. Install dependencies
pip install -e .
Or with uv:
uv pip install -e .
3. Configure your AI tool
Add the MCP server config to your tool's configuration file (see "Client Configuration" below).
Usage
As MCP Server (stdio)
python -m camoufox_reverse_mcp
With options:
python -m camoufox_reverse_mcp \
--proxy http://127.0.0.1:7890 \
--geoip \
--humanize \
--os windows
CLI Options
| Option | Description | Default |
|---|---|---|
--proxy |
Proxy server URL | None |
--headless |
Headless mode | false |
--os |
OS fingerprint (windows/macos/linux) | windows |
--geoip |
Infer geolocation from proxy IP | false |
--humanize |
Humanized mouse movement | false |
--block-images |
Block image loading | false |
--block-webrtc |
Block WebRTC | false |
Client Configuration
<details> <summary><b>Cursor (.cursor/mcp.json)</b></summary>
{
"mcpServers": {
"camoufox-reverse": {
"command": "python",
"args": ["-m", "camoufox_reverse_mcp"]
}
}
}
</details>
<details> <summary><b>Claude Code</b></summary>
{
"mcpServers": {
"camoufox-reverse": {
"command": "python",
"args": ["-m", "camoufox_reverse_mcp", "--headless"]
}
}
}
</details>
<details> <summary><b>Claude Code (with proxy)</b></summary>
{
"mcpServers": {
"camoufox-reverse": {
"command": "python",
"args": [
"-m", "camoufox_reverse_mcp",
"--proxy", "http://127.0.0.1:7890",
"--geoip",
"--humanize"
]
}
}
}
</details>
Available Tools (44)
Navigation & Page
launch_browser— Launch Camoufox with anti-detection configclose_browser— Close browser and release resourcesnavigate— Navigate to URLreload/go_back— Reload / go backtake_screenshot/take_snapshot— Screenshot / accessibility treeclick/type_text— Click / type into elementswait_for— Wait for element or URL patternget_page_info— Get current page info
Script Analysis (Reverse Engineering Core)
list_scripts— List all loaded JS scriptsget_script_source— Get full JS source codesearch_code— Search keyword across all scriptssave_script— Save JS file locallyget_page_html— Get page HTML
Debugging (Reverse Engineering Core)
evaluate_js— Execute arbitrary JS in page contextevaluate_js_handle— Execute JS and inspect complex objectsadd_init_script— Inject scripts that run before page JSset_breakpoint_via_hook— Set pseudo-breakpoints via JS hooksget_breakpoint_data— Get captured breakpoint dataget_console_logs— Get page console output
Hooking (Reverse Engineering Core)
trace_function— Trace function calls without pausingget_trace_data— Get collected trace datahook_function— Inject custom hook code (before/after/replace)inject_hook_preset— One-click preset hooks (xhr/fetch/crypto/websocket/debugger_bypass)remove_hooks— Remove all hooks
Network Analysis (Reverse Engineering Core)
start_network_capture/stop_network_capture— Capture network trafficlist_network_requests— List captured requests with filtersget_network_request— Get full request detailsget_request_initiator— Get JS call stack that initiated a requestintercept_request— Intercept: log / block / modify / mockstop_intercept— Stop interception
Storage Management
get_cookies/set_cookies/delete_cookies— Cookie managementget_storage/set_storage— localStorage / sessionStorageexport_state/import_state— Save / restore browser state
Fingerprint & Anti-Detection
get_fingerprint_info— Inspect current browser fingerprintcheck_detection— Test anti-detection on bot detection sitesbypass_debugger_trap— Bypass anti-debugging traps
License
MIT
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。