redf0x1

๐ŸฆŠ CamoFox MCP

Community redf0x1
Updated

Anti-detection browser MCP server for AI agents โ€” navigate, interact, and automate the web without getting blocked

๐ŸฆŠ CamoFox MCP

The anti-detection browser MCP server for AI agents. Navigate, interact, and automate the web without getting blocked.

CInpm versionLicense: MITTypeScriptNode.jsMCP

Why CamoFox MCP?

AI agents using Playwright get blocked constantly. CAPTCHAs, fingerprint detection, IP bans โ€” the web fights back against automation.

CamoFox MCP wraps the CamoFox anti-detection browser as an MCP server, giving your AI agent:

  • ๐Ÿ›ก๏ธ Anti-detection fingerprinting โ€” Each tab gets a unique, human-like browser fingerprint
  • โšก Fast, token-efficient snapshots โ€” Accessibility tree snapshots use 90% fewer tokens than screenshots
  • ๐Ÿ” Built-in search โ€” Search Google, YouTube, Amazon + 11 more engines without getting blocked
  • ๐Ÿช Session persistence โ€” Import cookies, maintain login state across interactions
  • ๐ŸŽฏ CSS selector fallback โ€” Target elements even when accessibility refs aren't available

CamoFox MCP vs Playwright MCP

Feature CamoFox MCP Playwright MCP
Anti-detection fingerprinting โœ… โŒ
Passes bot detection tests โœ… โŒ
Search engine macros (14 engines) โœ… โŒ
Accessibility snapshots โœ… โœ…
Cookie import/export โœ… Limited
Headless support โœ… โœ…
Setup complexity Medium Easy
Token efficiency High High

CamoFox MCP vs Other Camoufox MCPs

Feature CamoFox MCP whit3rabbit/camoufox-mcp baixianger/camoufox-mcp
Tools 22 1 33
Architecture REST API client Direct browser Direct browser
Session persistence โœ… โŒ (destroyed per request) โœ…
Token efficiency High (snapshots) Low (raw HTML) High (snapshots)
Search macros โœ… (14 engines) โŒ โŒ
CSS selector fallback โœ… โŒ โŒ
Active maintenance โœ… โŒ (stale 8mo) โœ…
Press key support โœ… โŒ โœ…

Quick Start

1. Install CamoFox Browser

Download from CamoFox releases and start:

./camofox-browser   # Starts on port 9377

2. Configure MCP Client

VS Code / Cursor (Recommended)

Add to your MCP settings (settings.json or .vscode/mcp.json):

{
  "servers": {
    "camofox": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "camofox-mcp@latest"],
      "env": {
        "CAMOFOX_URL": "http://localhost:9377"
      }
    }
  }
}
Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "camofox": {
      "command": "npx",
      "args": ["-y", "camofox-mcp@latest"],
      "env": {
        "CAMOFOX_URL": "http://localhost:9377"
      }
    }
  }
}
From Source (Development)
git clone https://github.com/redf0x1/camofox-mcp.git
cd camofox-mcp
npm install && npm run build

Then configure:

{
  "servers": {
    "camofox": {
      "type": "stdio",
      "command": "node",
      "args": ["/path/to/camofox-mcp/dist/index.js"],
      "env": {
        "CAMOFOX_URL": "http://localhost:9377"
      }
    }
  }
}

Tools (22)

Tab Management

Tool Description
create_tab Create a new tab with anti-detection fingerprinting
close_tab Close a tab and release resources
list_tabs List all open tabs with URLs and titles

Navigation

Tool Description
navigate Navigate to a URL, waits for page load
go_back Browser back button
go_forward Browser forward button
refresh Reload current page

Interaction

Tool Description
click Click element by ref (from snapshot) or CSS selector
type_text Type text into input fields by ref or CSS selector
press_key Press keyboard keys (Enter, Tab, Escape, etc.)
scroll Scroll page up or down by pixel amount

Observation

Tool Description
snapshot Get accessibility tree โ€” PRIMARY way to read pages. Token-efficient
screenshot Take visual screenshot as base64 PNG
get_links Get all hyperlinks with URLs and text

Search

Tool Description
web_search Search via 14 engines: Google, YouTube, Amazon, Bing, DuckDuckGo, Reddit, GitHub, StackOverflow, Wikipedia, Twitter, LinkedIn, Facebook, Instagram, TikTok

Session

Tool Description
import_cookies Import cookies for authenticated sessions
get_stats Get session statistics and performance metrics
server_status Check CamoFox server health and connection

Configuration

Environment Variables

Variable Default Description
CAMOFOX_URL http://localhost:9377 CamoFox server URL
CAMOFOX_TIMEOUT 30000 Request timeout in ms
CAMOFOX_API_KEY โ€” API key (if CamoFox requires auth)

Architecture

AI Agent (Claude, GPT, etc.)
       โ”‚
       โ”‚ MCP Protocol (stdio)
       โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  CamoFox MCP    โ”‚  โ† This package
โ”‚  (TypeScript)   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚
         โ”‚ REST API (HTTP)
         โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  CamoFox Server โ”‚  โ† Anti-detection browser
โ”‚  (Port 9377)    โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚
         โ”‚ Browser Engine
         โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  Camoufox       โ”‚  โ† Firefox-based, fingerprint spoofing
โ”‚  (Firefox)      โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

How It Works

  1. Your AI agent sends MCP tool calls (e.g., create_tab, navigate, snapshot)
  2. CamoFox MCP translates these into REST API calls to the CamoFox server
  3. CamoFox server manages a Camoufox browser with anti-detection features
  4. Each tab gets a unique fingerprint โ€” different user agent, screen size, WebGL, fonts, etc.
  5. Websites see what appears to be a normal human browser, not automation

Anti-Detection Features

CamoFox (via Camoufox) provides:

  • โœ… Unique browser fingerprint per tab
  • โœ… Human-like user agent rotation
  • โœ… WebGL fingerprint spoofing
  • โœ… Canvas fingerprint protection
  • โœ… Screen resolution randomization
  • โœ… Font enumeration protection
  • โœ… Navigator properties masking
  • โœ… Timezone/locale consistency

Contributing

Contributions are welcome! Please open an issue or submit a PR.

License

MIT

Acknowledgments

MCP Server ยท Populars

MCP Server ยท New

    snyk

    mcp-scan

    Security scanner for AI agents, MCP servers and agent skills.

    Community snyk
    resend

    Email sending MCP ๐Ÿ’Œ

    The official MCP server to send emails and interact with Resend

    Community resend
    screenpipe

    [ screenpipe ]

    screenpipe turns your computer into a personal AI that knows everything you've done. record. search. automate. all local, all private, all yours.

    Community screenpipe
    screenpipe

    [ screenpipe ]

    screenpipe turns your computer into a personal AI that knows everything you've done. record. search. automate. all local, all private, all yours.

    Community screenpipe
    kfastov

    tgcli

    Telegram user console client and archiver

    Community kfastov