FoxMCP — Claude Code MCP server: what it does, how to install
FoxMCP — an MCP server for Claude Code that hooks into your active Firefox session. Directs tabs, reads web pages, and queries history without spinning up a blank browser.
MIT ★ 38 updated 2026-11-14
claude mcp add foxmcp -- uvx foxmcpWhat FoxMCP does
FoxMCP attaches an AI assistant directly to your running Firefox session. The server grants access to currently open tabs, logged-in sites, bookmarks, containers, and navigation history. The system operates in two pieces: an extension inside Firefox and a local Python service communicating over WebSocket port 8765.
Tools expose window control, tab grouping, DOM text extraction, JavaScript evaluation, screenshots, and local file attachment for uploads. Multiple clients can share a single browser instance using the --single-instance flag. Operating the server requires Python 3.10+, Firefox with the FoxMCP extension added, and the uv package runner.
What it helps with
- control existing tabs and windows in an active Firefox profile
- extract text and HTML from authenticated web pages
- search browser history and saved bookmarks
- attach local files to web upload forms
Example prompts for the agent
- List the connected Firefox profiles and their open tabs
- Take a screenshot of the current tab and grab its text content
- Open https://example.org in a new tab
How to install FoxMCP
Platform CLI
claude mcp add foxmcp -- uvx foxmcpuvx runs the command named after the package; if the README names another one, use uvx --from foxmcp <command>
Platform CLI
codex mcp add foxmcp -- uvx foxmcpuvx runs the command named after the package; if the README names another one, use uvx --from foxmcp <command>
Config file
{
"mcpServers": {
"foxmcp": {
"command": "uvx",
"args": [
"foxmcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from foxmcp <command>
Config file
{
"servers": {
"foxmcp": {
"type": "stdio",
"command": "uvx",
"args": [
"foxmcp"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from foxmcp <command>
Platform CLI
gemini mcp add foxmcp uvx foxmcpuvx runs the command named after the package; if the README names another one, use uvx --from foxmcp <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about FoxMCP
How to install FoxMCP in Claude Code?
Install the FoxMCP extension in Firefox, then run claude mcp add foxmcp -- uvx foxmcp in your terminal.
How does FoxMCP differ from firefox-devtools-mcp?
FoxMCP connects to your everyday Firefox instance to access existing logins and tabs. The official devtools server creates a fresh, separate browser instance meant for test automation and debugging.
What is required to run FoxMCP?
You need Firefox, the FoxMCP browser add-on, Python 3.10+, and the uv tool installed locally.