camoufox-mcp
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-mcpGo to google.com and search for 'camoufox browser'"
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
Deprecated: moved to camoufox-browser
This repository is deprecated. The project has moved to:
Repository: https://github.com/rlgrpe/camoufox-browser-cli
A Python MCP (Model Context Protocol) server providing full browser automation with Camoufox anti-detection capabilities.
Features
21 browser automation tools for complete browser control
Anti-detection: Automatic fingerprint randomization to avoid bot detection
Lazy initialization: Browser only launches on first tool call
Persistent sessions: Browser persists between tool calls
Tab management: Support for multiple tabs/pages
Form automation: Fill forms, upload files, handle dialogs
Installation
Quick Start (uvx - recommended)
uvx camoufox-mcpUsing pipx
pipx run camoufox-mcpUsing pip
pip install camoufox-mcp
camoufox-mcpFrom source
# Clone the repository
git clone https://github.com/rlgrpe/camoufox-mcp-python.git
cd camoufox-mcp-python
# Install with uv
uv syncInstall Camoufox browser
After installing the package, you need to download the Camoufox browser binary. The command depends on how you installed the package:
If installed via uvx (recommended)
uvx camoufox fetchIf installed via pipx
pipx run camoufox fetchIf installed via pip
# macOS
python3 -m camoufox fetch
# Linux
python -m camoufox fetch
# Windows
camoufox fetchIf installed from source (uv)
uv run python -m camoufox fetchLinux system dependencies
On Linux, you also need to install system dependencies:
# Ubuntu/Debian
sudo apt install -y libgtk-3-0 libx11-xcb1 libasound2
# Arch
sudo pacman -S gtk3 libx11 libxcb cairo libasound alsa-libTo uninstall the browser binary
# Use the same method as installation:
uvx camoufox remove # if using uvx
pipx run camoufox remove # if using pipx
camoufox remove # if using pip
uv run python -m camoufox remove # if using uv from sourceUsage
Start the server
# Using uvx (recommended)
uvx camoufox-mcp
# Using uv (from source)
uv run camoufox-mcp
# Or as a module
python -m camoufox_mcpAdd to Claude Code
claude mcp add camoufox-mcp -- uvx camoufox-mcpClaude Desktop Configuration
Add to your Claude Desktop config file:
{
"mcpServers": {
"camoufox-mcp": {
"command": "uvx",
"args": ["camoufox-mcp"]
}
}
}Or if running from source:
{
"mcpServers": {
"camoufox-mcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/camoufox-mcp-python",
"camoufox-mcp"
]
}
}
}Tools Reference
Navigation (4 tools)
Tool | Description |
| Navigate to a URL |
| Go back to the previous page |
| Capture accessibility snapshot of the current page |
| Wait for text to appear/disappear or a specified time |
Interaction (6 tools)
Tool | Description |
| Click on an element |
| Type text into an element |
| Hover over an element |
| Drag and drop between two elements |
| Press a key on the keyboard |
| Select an option in a dropdown |
Page (4 tools)
Tool | Description |
| Evaluate JavaScript on the page or element |
| Get console messages |
| Get network requests |
| Take a screenshot |
Forms (3 tools)
Tool | Description |
| Fill multiple form fields |
| Upload files |
| Handle dialogs (alert, confirm, prompt) |
Session (4 tools)
Tool | Description |
| List, create, close, or select tabs |
| Resize the browser window |
| Close the browser |
| Install Camoufox browser |
Configuration
The browser can be configured via the BrowserConfig class in camoufox_mcp/config.py. Available options:
Parameter | Type | Default | Description |
| str | None | OS to spoof (windows/macos/linux) |
| bool/str | False | Headless mode (or 'virtual') |
| bool/float | True | Human-like cursor movements |
| bool | True | Auto-detect geolocation from IP |
| str/dict | None | Proxy configuration |
| bool | True | Block WebRTC leaks |
| bool | False | Block WebGL fingerprinting |
| bool | False | Block image loading |
| str | None | Browser locale |
| dict | None | Viewport dimensions |
| bool | True | Enable caching |
| int | 30000 | Page load timeout (ms) |
| str | "domcontentloaded" | Wait strategy |
| bool | False | Enable uBlock Origin |
Proxy Configuration Example
proxy = {
'server': 'http://proxy.example.com:8080',
'username': 'user',
'password': 'pass'
}Development
# Install dev dependencies
uv sync --dev
# Run tests
uv run pytest
# Format code
uv run ruff format
# Lint
uv run ruff checkLicense
MIT License - see LICENSE for details.
Related Projects
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rlgrpe/camoufox-mcp-python'
If you have feedback or need assistance with the MCP directory API, please join our Discord server