Provides stealthy browser automation using a specialized Firefox fork with advanced anti-detection, custom preferences, and fingerprint spoofing capabilities.
Allows for the blocking of WebGL to prevent hardware-based browser fingerprinting and enhance user privacy during automated sessions.
Enables blocking of WebRTC to protect user identity by preventing IP address leaks while browsing.
Click on "Install 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 MCP ServerVisit news.ycombinator.com and summarize the top stories"
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 Server 🦊
An MCP (Model Context Protocol) server that provides browser automation capabilities using Camoufox - a privacy-focused Firefox fork with advanced anti-detection features.
Features
🛡️ Advanced Anti-Detection: Rotating OS fingerprints, realistic cursor movements, and browser fingerprint spoofing
🔧 Enhanced Parameters: Configurable wait strategies, timeouts, viewport dimensions, and more
🌐 Cross-Platform: Works on Windows, macOS, and Linux (including Docker)
📸 Screenshot Support: Capture page screenshots alongside HTML content
🚀 Easy Integration: Compatible with Claude Desktop, VS Code, Cursor, Windsurf, and more
Requirements
Node.js 18 or higher (Node.js 20+ recommended for full camoufox CLI support)
Python 3.x (for running tests)
Configuration for AI Assistants
Run the following command to add the Camoufox MCP server to Claude Code:
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
Using npx (Recommended)
Using Docker
Using Global Installation
Add to your .continue/config.json:
Add to your Cursor settings (Preferences → Features → MCP):
Add to your Windsurf configuration file at ~/.windsurf/mcp.json:
Add to VS Code settings.json:
Installation
Quick Start with npx
The easiest way to use Camoufox MCP Server is with npx (no installation required):
Docker Installation
Run the server using Docker:
NPM Installation
Install globally:
Or add to your project:
Usage
Once configured, the Camoufox MCP server provides a browse tool that your AI assistant can use to navigate websites and retrieve content.
Natural Language Triggers
The AI assistant will automatically use the browse tool when you use phrases like:
Basic Browsing:
"Search for information about..."
"Visit this website: ..."
"Check what's on ..."
"Navigate to ..."
"Fetch content from ..."
"Browse to ..."
"Go to the website ..."
"Open this page: ..."
"Look at this URL: ..."
"Scrape data from ..."
Privacy & Stealth:
"Browse anonymously..."
"Visit privately..."
"Browse in stealth mode..."
"Hide my IP while browsing..."
"Browse through a proxy..."
"Block tracking while visiting..."
Screenshots:
"Take a screenshot of..."
"Capture an image of..."
"Show me visually what ... looks like"
"I want to see how ... appears"
Performance:
"Quick browse to..."
"Fast loading of..."
"Browse without images..."
"Lightweight browsing to..."
"Text-only content from..."
Basic Usage Examples
The AI will automatically use the browse tool to navigate to websites and retrieve their HTML content.
Advanced Usage
More Conversational Examples
The AI can use advanced parameters like:
os: Spoof operating system (windows, macos, linux)waitStrategy: How to wait for page load (domcontentloaded, load, networkidle)timeout: Maximum time to wait (5-300 seconds)viewport: Custom browser dimensionsscreenshot: Capture a screenshothumanize: Enable realistic mouse movementslocale: Set browser locale (e.g., 'en-US', 'fr-FR')block_webrtc: Block WebRTC for privacyproxy: Use a proxy server for requestsenable_cache: Enable browser cachingwindow: Set fixed window size
Example with Privacy Options
Example with Custom Preferences
Example with Performance Optimization
Privacy & Stealth Examples
Screenshot Examples
Performance & Speed Examples
Advanced Privacy Combinations
Cross-Origin & Iframe Interaction
Tool Parameters
The browse tool accepts the following parameters:
Parameter | Type | Default | Description |
| string | required | The URL to navigate to |
| enum | random | Operating system to spoof: 'windows', 'macos', or 'linux' |
| enum | 'domcontentloaded' | Wait strategy: 'domcontentloaded', 'load', or 'networkidle' |
| number | 60000 | Page load timeout in milliseconds (5000-300000) |
| boolean | true | Enable realistic cursor movements |
| string | system default | Browser locale (e.g., 'en-US') |
| object | {width: 1920, height: 1080} | Browser viewport dimensions |
| boolean | false | Capture a screenshot of the page (triggers: "screenshot", "image", "capture", "show visually") |
| boolean | true | Block WebRTC entirely for enhanced privacy (triggers: "private", "stealth", "hide IP") |
| string/object | none | Proxy configuration (triggers: "through proxy", "anonymously", "hide IP", "via proxy") |
| boolean | false | Cache pages and requests (uses more memory) |
| object | none | Custom Firefox user preferences |
| array | none | List of default addons to exclude |
| array | random | Fixed window size [width, height] instead of random |
| array | none | Additional browser command-line arguments |
| boolean | false | Block all images for faster loading (triggers: "fast", "quick", "no images", "text only") |
| boolean | false | Block WebGL to prevent fingerprinting (triggers: "maximum privacy", "block tracking") |
| boolean | false | Disable Cross-Origin-Opener-Policy for iframe interaction (triggers: "iframe", "embedded content") |
| boolean | true | Auto-detect geolocation based on IP address |
| boolean | auto | Run in headless mode (auto-detects best mode if not set) |
Development
Building from Source
Running Tests
Docker Build
Troubleshooting
Common Issues
"Camoufox browser not found"
Run
npx camoufox fetchto download the browserFor Docker, the browser is pre-installed
"Cannot find module"
Ensure you've run
npm installor are using npxFor global install:
npm install -g camoufox-mcp-server
"MCP server not responding"
Check that the server is properly configured in your AI assistant
Verify the command path is correct
Check logs for error messages
Debug Mode
To see detailed logs, run the server directly:
Privacy & Security
Camoufox MCP Server uses the Camoufox browser, which includes:
Fingerprint spoofing to prevent tracking
Built-in uBlock Origin for ad blocking
WebGL and WebRTC spoofing
Canvas fingerprint protection
Timezone and locale spoofing
License
MIT License - see LICENSE file for details.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/AmazingFeature)Commit your changes (
git commit -m 'Add some AmazingFeature')Push to the branch (
git push origin feature/AmazingFeature)Open a Pull Request
Acknowledgments
Camoufox - The privacy-focused browser engine
Model Context Protocol - The MCP specification
Anthropic - For creating the MCP standard
Support
For issues and feature requests, please use the GitHub Issues page.