camofox
Anti-detection browser MCP server for AI agents — navigate, interact, and automate the web without getting blocked
claude mcp add --transport stdio redf0x1-camofox-mcp npx -y camofox-mcp@latest \ --env CAMOFOX_URL="http://localhost:9377"
How to use
CamoFox MCP acts as a bridge between your AI agent and the CamoFox Browser Server, providing an MCP REST-style interface that lets your agent open tabs, navigate pages, extract data, and manage sessions with anti-detection features. The MCP server wraps the CamoFox Browser Server and exposes commands like create_tab, navigate_and_snapshot, list_profiles, and close_tab, enabling your agent to perform web automation while preserving human-like behavior. To use it, start the CamoFox browser server (via Docker, npx, or from source) and run the MCP client configured to connect to the browser URL (default http://localhost:9377). Then point your MCP client at the camofox-mcp instance, supply the CAMOFOX_URL environment variable, and begin sending MCP commands through your editor or agent interface. Typical workflows include verifying connectivity with server_status, creating a tab for a target URL, navigating and capturing content, and managing user session data like cookies and profiles. The integration supports features such as search engine macros, cookie import/export, CSS selector fallbacks, YouTube transcript extraction, and snapshot pagination for long pages.
How to install
Prerequisites:
- Node.js 18+ (recommended) or Docker for a zero-config setup
- Access to a running CamoFox Browser Server (via Docker, npx, or source build)
- An MCP-compatible client (VS Code Copilot, Claude Desktop, Cursor, or other MCP clients)
Option 1 — Docker (recommended for ease):
- Start the CamoFox Browser Server (running elsewhere): docker run -d -p 9377:9377 --name camofox-browser ghcr.io/redf0x1/camofox-browser:latest
- Run the MCP server container: docker run -i --rm -e CAMOFOX_URL=http://localhost:9377 ghcr.io/redf0x1/camofox-mcp:latest
Option 2 — npx (quick start, Node.js 18+ required):
- Start CamoFox Browser (in a terminal): npx camofox-browser@latest
- Start the MCP server (in another terminal or background): npx camofox-mcp@latest
- Verify the browser is reachable: curl http://localhost:9377/health
Option 3 — From Source (developers):
- Clone and run CamoFox Browser: git clone https://github.com/redf0x1/camofox-browser.git cd camofox-browser && npm install && npm run build && npm start
- Clone and build CamoFox MCP: git clone https://github.com/redf0x1/camofox-mcp.git cd camofox-mcp && npm install && npm run build
- Ensure CAMOFOX_URL is set (e.g., http://localhost:9377) and start your MCP client configured to connect to the MCP server.
Configuring the MCP client (examples):
- VS Code (Copilot): create .vscode/mcp.json with command: "npx", args: ["-y", "camofox-mcp@latest"], env: {"CAMOFOX_URL": "http://localhost:9377"}
- Claude Desktop: use mcpServers with command: "npx", args: ["-y", "camofox-mcp@latest"], env: {"CAMOFOX_URL": "http://localhost:9377"}
- Cursor: similar to Claude, in ~/.cursor/mcp.json
Verification prompt (example to paste into your agent): Verify my CamoFox MCP setup. Run these checks and report results:
- Call server_status — is the browser server connected?
- If connected: create_tab with url https://example.com
- navigate_and_snapshot on that tab (wait for text: "Example Domain")
- list_profiles to confirm profile storage is accessible
- close_tab for the test tab
Additional notes
Tips and common issues:
- Ensure CAMOFOX_URL is reachable from the MCP client; use 127.0.0.1 or hostnames as appropriate in your environment.
- When using Docker, make sure the browser server and MCP container can communicate on the same network or expose the correct host/ports.
- If server_status reports disconnected, restart the CamoFox Browser Server and then retry; verify that curl http://localhost:9377/health returns ok: true and browserConnected: true.
- For long-running automation, enable session persistence by importing cookies or maintaining login state across interactions as supported by the MCP server.
- Use the YouTube transcript and accessibility snapshot features to reduce token usage and improve data extraction efficiency.
Related MCP Servers
Overture
Overture is an open-source, locally running web interface delivered as an MCP (Model Context Protocol) server that visually maps out the execution plan of any AI coding agent as an interactive flowchart/graph before the agent begins writing code.
notebooklm -secure
Secure NotebookLM MCP Server - Query Google NotebookLM from Claude/AI agents with 14 security hardening layers
omega-memory
Persistent memory for AI coding agents
Amazing-Marvin
Model Context Provider for Amazing Marvin productivity app - Access your tasks, projects, and categories in AI assistants
fast -telegram
Telegram MCP Server and HTTP-MTProto bridge | Multi-user auth, intelligent search, file sending, web setup | Docker & PyPI ready
mcpx
Token-efficient MCP client: TypeScript schemas instead of JSON, LLM-friendly syntax, batch calls, TOON output. Built for Claude/GPT automations.