camoufox-mcp — Claude Code MCP server: what it does, how to install
Automates browser tasks through a stealth Firefox instance with bot detection evasion. Helps assistants browse sites and handle isolated profiles.
claude mcp add camoufox-mcp -- npx -y camoufox-mcpWhat camoufox-mcp does
The server controls Camoufox, an anti-detection Firefox build that downloads around 150 MB on its first launch. It shields against WebRTC leaks and replaces instant cursor jumps with humanized mouse trajectories. Node.js 18.0.0 or higher must be available in your system path.
Its tools separate profile isolation from direct page interactions. With create_session and inject_context, the agent loads saved cookies or localStorage files using Playwright context formats. The server also handles HTTP traffic recording, page screenshots, framework state extraction for Next.js, and automatic cookie consent dismissal.
What it helps with
- bypass anti-bot protections during automated web scraping
- run separate authenticated accounts simultaneously in isolated sessions
- capture and inspect outgoing browser network calls
- dismiss cookie banner popups across web pages automatically
Example prompts for the agent
- Navigate to
https://example.comand extract all text content - Create a new session using
github-cookies.jsonand open the repository - Fill out the login inputs on the active page and click submit
How to install camoufox-mcp
Platform CLI
claude mcp add camoufox-mcp -- npx -y camoufox-mcpPlatform CLI
codex mcp add camoufox-mcp -- npx -y camoufox-mcpConfig file
{
"mcpServers": {
"camoufox-mcp": {
"command": "npx",
"args": [
"-y",
"camoufox-mcp"
]
}
}
}Config file
{
"servers": {
"camoufox-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"camoufox-mcp"
]
}
}
}Platform CLI
gemini mcp add camoufox-mcp npx -y camoufox-mcpStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about camoufox-mcp
How to install camoufox-mcp in Claude Code?
Run claude mcp add camoufox-mcp -- npx -y camoufox-mcp in your terminal.
What does camoufox-mcp do?
It connects an AI coding agent to an anti-detection Firefox browser for automated web navigation, form filling, and scraping.
What prerequisites are needed to run this server?
Node.js 18.0.0 or newer is required. The dedicated Firefox browser downloads on demand, taking roughly 150 MB of disk space.