Firefox MCP

v0.11.1
io.github.mozilla/firefox-mcp Checked 1 hour ago Published 3 days ago

Control and debug Firefox: navigate, fill forms, inspect network and console, profile.

Values you need

VariableWhat it is
FIREFOX_HEADLESSoptional Set to true to run Firefox without a visible window.
START_URLoptional URL to open when the server starts.

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add firefox-mcp -- npx -y @mozilla/firefox-mcp@0.11.1 --tool-preset developer
Add to claude_desktop_config.json
{
  "mcpServers": {
    "firefox-mcp": {
      "args": [
        "-y",
        "@mozilla/firefox-mcp@0.11.1",
        "--tool-preset",
        "developer"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "firefox-mcp": {
      "args": [
        "-y",
        "@mozilla/firefox-mcp@0.11.1",
        "--tool-preset",
        "developer"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "firefox-mcp": {
      "args": [
        "-y",
        "@mozilla/firefox-mcp@0.11.1",
        "--tool-preset",
        "developer"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.firefox-mcp]
command = "npx"
args = ["-y", "@mozilla/firefox-mcp@0.11.1", "--tool-preset", "developer"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_pages, new_page, navigate_page, select_page, close_page, get_page_text, take_snapshot, resolve_uid_to_selector, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json