CamoFox Browser Server

An anti-detection browser server for AI agents: wraps the Camoufox engine's C++-level fingerprint spoofing behind a REST API, CLI, MCP companion, and OpenClaw plugin endpoints.

Stars
★ 445
Last updated
11d ago
License
MIT
Primary language
JavaScript

At a glance

How it runs
Self-hosted serviceCLIAgent plugin / skill
Works with
Universal · cross-platformClaude Code
Cost
Free, no paid service needed
Setup effort
Medium · a few setup steps
You'll need
Node.js 20+Camoufox engineyt-dlp (optional, for YouTube transcripts)Xvfb/VNC (Linux-only virtual display)Shell / CLINetwork accessLocal filesystem
Typical use
AI agent developers who need to scrape or automate sites protected by Cloudflare, Google, and similar anti-bot systems, preferring engine-level fingerprint spoofing over fragile JS-injection patches.
Not a fit if
  • Teams with under 2GB RAM: browser plus contexts need 2GB+
  • Windows users needing headed or virtual display: headless=true only
  • Production teams needing a frozen API: Preview, shapes may change
Maintenance
Commits in the last 30 dayslast commit 2026-11-06latest release v2.5.0 (2026-11-06)+0.9 ★/day over 7 days
Source review
63/100 · Some gaps

What does this agent do, and when should you use it?

CamoFox Browser Server (redf0x1/camofox-browser) is a strict-mode TypeScript Express server that wraps Camoufox — a Firefox fork whose fingerprint spoofing happens at the C++ engine level — into an HTTP service on port 9377 by default. It exposes roughly 42 core REST endpoints plus about 7 OpenClaw-compatible aliases covering tab creation, navigation, accessibility snapshots with stable eN element refs, click/type/scroll interactions, screenshots, cookie import/export, download tracking, and Playwright tracing. Each userId gets its own persistent Firefox profile directory, so cookies, localStorage, and IndexedDB survive across sessions, with idle contexts evicted via LRU. Built-ins include 14 search macros (Google, YouTube, Reddit, and more), 8 geo presets, and session-level proxy/geo overrides backed by named proxy profiles. A 50+-command CLI, an AES-256-GCM credential vault that never prints secrets to stdout (LLM-safe), schema-driven structured extraction, console capture, and deployment paths for Docker, Fly.io, Railway, and Render round out the package. The project is in Preview (Phase 1) with an additive-only deprecation model.

It runs an Express/TypeScript server (via the camofox-browser command or npm start) wrapping the Camoufox anti-detect Firefox engine. Clients drive the browser through REST calls — POST /tabs to create tabs, POST /tabs/:tabId/navigate to navigate or expand macros like @google_search, GET /tabs/:tabId/snapshot for an accessibility tree annotated with eN element refs, POST /tabs/:tabId/click|type|press|scroll for interaction, GET /tabs/:tabId/screenshot for PNG bytes — or via OpenClaw-compatible endpoints /start, /tabs/open, and /act. POST /tabs/:tabId/extract-structured returns deterministic JSON from a DOM schema without arbitrary JavaScript. The CLI offers camofox open/snapshot/click/type/session/cookie/auth/trace commands plus pipeline scripts via camofox run; auth save/load uses an AES-256-GCM + Argon2id vault, and --inject sends credentials straight to the page so the orchestrating LLM never sees them. The server manages persistent per-userId browser contexts (defaults: 50 sessions, 10 tabs each) with 8 built-in geo presets, a custom presets file (CAMOFOX_PRESETS_FILE), named proxy profiles (CAMOFOX_PROXY_PROFILES_FILE), and explicit-wins / proxy-locked geo modes; display mode toggles between headless, headed, and Linux-only virtual (Xvfb + noVNC, 2-minute auto-stop by default). A Docker image is published at ghcr.io/redf0x1/camofox-browser, with binding and auth controlled via CAMOFOX_HOST, CAMOFOX_AUTH_MODE, and CAMOFOX_API_KEY.

  1. AI agent developers who need to scrape or automate sites protected by Cloudflare, Google, and similar anti-bot systems, preferring engine-level fingerprint spoofing over fragile JS-injection patches.
  2. Engineers building LLM automation pipelines who want language-agnostic HTTP endpoints to open tabs, click by eN refs, take snapshots, and get JSON back.
  3. Teams running multiple accounts/identities that need logins to persist: each userId's persistent Firefox profile keeps cookies, localStorage, and IndexedDB.
  4. Data-collection jobs that must appear region-consistent (e.g., japan or uk presets) or lock timezone/locale to a proxy exit, using geo presets and proxy-locked mode.
  5. Users who want coding assistants like Claude Code or Cursor to drive a browser, via npx skills add redf0x1/camofox-browser or the external CamoFox MCP server.
  6. Automation flows that must log in without exposing passwords to an LLM: the auth vault stores credentials with AES-256-GCM and --inject fills them directly into the page.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Environment variables
