# camoufox-mcp

Automates browser tasks through a stealth Firefox instance with bot detection evasion. Helps assistants browse sites and handle isolated profiles.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 7
- Author: baixianger
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/baixianger/camoufox-mcp
- Updated: 2026-02-20
- HTML: https://affpapa.org/en/nevibecode/mcp/camoufox-mcp

## What it 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.

## Requirements
- Needs: Node.js (commands run via npx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add camoufox-mcp -- npx -y camoufox-mcp
```

### Codex

**Platform CLI**
```bash
codex mcp add camoufox-mcp -- npx -y camoufox-mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "camoufox-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "camoufox-mcp"
            ]
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "camoufox-mcp": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "camoufox-mcp"
            ]
        }
    }
}
```

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add camoufox-mcp npx -y camoufox-mcp
```

## When to use it
- 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
- Navigate to `https://example.com` and extract all text content
- Create a new session using `github-cookies.json` and open the repository
- Fill out the login inputs on the active page and click submit

## Similar
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32260
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23283
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13181
- [apify-mcp-server](https://affpapa.org/en/nevibecode/mcp/apify-mcp-server.md) — MCP server · ★ 13345

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
