Firefox DevTools MCP
local MCP serverFirefox DevTools MCP is a local MCP server: Control and debug Firefox: navigate, fill forms, inspect network and console, profile. Install it from npm as @mozilla/firefox-devtools-mcp.
Installation
Terminal
claude mcp add firefox-devtools-mcp -e FIREFOX_HEADLESS=... -e START_URL=... -- npx -y @mozilla/firefox-devtools-mcp
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"firefox-devtools-mcp": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp"
],
"env": {
"FIREFOX_HEADLESS": "...",
"START_URL": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
FIREFOX_HEADLESS,START_URL
Summary
Control and debug Firefox: navigate, fill forms, inspect network and console, profile.
Firefox DevTools MCP vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| Firefox DevTools MCP | 447 | Local | Yes | npm |
| agent-device | 4,793 | Local | No | npm |
| browser-use | 117K | Local | No | pypi |
| Skyvern | 23K | Hosted | Yes | None |
| agent-device | 4,793 | Local | No | npm |
Questions
It reads 2 environment variables: FIREFOX_HEADLESS, START_URL. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
Firefox DevTools MCP is a local MCP server distributed as the npm package @mozilla/firefox-devtools-mcp.
Run: claude mcp add firefox-devtools-mcp -e FIREFOX_HEADLESS=... -e START_URL=... -- npx -y @mozilla/firefox-devtools-mcp
Run: codex mcp add firefox-devtools-mcp --env FIREFOX_HEADLESS=... --env START_URL=... -- npx -y @mozilla/firefox-devtools-mcp
Similar MCP servers
NameStars
- agent-deviceio.github.callstackincubator/agent-device4,793
- browser-usecom.browser-use/browser-use117K
- Skyvernio.github.Skyvern-AI/skyvern23K
- agent-deviceio.github.callstack/agent-device4,793
- Flutter MCP Toolkitio.github.Arenukvern/flutter-mcp-toolkit380
- Browser Automationio.github.mindstone/mcp-server-browser-automation12
- Compiler Explorerio.github.compiler-explorer/compiler-explorer19K
- mcpio.github.kubeshark/mcp12K