camofox-mcp
Enables AI agents to control a CamoFox anti-detect browser via MCP tools, supporting navigation, clicking, typing, and more through a REST API wrapper.
README
camofox-mcp
MCP server for CamoFox — anti-detect browser automation for AI agents.
No local browser is launched. This is a thin MCP wrapper over the CamoFox REST API running elsewhere (Docker, remote server, etc.).
Why
CamoFox provides anti-detect browsing via Camoufox (Firefox fork with C++ fingerprint spoofing). This MCP server lets any MCP-compatible AI agent (OpenClaw, Claude Desktop, etc.) use it as a tool.
Quick Start
1. Start CamoFox server somewhere
# Docker (recommended)
docker run -p 9377:9377 jo-inc/camofox-browser
# Or standalone
git clone https://github.com/jo-inc/camofox-browser
cd camofox-browser && npm install && npm start
2. Run the MCP server
# With uvx (no install needed)
CAMOFOX_URL=http://your-server:9377 uvx camofox-mcp
# Or install and run
pip install camofox-mcp
CAMOFOX_URL=http://your-server:9377 camofox-mcp
3. Configure your MCP client
OpenClaw (mcporter)
mcporter config add camofox --stdio \
"CAMOFOX_URL=http://your-server:9377 CAMOFOX_USER=agent uvx camofox-mcp"
Claude Desktop / Cursor
{
"mcpServers": {
"camofox": {
"command": "uvx",
"args": ["camofox-mcp"],
"env": {
"CAMOFOX_URL": "http://your-server:9377",
"CAMOFOX_USER": "agent"
}
}
}
}
Environment Variables
| Variable | Default | Description |
|---|---|---|
CAMOFOX_URL |
http://localhost:9377 |
CamoFox server URL |
CAMOFOX_USER |
default |
User ID for session isolation |
CAMOFOX_TIMEOUT |
30 |
HTTP request timeout (seconds) |
Tools
| Tool | Description |
|---|---|
camofox_health |
Check server status |
camofox_navigate |
Open URL → get accessibility snapshot |
camofox_snapshot |
Get current page snapshot |
camofox_click |
Click element by ref (e1, e2…) |
camofox_type |
Type text into element |
camofox_press |
Press keyboard key |
camofox_scroll |
Scroll page (up/down/left/right) |
camofox_navigate_tab |
Navigate existing tab to new URL |
camofox_search |
Use search macro (@google_search, etc.) |
camofox_links |
Extract all links from page |
camofox_screenshot |
Take screenshot (returns file path) |
camofox_tabs |
List open tabs |
camofox_close |
Close a tab |
camofox_close_all |
Close all tabs |
camofox_back |
Browser history back |
camofox_forward |
Browser history forward |
Search Macros
@google_search · @youtube_search · @amazon_search · @reddit_search · @wikipedia_search · @twitter_search · @yelp_search · @spotify_search · @netflix_search · @linkedin_search · @instagram_search · @tiktok_search · @twitch_search
Architecture
AI Agent ←(MCP/stdio)→ camofox-mcp ←(REST/HTTP)→ CamoFox Server ←→ Camoufox Browser
The MCP server is stateless — all state lives in the CamoFox server. Multiple MCP clients can connect to the same CamoFox instance with different CAMOFOX_USER values for session isolation.
Security
- All user inputs (URLs, text, refs) are JSON-encoded — no shell interpolation
- Tab IDs are URL-encoded before use in paths
- No credentials are stored or transmitted beyond what CamoFox requires
- The MCP server never launches a browser — it only proxies to an existing CamoFox instance
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.