CamoFox MCP

CamoFox MCP

camofox-mcp•byredf0x1

An MCP server that gives AI agents a practical browser automation toolset, relying on a separately run camofox-browser server for Camoufox-based anti-detection behavior.

License: MIT•Runtime: Awaiting documentation review•Category: browser automation

WHAT IT DOES

  • •Offers 53 browser automation tools spanning navigation, interaction, observation, search, downloads, sessions, network capture, and batch workflows.
  • •Supports multi-tab workflows with tracked state, history, and cleanup.
  • •Provides token-efficient accessibility snapshots with CSS-selector fallbacks for difficult SPA flows.
  • •Offers session persistence with cookie import, saved profiles, and optional auto-save.

BEST FOR

  • •Agents that need scripted browser navigation and interaction through an MCP client.
  • •Remote MCP clients that require an HTTP transport rather than stdio.
  • •Capturing network request metadata and exporting HAR files during browsing.

ABOUT CAMOFOX-MCP

CamoFox MCP is cataloged as an MCP server attributed to redf0x1. An MCP server that gives AI agents a practical browser automation toolset, relying on a separately run camofox-browser server for Camoufox-based anti-detection behavior. It is categorized under browser automation. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for CamoFox MCP are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does CamoFox MCP include the browser itself?

No. CamoFox MCP is not a standalone browser; a compatible camofox-browser server must be run separately.

Can I use a custom search engine with web search?

Yes, set CAMOFOX_SEARCH_URL_TEMPLATE in the MCP server environment with an absolute HTTP(S) URL containing one {query} placeholder, then call web_search with engine set to custom.

上游原版 README

在 GitHub 查看同一版本原文

README.md · a6f7337f75ef · 采集于 2026-11-13 11:13:34 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

CamoFox MCP

AI-powered anti-detection browser automation for MCP-compatible AI agents.

CamoFox MCP connects MCP clients such as Claude Desktop, VS Code, Cursor, and OpenClaw to the CamoFox browser server. It gives agents a practical browser toolset for navigation, interaction, search, extraction, downloads, and session reuse while relying on Camoufox-based anti-detection behavior underneath.

Key Features

  • 53 browser automation tools across navigation, interaction, observation, search, downloads, sessions, network capture, and batch workflows.
  • Anti-detection browser automation built on top of the CamoFox browser server and Camoufox.
  • Multi-tab workflows with tracked state, history, and cleanup.
  • Session persistence with cookie import, saved profiles, and optional auto-save.
  • Token-efficient accessibility snapshots with CSS-selector fallbacks for difficult SPA flows.
  • OpenClaw-compatible HTTP transport, plus standard stdio support for desktop MCP clients.

Quick Install

You need both components running:

  1. camofox-browser handles the anti-detection browser.
  2. camofox-mcp exposes that browser to your MCP client.

Option A: npx + stdio

Start the browser server:

npx camofox-browser@latest

Add CamoFox MCP to your MCP client:

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

Option B: Docker

Start the browser server:

docker run -d -p 9377:9377 --name camofox-browser ghcr.io/redf0x1/camofox-browser:latest

Run CamoFox MCP in HTTP mode for remote MCP clients such as OpenClaw:

docker run -p 3000:8080 --rm \
  -e CAMOFOX_TRANSPORT=http \
  -e CAMOFOX_HTTP_HOST=0.0.0.0 \
  -e CAMOFOX_HTTP_API_KEY=replace-with-32-plus-random-chars \
  -e CAMOFOX_URL=http://host.docker.internal:9377 \
  ghcr.io/redf0x1/camofox-mcp:latest node dist/http.js

Configure your HTTP MCP client to connect to http://localhost:3000/mcp with Authorization: Bearer replace-with-32-plus-random-chars.

Full client configuration examples live in docs/getting-started.md.

Quick Verify

Use camofox-browser 2.4.7 or newer. Browser 2.4.7 adds the supported Windows x64 headless portable distribution and hardens session-scoped navigation recovery without changing the MCP-facing REST request shapes used here. Browser 2.4.6 pins the Camoufox-compatible Playwright protocol dependency for fresh installs, 2.4.5 adds explicit browser auth modes including CAMOFOX_AUTH_MODE=disabled for trusted private agent networks, and 2.4.4 fixes the persistent-context cold-start about:blank page reuse path.

Verify the browser server is reachable:

curl -fsS http://localhost:9377/health

Expected response includes "ok":true and "running":true. On a cold server with no active tabs yet, browserConnected can be false; create a tab to start a browser session.

Tool Categories

CategoryTool countDocs
Health1Health
Tabs3Tabs
Navigation4Navigation
Interaction8Interaction
Observation8Observation
Search1Search
Session4Session
Profiles4Profiles
Downloads3Downloads
Extraction4Extraction
Batch workflows6Batch
Presets1Presets
Network capture6Network capture

Network capture

Network capture requires camofox-browser 2.5.0 or newer. Older compatible browser versions remain usable for ordinary tools without networkCapture.

