Full browser automation: navigate, click, screenshot, and scrape.
- Home
- Top MCPs for Browser Automation
- Stagehand
Stagehand
AI-native browser automation: act, observe, and extract in plain English.
Quick answer
What it does
Wraps Playwright with three AI-native primitives: `act` (do something), `observe` (find candidates), `extract` (pull structured data). The agent gives intent in English; Stagehand turns it into selectors at runtime.
Best for
- Agentic browsing
- Resilient selectors via AI
- Structured extraction from messy pages
- Browser tasks described in English
Not for
- High-throughput scraping
- Selector-stable workflows
Source: top-mcps.com/mcp/stagehand — verified Nov 2026
Setup recipe
Pick your client, then follow the three steps.
- 1
Install
claude_desktop_config.jsonjson{ "mcpServers": { "stagehand": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.browserbase.com/mcp" ] } } }Claude Desktop launches stdio servers, so mcp-remote bridges to the hosted endpoint and opens the sign-in in your browser. On Pro, Max, Team and Enterprise you can skip the file: Settings → Connectors → Add custom connector → https://mcp.browserbase.com/mcp. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
CLI or .mcp.jsonshellclaude mcp add --transport http stagehand https://mcp.browserbase.com/mcpThen run /mcp inside Claude Code to finish the sign-in. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
.cursor/mcp.jsonjson{ "mcpServers": { "stagehand": { "url": "https://mcp.browserbase.com/mcp" } } }Global path: ~/.cursor/mcp.json. Cursor shows "Needs login" once it connects — click it to authorize. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
.vscode/mcp.jsonjsonc{ "servers": { "stagehand": { "type": "http", "url": "https://mcp.browserbase.com/mcp" } } }VS Code uses the "servers" key. Run MCP: List Servers → Start Server and allow the sign-in. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
~/.codeium/windsurf/mcp_config.jsonjson{ "mcpServers": { "stagehand": { "serverUrl": "https://mcp.browserbase.com/mcp" } } }Windsurf uses "serverUrl" for hosted servers. Open via Cascade → hammer icon → Configure. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
cline_mcp_settings.jsonjson{ "mcpServers": { "stagehand": { "command": "npx", "args": [ "-y", "mcp-remote", "https://mcp.browserbase.com/mcp" ] } } }Bridged through mcp-remote. Open via the Cline sidebar → MCP Servers → Edit. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
~/.continue/config.jsonjson{ "experimental": { "modelContextProtocolServers": [ { "transport": { "type": "streamable-http", "url": "https://mcp.browserbase.com/mcp" } } ] } }Continue takes the hosted URL directly in the transport block. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
CLIshellcodex mcp add stagehand --url https://mcp.browserbase.com/mcpCodex detects OAuth support and opens the browser to authorize. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
~/.config/zed/settings.jsonjsonc{ "context_servers": { "stagehand": { "command": { "path": "npx", "args": [ "-y", "mcp-remote", "https://mcp.browserbase.com/mcp" ] } } } }Bridged through mcp-remote under "context_servers". Settings live-reload on save. This endpoint expects an API key, usually as an Authorization header — set it where your client configures headers (mcp-remote: add --header "Authorization: Bearer <key>").
ChatGPT → Settings → Connectors (remote URL)json{ "name": "Stagehand", "transport": "http", "url": "https://mcp.browserbase.com/mcp" }Paste this into Settings → Connectors → Add custom connector. Requires ChatGPT Pro / Team / Enterprise / Edu with Developer mode enabled.
- 2
Set required secrets
No credentials required — this MCP runs over stdio without authentication.
- 3
Try a minimum working prompt
Minimum working prompt pending verification. Try any prompt from the MCP’s README once installed.
Tools & permissions
Tools list pending verification. The server exposes tools over MCP; we haven’t yet parsed its capability manifest into this page. Check the GitHub repo for the authoritative list.
Security & scope
- Access scope
- Exec
- Sandbox
- Inherits Browserbase's isolated cloud sessions. Pages are visited under residential IPs by default.
- Gotchas
- Each AI-driven action makes a model call; on long runs the browser-minutes add up even when the default model is covered.
- The Browserbase API key (and a model key, if you bring one) travel in the URL query string, so they land in client config files.
Agent prompt pack
— copy into Claude, Cursor, or ChatGPT.Recommend the best MCP servers for [task: e.g. browser automation work] in [client: Claude]. Constraints: - Prefer tools that are [official | open-source | read-only] — pick what matters for my use case. - Exclude MCPs that require [e.g. a paid plan, OAuth-only flows, remote-only transport]. - Return at most 3 picks, ranked. For each pick include: 1. One-sentence rationale. 2. The ready-to-paste install snippet for my client. 3. Any required secrets I need to create before installing. Cross-check the top-mcps.com listing: https://top-mcps.com/top-mcps-for-browser-automation
Compare Stagehand MCP vs [Browserbase MCP] for the following job: [describe the job, e.g. "let an agent create GitHub issues on bug triage"]. Judge them on: - Setup time and complexity (what a new user hits first). - Auth model (none / API key / OAuth 2.1) and credential risk. - Transport (stdio / Streamable HTTP / SSE) and where the server runs. - Required secrets and the blast radius if they leak. - Operational risk in an unattended agent loop. - Which one is "good enough" for a weekend prototype vs. production. End with one sentence: which should I pick for my scenario, which is: [my scenario]. References: - https://top-mcps.com/mcp/stagehand - top-mcps.com listing for Browserbase
Install the Stagehand MCP server for my [client: Claude] at the default config path for that client. Use the exact install snippet published at https://top-mcps.com/mcp/stagehand (fetch https://top-mcps.com/mcp/stagehand.json for the canonical server.json if you can read URLs). Before finishing: 1. Create the required secrets (no secrets) and put them in the appropriate env block — do not hard-code them. 2. Restart or reload the client so it picks up the new server. 3. Verify the server is connected (green / running state) and at least one tool is listed. 4. If anything fails, read the client's MCP logs and report the exact error — do not silently retry. Confirm when done and list the tools the server now exposes.
Frequently asked questions
What changed
— 1 update tracked.Repointed to the hosted Browserbase server (serverInfo stagehand-api) at https://mcp.browserbase.com/mcp; the npm package @browserbasehq/mcp is deprecated. No OpenAI key is needed any more: the default model runs on Browserbase.
More Browser Automation MCPs
Other tools in the same category worth evaluating.
Official Microsoft browser automation across Chromium, Firefox, and WebKit.
Google's own MCP for a live Chrome: performance traces, network and console, Lighthouse audits and Puppeteer-driven input.
Compared with Stagehand
Side-by-side breakdowns for the choices people most often weigh against this MCP.
Exploring Top MCPs for Browser Automation? See all Browser Automation MCPs →