Self-hosted stealth browser for AI agents: Firefox engine + Rust MCP runtime
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
The agent-native stealth browser you can own.
Self-hosted Β· Open source Β· MCP-first Β· Engine-level anti-detect
Β· Docs site
AI agents get blocked. Headless Chrome triggers Cloudflare 403s on ~20% of the web, and hosted "stealth browsers" route your agent's cookies, identities and sessions through someone else's cloud.
Ghostfox is the alternative: a complete browser stack you run yourself β a fingerprint-coherent stealth engine plus a Rust MCP runtime, in one repo.
| Ghostfox | Hosted stealth (Browserbase etc.) | playwright-mcp | Anti-detect suites (Multilogin etc.) | |
|---|---|---|---|---|
| Self-hosted | β | β | β | partially |
| Open source | β | β | β | β |
| MCP-native | β | β | β | β |
| Engine-level anti-detect | β (C++/Firefox) | vendor partnerships | β | β (closed) |
| Coherent identities + auditor | β | β | β | partial |
| Runtime language | Rust | β | Node | β |
The moat β why this isn't just another wrapper.
AGENTS.md) distilled
from real runs. Agents (and their prompts) build habits on this
surface β switching costs are real.Captcha suite β 8 families, solved on-device (v0.6.7+). The runtime ships native MCP solvers with local models β no paid captcha farms, no cloud, no browser rent:
| Family | Native tool | How |
|---|---|---|
| GeeTest slide / v4 radar | page_geetest_slide | bg-vs-fullbg diff + largest-blob gap detection |
| GeeTest icon-click (ζεηΉι) | page_geetest_click | custom-trained YOLOv8s + siamese similarity (rten, CPU) |
| Rotate | page_captcha_rotate | 24-angle sweep + programmatic verdict |
| Normal OCR | page_captcha_ocr | ported ddddocr (CRNN+LSTM, onnxruntime) |
| hCaptcha | page_hcaptcha | layout router + 553-model QIN2DIM zoo + optional vision-model ensemble |
| Cloudflare Turnstile / TikTok | captcha_solve + behavioral recipes | proven playbooks in AGENTS.md Β§6bβ6e |
E2E-verified against production sites (not vendor demos): bilibili icon-click Γ6 "Verification Succeeded", hCaptcha on real signups (dashboard.hcaptcha.com, dosya.co), TikTok OAuth+OTP live session.
Debug cortex β page tools that tell you WHY (v0.7). Agents stop guessing when a page misbehaves:
page_console β every console.log/warn/error since loadpage_errors β uncaught JS exceptions with stack tracespage_network_start/read/body β request/response capture with body fetchThat's the DevTools trio, exposed over MCP.
Multi-model vision (optional). page_vision + page_ocr +
page_match_image + page_pixels + page_contrast β wire any
vision-capable model (Cloudflare Workers AI, GLM, Qwen, ...) as
cross-checks for grid puzzles and layout questions. Keys are optional;
the native solvers above run fully local.
Eyes for agents β page_a11y. One call returns every visible interactive
element with a stable ref, semantic role, accessible name, live value β
piercing shadow DOM and same-origin iframes, so web-component UIs
(Reddit, modern frameworks) are fully visible. The snapshot also reports
login_state (logged-in / logged-out / unknown), page URL and title β
agents check session health before acting, not after failing.
Agents act by ref: page_click_ref e38, page_type_ref e21 "text" β no CSS
selectors needed. Rich editors (Lexical, Draft, ProseMirror) are handled via
editor-native input paths with fire-then-verify receipts. page_wait_for
replaces manual sleeps. page_read_ref gives full untruncated values.
page_upload_file bypasses native file pickers.
Android personas too β session_create {"platform": "android"} gives
portrait screens, Adreno/Mali GPUs, Android font stacks and Firefox-on-Android
UAs, all audited like desktop identities (500/500 coherent, see
runtime/docs).
One identity, no contradictions. Identities are generated from coherent device presets (platform, screen, GPU, fonts that actually ship together), injected at the engine level, and audited before use β a spoofed browser's worst enemy is itself saying "4 cores on a MacBook".
Pick a distribution:
Also listed on the official
MCP Registry
(io.github.autokeren/ghostfox) β one-click add in registry-aware clients.
From source:
Then the agent can: session_create β page_open β page_a11y β act by ref.
Portable sessions. session_create accepts profile_dir for persistent
profiles: cookies, storage and the identity TOML live together in one place,
so a login survives restarts. Migrating a session from another
Camoufox-lineage browser? Copy the cookies and match the identity to the
origin device (platform, timezone, locale, screen) β a session that
suddenly changes identity looks like an impossible login and anti-fraud
systems revoke it. Proven flow, see AGENTS.md Β§8.
Full tool surface (48 tools):
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ghostfox)<a href="https://allmcps.com/mcp/ghostfox"><img src="https://allmcps.com/api/badge/ghostfox?style=directory" alt="Ghostfox on AllMCPs" /></a>