RM

robithyusuf/mcp-camoufox

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

23 stars 5 forks 质量 88 趋势 20MIT

通过Camoufox实现隐形浏览器自动化的MCP服务器——100+工具,npx安装,反机器人隐身

概览

功能最丰富的隐形浏览器MCP服务器。支持由Camoufox支持的全面浏览器控制——Camoufox是一个Firefox分支,支持C++级别的反检测功能,绕过Cloudflare、机器人检测和反自动化。 - 登录 Google、ChatGPT、GitHub —— 不被屏蔽 - 填写表单、点击按钮、输入文本、上传文件 - 管理 cookie、localStorage、跨访问会话 - 截图、导出 PDF、捕获网络流量 - 操作多个标签页、iframe、对话框 - 执行 JavaScript,检查元素,滚动页面 - 用自动检测选择器抓取结构化数据(职位列表、产品)—— 这一切都在反机器人系统下进行 竞争对手数据于 2026 年 8 月 19 日检查:camofox-mcp 通过运行工具/列表与 npm 中的 v1.15.0 进行计数(它是 npx 可安装的——该表早期版本错误地说了相反);其他数据取自它们自己的 README。 click_turnstile() 通过 6 个选择器回退(iframe[src*=challenges.cloudflare)自动检测小部件。

概述(AI 翻译)

功能最丰富的隐形浏览器MCP服务器。133个工具,支持Camoufox的全面浏览器控制——Camoufox是一个Firefox分支,具备C++级别反检测功能,绕过Cloudflare、机器人检测和反自动化。

一个命令。没有Python。没有手动设置。一切都会自动安装。

它能做什么?

  • 登录 Google、ChatGPT、GitHub —— 不被屏蔽
  • 填写表单、点击按钮、输入文字、上传文件
  • 管理 Cookies、localStorage、跨访问会话
  • 截图、导出PDF、捕获网络流量
  • 支持多个标签页、iframe、对话框
  • 执行JavaScript,检查元素,滚动页面
  • 利用自动检测选择器抓取结构化数据(职位列表、产品)
  • 同时还要被反机器人系统检测不到

比较

MCP 服务器 工具 隐匿 npx 安装 持久会话
Chrome 开发工具 MCP 30+ 否 内置 是的
白兔/迷彩狐-MCP 1 是的 是的 不
redf0x1/camofox-mcp 47 是的 是的 是的
Sekinal/迷彩-MCP 49 是的 不(克隆) 是的

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Camoufox is a Firefox build that spoofs its fingerprint in C++ rather than through injected JavaScript. This server drives it with Playwright over Juggler, Firefox’s automation protocol. Requests that need no browser go through impit, which presents a Firefox TLS fingerprint.

Use the browser when a page needs JavaScript, a login or a person looking at it. Use HTTP when you only need the data.

  • ✅ Camoufox with its fingerprint spoofing, driven over Juggler instead of CDP
  • ✅ HTTP with a Firefox TLS fingerprint, reusing the browser’s cookies when you want
  • ✅ Replies that say what happened: a click reports whether the page changed, navigated or opened a tab
  • ✅ Passwords, cookies and tokens hidden from tool output by default
  • ✅ Logins kept in a persistent profile, or a temporary profile for one-off sessions
  • ✅ Search through an endpoint you control (SearXNG, Brave, Tavily, Exa), with no result-page scraping
  • ✅ Works with Claude Code, Cursor, Codex, Gemini CLI, OpenCode, Droid and other MCP clients

Install

You need Node.js 18 or newer. The Camoufox browser downloads itself the first time browser_launch is called: about 1.3 GB, usually 2 to 5 minutes, about 2.4 GB on disk (measured on macOS arm64 with Camoufox 158). The download runs in the background. browser_launch answers within a minute with how far it got and asks to be called again, and server_status shows the progress. Tools that need no browser, such as scrape_markdown and http_request, work meanwhile. A browser deleted to free disk space is downloaded again the same way.

Add the server to your client.

Claude Code

All projects:

claude mcp add camoufox --scope user -- npx -y mcp-camoufox@latest

Current project only:

claude mcp add camoufox -- npx -y mcp-camoufox@latest

Codex CLI

Add to ~/.codex/config.toml:

[mcp_servers.camoufox]
command = "npx"
args = ["-y", "mcp-camoufox@latest"]

OpenCode

Add to ~/.config/opencode/opencode.json:

{
  "mcp": {
    "camoufox": {
      "type": "local",
      "command": ["npx", "-y", "mcp-camoufox@latest"],
      "enabled": true
    }
  }
}

Other clients

Open the one you use:

在 GitHub 查看完整 README

安装

npx -y mcp-camoufox@latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "camoufox": { "command": "npx", "args": ["-y", "mcp-camoufox@latest"] } } }