CAMOFOX_HOST CAMOFOX_API_KEY
Config files
~/.camofox
Runtime
Node.js 20+
Install notes cover
Windows · Docker

How do you install or deploy this agent?

Pick one of three routes.
1) From source: git clone https://github.com/redf0x1/camofox-browser.git && cd camofox-browser && npm install && npm run build && npm start (requires Node.js 20+; 2GB+ RAM recommended).
2) npm: npm install -g camofox-browser, then run camofox-browser to start the server, or use the camofox CLI directly (the CLI auto-starts the server when needed).
3) Docker: docker run -d --name camofox-browser -p 9377:9377 -p 6080:6080 -e CAMOFOX_HOST=0.0.0.0 -e CAMOFOX_AUTH_MODE=auto -e CAMOFOX_API_KEY=change-me -v ~/.camofox:/home/node/.camofox ghcr.io/redf0x1/camofox-browser. A Windows x64 portable ZIP (bundles Node.js and the Camoufox engine; headless=true only) and Fly.io/Railway/Render configs are also provided.

How do you use this agent?

After starting, verify with curl http://localhost:9377/health (expect {"ok":true,"engine":"camoufox","browserConnected":true}). REST: create a tab with POST /tabs and {"userId":"agent1","sessionKey":"task1","url":"https://example.com","preset":"japan"}; run a search macro via POST /tabs/:tabId/navigate with {"macro":"@google_search","query":"..."}; GET /tabs/:tabId/snapshot?userId=agent1 for the eN-referenced accessibility tree; POST /tabs/:tabId/click with {"userId":"agent1","ref":"e12"} to interact. CLI: camofox open https://example.com → camofox snapshot → camofox click e5 → camofox screenshot --output page.png → camofox close; add --format for machine-parseable output for agents. Credential injection: camofox auth save gmail once, then camofox auth load gmail --inject --username-ref e5 --password-ref e12. Multi-step flows go in a script file run with camofox run flow.txt. Security notes: CAMOFOX_HOST defaults to 127.0.0.1; non-loopback binds require CAMOFOX_API_KEY under auto mode, and navigation to loopback/private/metadata targets is blocked by default.

What are this agent's strengths and limitations?

Pros
  • Anti-detection happens at the Camoufox C++ engine level rather than via JS injection; the README reports passing bot detection on Google, Cloudflare, and other anti-bot services — more robust than Puppeteer/Playwright JS patches.
  • Complete agent-facing surface: REST API, OpenClaw-compatible endpoints, an external CamoFox MCP server, installable skills for Claude Code/Cursor and 40+ other agents, and a JSON-output CLI.
  • Accessibility snapshots with stable eN element refs are smaller and more token-efficient than raw HTML or screenshots; extract-structured yields deterministic JSON without arbitrary JavaScript.
  • Strong operational detail: persistent profiles, LRU context eviction, two-stage idle cleanup, health probing, Playwright tracing, AES-256-GCM credential vault, and versioned local state with fail-closed integrity checks.
Limitations
  • The project is in Preview (Phase 1): the API surface is not frozen — endpoint behavior and response shapes may change between minor versions — and incompatible local-state upgrades require manual deletion of profiles/registries.
  • Heavy runtime footprint: browser plus contexts need 2GB+ RAM, one persistent Firefox process per userId (defaults: 50 sessions, 10 tabs per session); Linux is recommended for production.
  • Platform constraints: Windows x64 supports headless=true only; Xvfb/VNC virtual displays are Linux-only, and VNC sessions auto-stop after 2 minutes by default.
  • Deep upstream dependencies: it requires the Camoufox engine (the Windows portable build even excludes upstream fonts due to licensing), and YouTube transcript extraction additionally depends on yt-dlp.

