Skip to content
AgentAtlas

Browserbase · Cursor

Add the Browserbase MCP server to Cursor

Cloud browser automation with Browserbase and Stagehand.

Official serverLocalBrowser automation

1. Add the server

Paste into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

{
  "mcpServers": {
    "browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "@browserbasehq/mcp-server-browserbase"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<your BROWSERBASE_API_KEY>",
        "BROWSERBASE_PROJECT_ID": "<your BROWSERBASE_PROJECT_ID>",
        "GEMINI_API_KEY": "<your GEMINI_API_KEY>"
      }
    }
  }
}

Scopes, env vars, OAuth and limits: Cursor MCP config guide

2. Sign in

Cursor prompts you to sign in the first time a remote OAuth server is used. Browserbase runs locally and needs BROWSERBASE_API_KEY, BROWSERBASE_PROJECT_ID, GEMINI_API_KEY. Replace the placeholder values above with your own before starting Cursor.

3. Try it

Ask Cursor for something Browserbase can do. Cloud browser automation with Browserbase and Stagehand. Approve the first tool call and check the result before allowing write actions automatically.

  • · Remote servers take a url; local servers take command and args.
  • · Values can reference ${env:NAME} so secrets stay out of the file.

FAQ

How do I add the Browserbase MCP server to Cursor?
Run: { …. Cursor prompts you to sign in the first time a remote OAuth server is used.
Is this the official Browserbase MCP server?
Yes. It is published by Browserbase as io.github.browserbase/mcp-server-browserbase in the official MCP registry.
Does the Browserbase MCP server need an API key?
Yes. It runs locally and requires BROWSERBASE_API_KEY, BROWSERBASE_PROJECT_ID, GEMINI_API_KEY.

Links

Browserbase in other clients

More browser automation for Cursor

Built an MCP server? Get it listed everywhere →

Shipping an Android app? Google Play needs 12 testers for 14 days first. Get them with Tester Exchange →

Reviewed Oct 21, 2026. Command generated from the registry record and checked against Cursor's documented syntax.