Camoufox MCP
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 MCPlaunch a browser session and take a full-page screenshot of example.com"
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 automation server for AI agents — powered by Camoufox and the Model Context Protocol.
What is Camoufox MCP?
Camoufox MCP is a production-ready MCP server that exposes browser automation capabilities to AI agents. It wraps Camoufox (a privacy-focused Firefox fork built on Playwright) behind a clean, modular API designed for agent workflows.
It is not a thin Playwright wrapper.
It is a structured browser runtime with session management, profile isolation, a security layer, and an extraction engine — all accessible through MCP tools.
Related MCP server: EyeBrowse
Features
Session management — multiple independent browser sessions with unique IDs
Profile system — persistent browser profiles with per-profile configuration
Navigation — goto, back, forward, reload with proper wait strategies
Interaction — click, type, press, scroll with semantic selector support
Extraction — structured text, HTML, links, and metadata extraction
Screenshots — full-page, viewport, or element-level screenshots
JavaScript execution — sandboxed
browser_evaltoolTab management — open, close, switch between tabs
Download management — controlled file downloads with path safety
Security layer — permission model and URL/path validation
Structured logging — session-level traceability, plain-text and JSON modes
Graceful shutdown — no orphaned browser processes
Architecture
AI Client
│ MCP (stdio)
▼
Camoufox MCP Server
├── Tool Registry
├── BrowserManager ──► Camoufox (AsyncCamoufox)
├── SessionManager
├── ExtractionEngine
├── DownloadManager
└── Security / Permission LayerEach MCP tool follows the pattern:
MCP Tool → Service → Manager → Camoufox Adapter → BrowserInstallation
With uv (recommended)
git clone https://github.com/camoufox-mcp/camoufox-mcp
cd camoufox-mcp
uv syncFrom PyPI (once published)
uv tool install camoufox-mcpQuick Start
# 1. Copy and configure environment
cp .env.example .env
# 2. Start the MCP server
camoufox-mcp
# or with uv
uv run camoufox-mcpMCP Configuration
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"camoufox": {
"command": "uv",
"args": ["run", "--directory", "/path/to/camoufox-mcp", "camoufox-mcp"]
}
}
}Available Tools (Phase 1)
Tool | Description |
| Launch a new browser session |
| Close an existing session |
| List active sessions |
More tools are added in subsequent phases — see docs/tools.md.
Configuration
All settings are controlled via environment variables.
See .env.example and docs/configuration.md.
Development
# Install with dev dependencies
uv sync --extra dev
# Lint
uv run ruff check src/
# Format
uv run ruff format src/
# Tests
uv run pytestDocker
docker build -t camoufox-mcp .
docker run --rm -i camoufox-mcpSee Dockerfile for configuration options.
Security
This project is designed for legitimate browser automation, testing, research, and accessibility workflows. See docs/security.md for the full security model.
Roadmap
Phase 2: Navigation, tabs, session persistence
Phase 3: Click, type, press, scroll, wait
Phase 4: Extraction engine (text, HTML, links, structured data)
Phase 5: Screenshots, downloads
Phase 6: Security / permission layer
Phase 7: Unit + integration tests
Phase 8: Full documentation
Phase 9: PyPI release, Docker image
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Stealth web browser for agents: search, fetch, click, download and type in persistent MCP sessions.
Hyperbrowser MCP — wraps the Hyperbrowser AI-agent browsing API
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Stealth web automation for AI agents. Login, signup, navigate, screenshot.
Related MCP Servers
- AlicenseAqualityAmaintenanceProvides 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.17678 npm49MIT
- AlicenseBqualityCmaintenanceEnables LLMs to drive a stealthy, fingerprint-spoofed Firefox browser via MCP tools, supporting navigation, interaction, extraction, and multi-session management.8447 PyPI1MIT
- AlicenseNot gradedqualityAmaintenanceBrowser automation for AI agents: tabs, cookies, arbitrary JS execution (via CDP, bypasses CSP), screenshots, downloads, proxy switching, data cleanup. Chrome & Edge multi-browser, full permissions, zero configuration. 25+ MCP tools.1MIT
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to control a persistent local browser with live tabs, navigation, interaction, inspection, and state management through MCP.6-