How does this agent compare with similar options?

The README directly compares it with Puppeteer/Playwright: those rely on fragile JavaScript-level patches with limited fingerprint spoofing, whereas CamoFox uses Camoufox's C++ engine-level spoofing and exposes a REST API plus accessibility snapshots for language-agnostic, token-efficient integration by any language or AI agent. The underlying engine is daijro's Camoufox, and a companion CamoFox MCP server serves MCP clients like Claude, Cursor, and VS Code.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
CamoFox Browser Server This agent 63 · Some gaps Self-hosted serviceFree ★ 445 11d ago JavaScript Claude Code
Stagehand: The AI Browser Automation Framework 68 · Some gaps Library / SDKFree + model costs ★ 26k today TypeScript —
Camofox Browser 53 · Major gaps Self-hosted serviceFree ★ 12k 6d ago JavaScript —
Uni-CLI 83 · Good CLIFree ★ 228 14d ago TypeScript ChatGPT · Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
63/ 100 5-point scale 3.2 / 5
Trust 14/29
Reliability 8/14
Adaptability 12/18
Convention 15/18
Effectiveness 10/13
Verifiability 4/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

The code and docs describe loopback binding by default, authentication for non-loopback deployments, API and admin keys, encrypted vault storage, and local file permissions. However, the CLI/API can execute page JavaScript, import and export cookies, retain browser profiles, and retrieve downloads; authorization boundaries and per-action user confirmation are only lightly documented. Remote site access, engine installation, proxy, and geolocation behavior are disclosed. CI includes a production dependency audit, but this packet contains neither its results nor a clearly identified maintainer, so full marks are not warranted.

Reliability8 / 14 · 2.9/5

The CI configuration includes build, test, package-contract, and production dependency-audit steps; the server source also shows graceful shutdown, health state, and error handling. README, AGENTS.md, and skill material differ somewhat on authentication conditions, command parameters, and API coverage, including authentication-default descriptions and CLI command-count claims, so self-consistency is reduced. Installation requirements and recovery paths are detailed, though dependency provisioning still relies on network access and platform tools.

Adaptability12 / 18 · 3.3/5

The materials address REST, CLI, OpenClaw, and several agent workflows, with audience-specific procedures, interface selection guidance, and platform notes. Capability scope is reasonably clear, and preview compatibility, state migration, and Windows display limits are documented. However, skill triggers broadly include bot evasion and stealth scraping, with limited precision about appropriate use or boundaries.

Convention15 / 18 · 4.2/5

The README is well organized and covers installation, deployment, API, CLI, environment variables, limitations, and recovery; examples and the MIT license are present. Preview compatibility policy and CI/release version checks provide some versioning evidence, but no continuing maintainer is clearly named. Documentation has minor inconsistencies in command counts, authentication descriptions, and API coverage.

Effectiveness10 / 13 · 3.8/5

Structured snapshots, stable element references, JSON output, dual REST/CLI access, and credential injection support usable automation workflows. Anti-detection, proxy, and region features add value over general browser tools, though their benefit depends on the site and task. Engine downloads, deployment, persistent-profile management, and credential configuration add operational cost.

Verifiability4 / 8 · 2.5/5

Major capabilities have corresponding evidence across the README, skills, CLI entry point, server entry point, package metadata, and CI workflow. CI configuration shows that automated checks are defined, but does not establish that they ran or passed for this revision. Some anti-detection, compatibility, and security benefits remain project claims without independent results, and the materials do not consistently distinguish demonstrated facts from inferred outcomes.

