Camoufox Browser MCP

Camoufox Browser MCP

Provides 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.

Category
访问服务器

README

🦊 Camoufox MCP Browser

MCP Docker Python

A Model Context Protocol (MCP) server designed to provide stealthy web browsing capabilities (anti-detection) to AI agents using the Camoufox engine.

🚀 Goal

Enable AI agents (such as Claude, GPT, etc.) to interact with the modern web without being blocked, maintaining persistent sessions and allowing detailed visual and structural inspection of content.

✨ Key Features

  • 🕵️ Advanced Stealth: Engine based on Camoufox (custom Firefox) with C++ level fingerprint spoofing.
  • 🔗 Session Management: Hash-based system to maintain multiple independent and persistent navigation contexts.
  • 📸 Dual Screenshots: Returns screenshots in Base64 directly to the agent and optionally saves them to local files.
  • 🛠️ Interaction Tools: Navigation, clicks, text typing, scrolling, and link extraction.
  • 🐳 Docker Native: Optimized container with all necessary system dependencies to run browsers in headless mode.

🛠️ Available Tools

Tool Description
browser_navigate Navigates to a URL and creates/reuses a persistent session.
browser_interact Performs actions like click, type, scroll_up, scroll_down.
browser_get_markdown Converts current page to Markdown for AI token efficiency.
browser_list_links Extracts all links and their descriptive text from the current page.
browser_screenshot Captures the current view (Base64 + optional file).
browser_snapshot Retrieves the raw HTML content of the session.
browser_sessions Lists the hashes of all active sessions.

📦 Installation and Usage

1. Requirements

  • Docker and Docker Compose.
  • Python 3.11+ (to run test scripts).

2. Deployment with Docker

# Clone and start
git clone https://github.com/danielmiranda/camoufox-browser-mcp.git
cd camoufox-browser-mcp
docker-compose up --build -d

3. Configuration in MCP Clients (e.g., Claude Desktop)

Add the following to your configuration file:

{
  "mcpServers": {
    "camoufox-browser": {
      "command": "docker",
      "args": ["exec", "-i", "camofox-mcp", "python", "src/mcp_server.py"]
    }
  }
}

🧪 Verification Tests

We have included example scripts to verify integration:

  • General Test: python examples/test_mcp_docker.py (Simulates full agent flow).
  • ScrapingBee Test: python examples/scrapingbee_test.py (Navigates, lists links, and performs clicks).

⚠️ Current Limitations

  • Resource Consumption: Since it manages persistent sessions, memory usage can scale with many open tabs.
  • Headless Mode: Some websites specifically detect headless rendering despite advanced spoofing (though Camoufox minimizes this).
  • Network: Loading speed depends entirely on the Docker host's connectivity.

🗺️ Roadmap (Future)

  • [ ] AI-Optimized Markdown: Tool to extract web content directly as Markdown (token saving).
  • [ ] Accessibility Tree tools: Tools to interact based on accessibility roles instead of CSS selectors.
  • [ ] Proxy Rotation: Integrated proxy management for each hashed session.
  • [ ] Captcha Solving: Integration with captcha solving services for fully autonomous flows.

Built with ❤️ for the AI Agent community.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
mcp-server-qdrant

mcp-server-qdrant

这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。

官方
精选
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选