Use create_tab with networkCapture: {} to record metadata from the initial navigation. For a session-wide capture, set networkCapture.scope to session, then reuse the returned session key and pass the capture key as networkCapture.joinKey when creating additional tabs. To start recording later, create the tab with networkCapture.start set to false and call network_capture_start.

Use network_list_requests with nextCursor as the next after value, and network_get_response for one request's metadata. Call network_capture_stop before network_export_har for a stable export. Keep an enrolled tab open until the export finishes.

If the browser enables body capture, set networkCapture.captureBodies to true at creation and use includeBody: true with network_get_response.

Use network_intercept to replace exact-match fetch/XHR abort or static mock rules on an active tab capture. The browser operator must configure CAMOFOX_API_KEY and enable CAMOFOX_NETWORK_INTERCEPTION=true.

See the network tool reference for all six tools, opt-in settings, and interception limits.

The browser server must advertise network capture support. The networkKey returned by create_tab grants access to that capture and may appear in tool transcripts. Keep it private, and avoid forwarding capture results to untrusted recipients. Exports may contain application-specific URL paths.

Top Limitations

  • CamoFox MCP is not a standalone browser. You must run a compatible camofox-browser server separately.
  • MCP can share the camofox CLI default browser profile/context when create_tab uses userId: "cli-default" and sessionKey: "default", but it cannot reliably attach to a tab the CLI already opened. Importing/adopting existing CLI tabs is a future feature.
  • Headed browser window size follows browser viewport/display-size behavior. Pass viewport, for example { "width": 1366, "height": 768 }, or set CAMOFOX_VIEWPORT=1366x768 / --viewport 1366x768 for a default new-tab size. Supported defaults use width 320..3840 and height 240..2160.
  • On Windows x64, camofox-browser 2.4.7 supports the portable distribution in headless=true mode. Headed and virtual-display modes remain unsupported on Windows; toggle_display will reject those modes there.
  • Accessibility-tree refs are the primary interaction model, but SPA and custom-component sites can require CSS selectors or rendered HTML tools.
  • If the browser server enforces authentication, API-key-gated operations need the same CAMOFOX_API_KEY on both sides.
  • For trusted private-network browser deployments using CAMOFOX_AUTH_MODE=disabled, leave CAMOFOX_API_KEY unset in CamoFox MCP. MCP then sends no outbound browser auth headers. Keep both browser and MCP access on a trusted private network.
  • If HTTP transport is exposed beyond loopback, set CAMOFOX_HTTP_API_KEY and require clients to send it as a Bearer token.
  • HTTP transport is mainly for remote MCP clients. Desktop MCP clients usually work best with stdio configuration.

Security

Treat this as a browser control surface. In shared or networked environments, isolate the browser server, avoid exposing MCP endpoints broadly, and use CAMOFOX_HTTP_API_KEY for inbound HTTP MCP clients plus CAMOFOX_API_KEY when the browser server requires authentication. If the browser server runs CAMOFOX_AUTH_MODE=disabled, leave CAMOFOX_API_KEY unset and keep that browser endpoint on a trusted private network. Session profiles can contain sensitive cookies and should be stored accordingly.

Documentation

Start at docs/README.md for the documentation hub, then use docs/getting-started.md for setup, verification, and first workflow examples.

Contributing + License

See CONTRIBUTING.md for contribution guidelines, SECURITY.md for private vulnerability reporting, and LICENSE for the MIT license.

Custom search engines

Set CAMOFOX_SEARCH_URL_TEMPLATE in the MCP server environment, for example https://search.example/search?q={query}&language=en, then call web_search({ tabId: "tab_123", query: "café & tea", engine: "custom" }). For SearXNG, use your instance's /search?q={query} URL. Restart MCP after changing its environment. Google remains the default; the 14 browser macros are unchanged.

The template must be an absolute HTTP(S) URL with exactly one literal {query} in its path or query, never its host, credentials, or fragment. Credentials in URLs are rejected. The query is percent-encoded once, including Unicode and &. Invalid configuration fails startup without reflecting the URL or its tokens; custom without configuration returns an actionable error (no fallback).

Custom search uses ordinary browser navigate, then snapshot, not a new macro or a direct MCP HTTP fetch to the search engine. Browser URL validation and existing private-network/SSRF policy remain authoritative, including redirects. Self-hosted or private SearXNG requires the browser's existing network policy to allow it; this setting does not grant access or weaken that policy. Do not store secrets in search URLs: navigated URLs can appear in tool output, browser history and logs.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for CamoFox MCP from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/camofox-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related browser automation MCP Servers

Alternative and complementary servers in the same category

View all in browser automation →

A Model Context Protocol (MCP) server for controlling Chrome with debugging capabilities, userscript injection, and extension support.

Repository stats unavailable
Browser & Scraping
Web Browser MCP Server
web-browser-mcp-server•blazickjp

An MCP server that lets AI assistants browse websites and extract content using optional CSS selectors.

Repository stats unavailable
Browser & Scraping
Steel MCP Server
steel-mcp-server•steel-dev

An MCP server that reads pages, fills forms, takes screenshots, and hands the browser to a person for logins or CAPTCHAs.

Repository stats unavailable
Browser & Scraping