MCP Directory

Firefox DevTools MCP vs Browserbase MCP (Stagehand)

A side-by-side comparison of two Browser Automation servers — tools, transport, auth, maintenance, and copy-paste config for each.

 Firefox DevTools MCP

Automate and inspect Firefox via WebDriver BiDi (Selenium) from any MCP client.

Unverified
stdio (local)
No auth
TypeScript
Browserbase MCP (Stagehand)

Official Browserbase cloud-browser MCP built on Stagehand — natural-language act/extract/observe.

Verified
stdio (local)
API key
TypeScript
CategoryBrowser AutomationBrowser Automation
LanguageTypeScriptTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars2283.0k
Last commit4 days ago18 days ago
Verified
Actively maintained
Installclaude mcp add firefox-devtools npx @mozilla/firefox-devtools-mcp@latestnpx -y @browserbasehq/mcp
RepoOpen Open

Verdict

Pick Firefox DevTools MCP if you want zero-setup with no API key, and you need the broadest set of tools.

Pick Browserbase MCP (Stagehand) if you prefer the more popular, battle-tested option, and you want a verified, documented setup.

Add Firefox DevTools MCP

Install / run
claude mcp add firefox-devtools npx @mozilla/firefox-devtools-mcp@latest

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "firefox-devtools-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@mozilla/firefox-devtools-mcp@latest",
        "--headless",
        "--viewport",
        "1280x720"
      ],
      "env": {
        "START_URL": "about:blank"
      }
    }
  }
}

Add Browserbase MCP (Stagehand)

Install / run
npx -y @browserbasehq/mcp

Paste into ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "browserbase-mcp-stagehand": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<your-browserbase-api-key>",
        "BROWSERBASE_PROJECT_ID": "<your-browserbase-project-id>",
        "GEMINI_API_KEY": "<your-gemini-api-key>"
      }
    }
  }
}

FAQ

Firefox DevTools MCP or Browserbase MCP (Stagehand) — which is better?

Pick Firefox DevTools MCP if you want zero-setup with no API key, and you need the broadest set of tools. Pick Browserbase MCP (Stagehand) if you prefer the more popular, battle-tested option, and you want a verified, documented setup.

Can I use both Firefox DevTools MCP and Browserbase MCP (Stagehand)?

Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.

Do Firefox DevTools MCP and Browserbase MCP (Stagehand) work with Claude, Cursor and Windsurf?

Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.