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
Visit Server

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured