Best for
- Local Firefox automation
- Web debugging and development workflows
- Users of Claude Code, Claude Desktop, Cursor, or Cline
An official Mozilla project suited to local Firefox automation and development debugging. Its broad capabilities also create significant browser-session and privileged-access risks, so use a dedicated profile and enable only the required modules.
Strongest · Documentation 14/20 Weakest · Security and permissions 8/20
Static review · not runListed 2026-07-29
Read the FMRS scoring method →Runtime:Node.js 20.19.0+ · Prebuilt binary Firefox 100+ · Docker
START_URL
URL opened when the server starts, e.g. about:blank
FIREFOX_HEADLESS
Set to true to run Firefox without UI
ACCEPT_INSECURE_CERTS
Set to true to ignore TLS certificate errors
CONNECT_EXISTING
Set to true to attach to an already-running Firefox instead of launching one
MARIONETTE_PORT
Marionette port for connect-existing mode, default 2828
TOOL_PRESET
Tool module preset: slim/basic/developer/mozilla/all
ANDROID_PACKAGE
Android Firefox package name, default org.mozilla.firefox
MOZ_REMOTE_ALLOW_SYSTEM_ACCESS
Set to 1 to enable privileged modules and evaluate_privileged_script
DEBUG
Set to * for verbose debug logging
Requires Node.js ≥ 20.19.0 and Firefox 100+. The recommended approach is npx: run npx @mozilla/firefox-devtools-mcp@latest, or add the provided Claude Code configuration to the client settings. Use --firefox-path to specify the Firefox binary and options such as --headless as needed.
{"mcpServers":{"firefox-devtools":{"command":"npx","args":["-y","@mozilla/firefox-devtools-mcp@latest","--headless","--viewport","1280x720"],"env":{"START_URL":"about:blank"}}}}
Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"firefox-devtools": {
"command": "npx",
"args": [
"-y",
"@mozilla/firefox-devtools-mcp@latest",
"--headless",
"--viewport",
"1280x720"
],
"env": {
"START_URL": "about:blank"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add firefox-devtools -e START_URL=about:blank -- npx -y @mozilla/firefox-devtools-mcp@latest --headless --viewport 1280x720
Run it in a terminal; replace any <…> placeholders with your own values first.
list_pages, take_snapshot and navigate_page should appear in the client's tool list; calling list_pages and getting the open tabs proves the connection works.
Once connected, you can ask your AI assistant things like:
No matching tools
Listed from the project's documentation, not tested by this site.
A Mozilla-maintained Model Context Protocol server that automates Firefox through Selenium WebDriver using WebDriver BiDi. It supports page inspection and control, network and console observation, screenshots, script execution, profiling, and screencasting. It requires a local Firefox installation and cannot run directly on cloud hosting services such as glama.ai.
Microsoft's official Playwright-based browser automation MCP server
The Chrome team's official MCP server exposing Chrome DevTools capabilities to AI assistants
Control the FSB browser extension from any MCP client for DOM-first AI browser automation.
Playwright-based browser automation MCP server
Source revision 2eb2cb2c84bd Data synced 2026-10-19 Read the FMRS scoring method