Camoufox Browser MCP
Provides stealthy browser automation capabilities using a custom Firefox build (Camoufox), enabling tools for website navigation, element interaction, session management, and capturing page snapshots or screenshots.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Camoufox Browser MCPNavigate to news.ycombinator.com and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π¦ Camoufox MCP Browser
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.
Related MCP server: camoufox-mcp
β¨ 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 |
| Navigates to a URL and creates/reuses a persistent session. |
| Performs actions like |
| Converts current page to Markdown for AI token efficiency. |
| Extracts all links and their descriptive text from the current page. |
| Captures the current view (Base64 + optional file). |
| Retrieves the raw HTML content of the session. |
| 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 -d3. 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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides privacy-focused browser automation using a specialized Firefox fork with advanced anti-detection and fingerprint spoofing capabilities. It enables AI assistants to navigate websites, retrieve HTML content, and capture screenshots while maintaining anonymity.17117 npm47MIT
- AlicenseAqualityDmaintenanceEnables browser automation with anti-detection features, including navigation, interaction, form filling, and session management.2238 PyPI10MIT
- AlicenseBqualityCmaintenanceEnables LLMs to drive a stealthy, fingerprint-spoofed Firefox browser via MCP tools, supporting navigation, interaction, extraction, and multi-session management.8421 PyPI1MIT
- AlicenseAqualityCmaintenanceEnables AI agents to fully control a browser for web automation, including navigation, clicking, typing, scrolling, screenshots, and DOM inspection, with session persistence and anti-bot bypass.4027 npmMIT