Camoufox MCP Server
Camoufox MCP Server provides privacy-focused Camoufox browser automation through MCP for navigating sites, extracting bounded page data, diagnosing behavior, and managing isolated browser sessions.
Check server, browser, queue, session, and network-security policy status without launching a page.
Browse a URL and return bounded text, HTML, metadata, screenshots, links, forms, headings/landmarks, or text matches.
Run bounded selector action sequences such as click, hover, fill, type, select, press, wait, scroll, and evaluate.
Capture screenshots and collect bounded console or network diagnostics.
Start short-lived isolated browser sessions, then navigate, act, snapshot, resume after human/CAPTCHA action, and close them.
Configure OS spoofing, locale, geoIP, proxy, viewport/window, headless mode, humanization, stealth profiles, wait strategy, timeouts, and output limits.
Block images, WebGL, WebRTC, or COOP when needed and optionally enable caching.
Handle CAPTCHA/bot challenges with detect, pause, fail, or attempt policies and related challenge metadata/playbooks.
Apply privacy/security controls including SSRF/private-host restrictions, unsafe-option gating for args/prefs/addons, and bounded/truncated outputs.
Provides stealthy browser automation using a specialized Firefox fork with advanced anti-detection, custom preferences, and fingerprint spoofing capabilities.
Allows for the blocking of WebGL to prevent hardware-based browser fingerprinting and enhance user privacy during automated sessions.
Enables blocking of WebRTC to protect user identity by preventing IP address leaks while browsing.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Camoufox MCP Server Visit news.ycombinator.com and summarize the top stories"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Camoufox MCP Server
An MCP (Model Context Protocol) server that provides browser automation capabilities using Camoufox, a privacy-focused Firefox fork with advanced anti-detection features.
Quick Install
Use the published npm package unless you are developing this repository locally.
Tell your LLM
Install camoufox-mcp and the skill using this URL: https://raw.githubusercontent.com/whit3rabbit/camoufox-mcp/refs/heads/main/llms.txtClaude Code CLI
claude mcp add camoufox -- npx -y camoufox-mcp-server@latestFor a shared project-scoped Claude Code config:
claude mcp add --scope project camoufox -- npx -y camoufox-mcp-server@latestVerify with /mcp inside Claude Code.
Codex CLI
codex mcp add camoufox -- npx -y camoufox-mcp-server@latestCodex stores MCP servers in ~/.codex/config.toml by default. Verify with /mcp inside Codex.
Agent Skill and Plugin Bundle
Use these when you want the camoufox skill plus the packaged MCP server config. If you only need the MCP server, use the Claude Code or Codex MCP commands above. Bare npx -y camoufox-mcp-server@latest remains safe by default. The packaged plugin bundle enables CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS=1 so the skill can use firefox_user_prefs, args, and exclude_addons for hard-site tuning.
OpenClaw
Register the MCP server directly. This works today with no registry publish (--arg
is singular and repeatable; the --env flag enables the unsafe-option tuning):
openclaw mcp add camoufox --command npx --arg -y --arg camoufox-mcp-server@latest --env CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS=1
openclaw mcp listOpenClaw exposes the tools with provider-safe names such as camoufox__browse.
Or install the published ClawHub bundle (skill + MCP config in one step):
openclaw plugins install clawhub:@whit3rabbit/camoufox-mcp
openclaw plugins inspect camoufox
openclaw plugins doctor
openclaw gateway restartClaude Code
Install the plugin from this repo's marketplace:
/plugin marketplace add whit3rabbit/camoufox-mcp
/plugin install camoufox@camoufox-mcpRestart Claude Code or start a new session after installing.
Codex
Install the plugin from this repo's marketplace:
codex plugin marketplace add whit3rabbit/camoufox-mcp
codex plugin add camoufox@camoufox-mcpRestart Codex or start a new thread after installing.
Hermes
Two commands: install the skill, then register the MCP server (Hermes skill installs do not auto-register MCP servers).
hermes skills install whit3rabbit/camoufox-mcp/plugins/camoufox/skills/camoufox
printf "Y\n" | hermes mcp add camoufox --command npx --env CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS=1 --args -y camoufox-mcp-server@latestHermes TTY Gotcha:
hermes mcp addinteractively prompts"Enable all 17 tools? [Y/n/select]". On a non-TTY (piped/scripted inputs), the default response is"n"(canceled). PipeY\nas shown above to enable tools automatically.
Do not run hermes plugins install … for this repo. Hermes plugins are Python
packages with a root plugin.yaml; this repo has neither, so it clones but is rejected
as "not a valid plugin." Use the two commands above.
Hermes treats --args as plain argv tokens and it must be the last option. Do not pass a
JSON array string there. In ~/.hermes/config.yaml, env must be a mapping
(KEY: "value"), not a list. Verify with:
hermes mcp list
hermes mcp test camoufoxFirst browse on a fresh machine needs the browser binary once; download and storage
requirements vary by platform and build. If a call
reports it is missing, run the pinned fetch script and retry: npm run fetch:camoufox
(repo checkout). npx installs can use
npx --yes --package camoufox-mcp-server@2.7.3 camoufox-mcp-fetch.
Global installs of 2.6.0 provide camoufox-mcp-fetch and camoufox-mcp-doctor.
Do not use camoufox-js fetch: its release selection can install a build that
bypasses page WebSocket interception.
Restart Hermes from a separate terminal after changing MCP config. Hermes namespaces MCP
tools as mcp_camoufox_<tool> (single underscore, e.g. mcp_camoufox_browse,
mcp_camoufox_camoufox_status; some setups show the double-underscore form
mcp__camoufox__browse) — use whatever your tool list shows, and confirm
mcp_camoufox_camoufox_status reports unsafeOptionsAllowed: true. browser_navigate is
Hermes' own built-in browser tool, not Camoufox.
For local-clone installs and additional hosts, see Configuration for AI assistants.
opencode
Add this to opencode.json in your project or to ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"camoufox": {
"type": "local",
"command": ["npx", "-y", "camoufox-mcp-server@latest"],
"enabled": true
}
}
}Verify with:
opencode mcp listPi Coding Agent
Install the MCP adapter, then add Camoufox to .mcp.json or ~/.config/mcp/mcp.json:
pi install npm:pi-mcp-adapter{
"mcpServers": {
"camoufox": {
"command": "npx",
"args": ["-y", "camoufox-mcp-server@latest"]
}
}
}Local and private development sites
Local and private hosts are blocked by default. Source builds from main support an explicit hostname allowlist. npm/npx installs gain this setting in the next tagged release.
Add an env entry to your MCP server configuration:
{
"env": {
"CAMOUFOX_MCP_ALLOWED_PRIVATE_HOSTS": "localhost,laravel.test,app.internal"
}
}Restart the MCP server, then check camoufox_status.networkSecurity.allowedPrivateHosts. Configure DNS or hosts entries in the same container or VM as the server and browser. Corporate and custom DNS names also work when explicitly listed.
For eligible private hosts, the MCP error text includes the exact allowlist setting and restart instruction. Read the full error and append the required hostname to any existing list.
Entries are exact hostnames, without IP literals, wildcards, URLs, or ports. This is a server environment setting, separate from browse parameters and CAMOUFOX_MCP_ALLOW_UNSAFE_OPTIONS. Metadata, link-local, and reserved addresses remain blocked. See local development policy for scope.
Related MCP server: Stealth Browser MCP Server
Try Camoufox
Once configured, ask your assistant for browser work in plain language:
Use Camoufox to browse https://example.com and return metadata only.Use Camoufox to inspect the interactive elements on https://example.com.Use Camoufox to open https://example.com, take a screenshot, and summarize the visible page.Use Camoufox to browse https://developer.mozilla.org with images blocked and WebRTC blocked.Features
Advanced anti-detection: rotating OS fingerprints, realistic cursor movements, and browser fingerprint spoofing.
Enhanced parameters: configurable wait strategies, timeouts, viewport dimensions, diagnostics, and screenshots.
Cross-platform: works on Windows, macOS, and Linux, including Docker.
Privacy controls: SSRF protections, WebRTC blocking, WebGL blocking, image blocking, proxy support, and bounded output.
Session tools: short-lived isolated browser sessions with challenge pause/resume support.
Requirements
Published default runtime: Node.js 22.0 or higher
Repository builds and compatibility mode: Node.js 22.15 or higher, with
npm install --include=optionalPython 3.x for running tests
Versioning
The default pins are camoufox-js 0.12.0, playwright-core 1.59.0, and Camoufox 152.0.4-beta.28. Keep playwright-core as a direct pinned dependency: npm overrides alone do not pin it for npx or global installs. Run npm run doctor to verify the selected build and a real browser launch.
Camoufox 158.0.1-beta.41 is available through opt-in compatibility mode. It restores page and iframe WebSocket interception by disabling the newer browser's world isolation, reducing stealth compared with its upstream defaults. The beta.28 default predates that isolation change. Worker WebSockets evade interception in both modes, so untrusted browsing needs network egress controls. See browser compatibility setup and evidence before enabling it.
Environment variable | Default | Effect |
| Unset | Set to |
| OS cache, separate | Override the browser directory; use the same value during installation and startup. |
Use npm run fetch:camoufox for tagged downloads with SHA-256 checks. The shared browser manifest pins both modes. Avoid camoufox-js fetch, whose release selection can install a build that bypasses WebSocket interception.
Documentation
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome. Please submit a pull request or open an issue for bugs and feature requests.
Acknowledgments
Built with Camoufox
Uses the Model Context Protocol
Powered by Playwright
Support
If you encounter issues, check Troubleshooting first, then open an issue on GitHub with logs and environment details.
Available Tools
17 toolsbrowseCRead-only
Navigate once and return bounded page content.
Inputs: url (required), os, args, geoip, +24 more. Returns: url, html, text, title, +20 more
browse_consoleBRead-only
Navigate once and return bounded console diagnostics.
Inputs: url (required), os, args, geoip, +19 more. Returns: url, title, status, console, +14 more
browse_findARead-only
Navigate once, search visible text, and return bounded context matches.
Inputs: url (required), query (required), os, args, +23 more. Returns: url, query, title, status, +19 more
browse_formsBRead-only
Navigate once and return form fields and submit controls.
Inputs: url (required), os, args, geoip, +22 more. Returns: url, forms, title, status, +18 more
browse_linksARead-only
Navigate once and return only visible navigable links.
Inputs: url (required), os, args, geoip, +21 more. Returns: url, links, title, status, +17 more
browse_network_summaryBRead-only
Navigate once and return a bounded network diagnostic summary.
Inputs: url (required), os, args, geoip, +20 more. Returns: url, title, failed, status, +18 more
browse_outlineARead-only
Navigate once and return page headings and landmarks.
Inputs: url (required), os, args, geoip, +21 more. Returns: url, title, status, message, +19 more
browse_screenshotBRead-only
Navigate once and capture a bounded screenshot.
Inputs: url (required), os, args, type, +23 more. Returns: url, title, status, message, +12 more
browse_sequenceB
Navigate once, run bounded selector actions, then return final state.
Inputs: url (required), actions (required), os, args, +26 more. Returns: url, html, text, title, +23 more
browse_session_actionB
Run one bounded action in an existing browser session.
Inputs: action (required), sessionId (required), maxChars, selector, +2 more. Returns: action, message, snapshot, expiresAt, +11 more
browse_session_closeB
Close an existing browser session.
Inputs: sessionId (required). Returns: closed, sessionId
browse_session_resumeA
Resume a paused session after human action and return current state.
Inputs: sessionId (required), timeout, maxChars, selector, +3 more. Returns: url, text, title, status, +25 more
browse_session_snapshotBRead-only
Read the current state of an existing browser session.
Inputs: sessionId (required), maxChars, selector, maxElements, +1 more. Returns: url, text, title, status, +25 more
browse_session_startB
Start an isolated short-lived browser session.
Inputs: os, args, geoip, proxy, +18 more. Returns: browser, expiresAt, sessionId, selectedOS, +3 more
browse_snapshotARead-only
Navigate once and return visible text, ARIA snapshot, and interactive metadata.
Inputs: url (required), os, args, geoip, +22 more. Returns: url, text, title, status, +23 more
camoufox_statusARead-onlyIdempotent
Return server, browser, queue, session, and policy status without launching a page.
Inputs: no named parameters. Returns: browser, version, maxQueue, platform, +14 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools have clearly distinct outputs or lifecycle roles: browse returns content, browse_snapshot returns richer metadata, browse_links/forms/outline/find target specific page facets, and session tools manage existing sessions. The main potential confusion is between browse, browse_snapshot, and browse_sequence, but their descriptions draw reasonable boundaries.
Names consistently use snake_case and a predictable browse_* prefix for page operations, with browse_session_* forming a clear sub-family for session lifecycle management. camoufox_status is the only outlier, but it is still readable and appropriately named for server status.
17 tools is slightly heavy but reasonable for a browser automation server that supports stateless extraction modes plus session-based interaction. Each extraction tool has a plausible specialized role, though the surface could likely be consolidated somewhat.
The surface covers navigation, screenshots, content extraction, links, forms, headings, search, console/network diagnostics, actions, and full session lifecycle. Minor gaps may exist around cookies/storage, tabs, or request interception, but core browser automation workflows are well covered.
Maintenance
Related MCP Connectors
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides stealthy browser automation capabilities using a custom Firefox build designed for anti-detection. It enables users to navigate pages, interact with elements, and manage persistent browser sessions through natural language.1ISC
- FlicenseNot gradedqualityNot gradedmaintenanceProvides stealth web browsing using dual browser engines (Chromium and Firefox) with automatic bot-detection bypass, enabling AI agents to browse, interact, and extract content from websites without being blocked.1-
- AlicenseNot gradedqualityDmaintenanceEnables LLMs to launch a fingerprint-randomized browser, navigate, click, type, read the DOM, and take screenshots through a patched Firefox engine.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to automate a privacy-focused Firefox-based browser through MCP, with session and profile management, navigation, interaction, extraction, screenshots, JavaScript execution, tabs, downloads, and permission/URL validation.MIT