ghostfox
๐ป Ghostfox โ the browser that can SEE: Gecko-native agent browser. 52 MCP tools, unhookable a11y/compositor vision, captcha solvers, visual QA for AI-built UIs.
Install / Use
claude mcp add autokeren -- npx -y github:autokeren/ghostfoxIf the server publishes to npm under a different name, use that package instead โ check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AutomationSupported Platforms
Our assessment of ghostfox
ghostfox scores 84/100 on our quality scale, 2117th of 2,892 Automation skills we index.
Its MCP Server is 18 KB long, well organised into 15 sections with 6 code examples: a thorough specification that gives an agent plenty to work with.
It has 10 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so ghostfox is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below). An AI review of the same text found nothing harmful.
- noteInstalls by piping a downloaded script into a shellline 163
curl -fsSL https://raw.githubusercontent.com/autokeren/ghostfox/main/install.sh | bash - noteInstalls by piping a downloaded script into a shellline 272
curl -fsSL https://raw.githubusercontent.com/autokeren/ghostfox/main/install.sh | bash
AI review by kimi-k2.7-code on 2026-10-13. Automated pattern scan on 2026-10-13. It catches known dangerous patterns, not every risk โ read a skill before letting an agent act on it.
ghostfox compared with similar skills
All 4 of these similar skills score higher than ghostfox; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| ghostfox (this skill)by autokeren | 84 | 10 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 97.2k | 6d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 75.3k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.4k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 87.4k | today | MCP Server |
Frequently asked questions
- How do I install ghostfox?
- Run
claude mcp add autokeren -- npx -y github:autokeren/ghostfox. The install tabs above show the steps for each supported agent. - Which AI agents does ghostfox work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is ghostfox safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below). An AI review of the same text found nothing harmful. It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is ghostfox still maintained?
- The repository was last updated today, so ghostfox is actively maintained.
Skill content
View source on GitHubGhostfox
The agent-native stealth browser you can own.
Self-hosted ยท Open source ยท MCP-first ยท Engine-level anti-detect
<img src="docs/demo.gif" width="640" alt="Ghostfox demo: android persona + detection panel" /> ยท 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.
Firefox (MPL-2.0)
โโ Camoufox (anti-detect patches, by daijro)
โโ Ghostfox engine engine/ โ spoofing at the C++ level
โโ Ghostfox runtime runtime/ โ Rust: sessions, identities, MCP
| | 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.
- We own the engine. The anti-detect lives in C++ patches inside our own Firefox fork โ not in injected JS that detectors can read. Upstream Camoufox has signaled partially-closed patches ahead; wrappers inherit that risk, a fork that owns its engine doesn't.
- A living proof corpus. Every claim here has a receipt: bilibili icon-click ร6, hCaptcha on production signups, TikTok OAuth+OTP live, 500/500 identity audits, Docker E2E. Features get copied in a week โ verified history can't be.
- Agent-native ergonomics. 43 coherent MCP tools, fire-then-verify
receipts, evidence recording, and a playbook (
AGENTS.md) distilled from real runs. Agents (and their prompts) build habits on this surface โ switching costs are real. - Canonical distribution. PyPI, npm, GHCR and the official MCP Registry under one name, with the docs, benchmarks and changelogs to back it. Forks will exist; the verified trunk is here.
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โ everyconsole.log/warn/errorsince loadpage_errorsโ uncaught JS exceptions with stack tracespage_network_start/read/bodyโ request/response capture with body fetch
That'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.
Native-sourced observation โ page_a11y {"native": true} reads the
engine's OWN accessibility tree (Gecko's DocAccessible walk โ the
ariaSnapshot plumbing), so page scripts cannot tamper with what you see:
shadow DOM, iframes and ARIA semantics handled by Gecko itself, richer
states (focused/required/checked/expanded/disabled/level). Native refs
are observation handles; acting goes through role+name anchors or the
JS-walk source.
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".
Quickstart
Pick a distribution:
# Python (Linux x86_64)
pip install ghostfox
python -c "import ghostfox; ghostfox.install_engine(); ghostfox.install_runtime()"
# npm / any MCP host
npm install -g ghostfox # or: npx ghostfox install
{
"mcpServers": {
"ghostfox": { "command": "npx", "args": ["-y", "ghostfox", "mcp"] }
}
}
# Docker (engine + MCP runtime, ubuntu:24.04 base)
docker run -i --rm ghcr.io/autokeren/ghostfox:v0.7.2
# or one-line install of the binary stack:
curl -fsSL https://raw.githubusercontent.com/autokeren/ghostfox/main/install.sh | bash
Also listed on the official
MCP Registry
(io.github.autokeren/ghostfox) โ one-click add in registry-aware clients.
From source:
# 1) Get the engine (prebuilt) and unpack it somewhere, e.g. /opt
unzip ghostfox-<ver>-lin.x86_64.zip -d /opt/ghostfox
# 2) Build the runtime
git clone https://github.com/autokeren/ghostfox.git
cd ghostfox/runtime
cargo build --release
{
"mcpServers": {
"ghostfox": {
"command": "/path/to/ghostfox/runtime/target/release/ghostfox-mcp",
"env": { "GHOSTFOX_HOME": "/opt/ghostfox" }
}
}
}
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 (70 tools) โ two tiers, one binary:
core(default): 26 curated tools โ the golden loop (read โ act โ verify) plus debugging essentials, zero overlapping variants. This is what agents and registry inspectors see out of the box: an efficient, disambiguated surface (each tool's description says when to prefer it).full: all 70 tools โ captcha families, pixel/vision tiers, network interception, WebSocket capture/inject/block, identity morph, chrome-mode, Android. Run the server withGHOSTFOX_TOOLSET=full.
The server also publishes instructions (a decision tree agents read before choosing tools) โ the disambiguation layer for both tiers.
| Category | Tools |
|---|---|
| Session | session_create ยท session_pages ยท session_me |
| See | page_a11y (semantic + login_state + shadow DOM/iframe) ยท page_extract (typed, token-efficient a11y filters) ยท page_snapshot ยท page_screenshot ยท page_read_ref (full value) ยท page_diff (observeDiff: what changed since the last snapshot) ยท page_mutations (M3: unhookable DOM-change whispers) ยท page_a11y_events (M3: the a11y tree as a stream โ focus/text/state/live-region events, the incremental diff) |
| Wait | page_wait_for (poll until visible) ยท page_dismiss_modal ยท page_wait_stable (render-settled) ยท page_wait_visual (M3.5: refresh-driver visual stability โ the sleep killer) |
| Act | page_click_ref ยท page_click_native (trusted a11y-bounds click: scroll-first, DOM-proof coordinates) ยท page_click_at (raw trusted coords โ no a11y resolution) ยท page_type_ref ยท page_click ยท page_type ยท page_fill ยท page_press ยท page_drag ยท page_move_to ยท page_upload_file ยท page_init_script ยท page_a11y_set_text (AT-native text input โ the Flutter route) |
| Captcha | captcha_solve ยท `page_geetest_s
Truncated for display โ read the full file on GitHub.
Related Skills
Agent-Reach
97.2kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu โ one CLI, zero API fees.
headroom
75.3kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.4kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
87.4k๐ท๏ธ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