Risks and how to mitigate them
  • The skills explicitly target anti-detection and bot-evasion workflows; confirm that the target site, account, and automation comply with applicable rules and requirements.
  • Configure authentication for non-loopback deployments and avoid disabling it on untrusted networks. Persistent profiles, cookies, downloads, and trace files may contain sensitive data.
  • Authentication defaults and CLI/API descriptions are not fully consistent across the materials; confirm the actual configuration and version-specific interface before deployment.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 512dc096866b
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/redf0x1-camofox-browser.svg)](https://followagents.com/en/agents/redf0x1-camofox-browser)
<a href="https://followagents.com/en/agents/redf0x1-camofox-browser"><img src="https://followagents.com/badge/redf0x1-camofox-browser.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v2.5.0 camofox-browser v2.5.0
    Release notes excerpt
    Network capture and safer navigation reporting - Add opt-in network capture before the first navigation, explicit session-tab enrollment, bounded retention, paginated inspection, and sanitized HAR 1.2 export. - Add explicitly enabled small response bodies and exact-match fetch/XHR abort/static mock rules. Metadata-only capture remains the default. - Align the OpenAPI interception contract with supported statuses, required fields, and UTF-8 byte limits. - Redact URL credentials, query strings, and fragments from snapshot/click/navigation logs. …
    View on GitHub ↗
  2. v2.4.9 camofox-browser v2.4.9
    Release notes excerpt
    Camofox Browser 2.4.9 Fixes - Required browser installation now fails clearly if the engine cannot be downloaded, extracted or validated. Docker no longer publishes an apparently successful image with a missing engine; optional GeoLite downloads remain warning-only. - Browser downloads stream to disk, and extraction uses disk-backed system facilities rather than loading the entire archive into memory. Linux uses Python 3, macOS uses system tar, and Windows uses built-in PowerShell/.NET ZIP support. …
    View on GitHub ↗
  3. v2.4.8 camofox-browser v2.4.8
    Release notes excerpt
    Patch release for navigation reliability and compatible dependency security updates. Changes - Bound post-action draining on pages with continuous timers or animations. Pending navigation safety checks and stalled pending-count reads now return an error at the deadline instead of reporting success or holding the tab lock indefinitely. - Update affected production dependencies while retaining Express 4 behavior for missing request bodies and array-style image extension filters. - Correct the CLI documentation for supported search engines and remove the retired drag command. …
    View on GitHub ↗

FAQ

Do I need an API key?
It depends on the auth mode. Default CAMOFOX_AUTH_MODE=auto keeps loopback usage open but requires CAMOFOX_API_KEY (sent as a Bearer header) when you bind beyond loopback such as 0.0.0.0. The required mode demands a key everywhere; disabled mode is only for trusted private Docker networks whose clients cannot send bearer tokens, and must never be combined with published public ports.
Are logins and cookies preserved?
Yes. Each userId runs a persistent Firefox context via launchPersistentContext(userDataDir), stored under ~/.camofox/profiles/, so cookies, localStorage, and IndexedDB survive across sessions and container restarts. Note that local state uses versioned formats; upgrades across incompatible versions require manually deleting the affected profile or registry as indicated in the error message.
What if I hit a CAPTCHA?
On Linux, POST /sessions/:userId/toggle-display with {"headless":"virtual"} starts an Xvfb display and returns a vncUrl for noVNC so a human can intervene (auto-stops after 2 minutes by default), then switch back to headless. This restarts the browser context and invalidates open tabs (auth state persists via the profile). Windows does not support headed/virtual modes.
How do I use it with Claude Code or other MCP clients?
MCP integration is provided by the separate redf0x1/camofox-mcp repository, which works with Claude, Cursor, Windsurf, VS Code, and other MCP-compatible clients. Additionally, npx skills add redf0x1/camofox-browser installs skill files into Claude Code, Codex, Cursor, GitHub Copilot, and 40+ other agents.
Is this related to the Camofox crypto token?
No. The maintainers explicitly state that Camofox is not a crypto project and never will be; any token, coin, or NFT using the Camofox name has nothing to do with this project. Treat such tokens as scams.
Is CamoFox Browser Server free?
Yes. CamoFox Browser Server is free to use and does not need a paid service.
Is CamoFox Browser Server open source?
Yes. The source code is on GitHub (redf0x1/camofox-browser) under the MIT licence.
Is CamoFox Browser Server safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored CamoFox Browser Server 14/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is CamoFox Browser Server still maintained?
Yes. The latest commit on GitHub is from 2026-11-06, within the last 30 days. The latest release is v2.5.0 (2026-11-06).
Who makes CamoFox Browser Server?
CamoFox Browser Server is published on GitHub by the account redf0x1. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts