MCP Directory

Playwright Server (Python) vs Browserbase MCP (Stagehand)

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

 Playwright Server (Python)

MCP server exposing Playwright browser-automation tools: navigate, click, fill, screenshot and scrape pages.

Unverified
stdio (local)
No auth
Stale
Python
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
LanguagePythonTypeScript
Transportstdio (local)stdio (local)
AuthNoneAPI key
GitHub stars1883.0k
Last commit1 year ago18 days ago
Verified
Actively maintained
Installnpx -y @browserbasehq/mcp
RepoOpen Open

Verdict

Pick Playwright Server (Python) if you want zero-setup with no API key.

Pick Browserbase MCP (Stagehand) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Add Playwright Server (Python)

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

{
  "mcpServers": {
    "playwright-server-python": {
      "command": "uvx",
      "args": [
        "playwright-server"
      ]
    }
  }
}

Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.

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

Playwright Server (Python) or Browserbase MCP (Stagehand) — which is better?

Pick Playwright Server (Python) if you want zero-setup with no API key. Pick Browserbase MCP (Stagehand) if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.

Can I use both Playwright Server (Python) 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 Playwright Server (Python) and Browserbase MCP (Stagehand) work with Claude, Cursor and Windsurf?

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