Server profile

Browserbase MCP Server

Browserbase MCP Server lets assistants operate cloud browser sessions through Browserbase and Stagehand. Six tools handle sessions, navigation, page actions, observation, and extraction, with hosted and self-hosted connection options.

Server facts

Browserbase MCP Server

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
3,399Archived on GitHub
Last commit
Data as of

Tags

  • Browser Automation
  • Browserbase
  • Cloud Browser
  • Data Extraction
  • Stagehand

Overview

Browserbase MCP Server connects AI assistants to cloud browser automation using Browserbase and Stagehand. Its interface is deliberately compact: six tools start or reuse a session, close it, navigate to an address, perform a page action, identify actionable elements, and extract information. Actions and observations accept instructions, making the server a bridge between conversational requests and browser activity. The repository is a self-hostable counterpart to Browserbase's hosted MCP service and describes the tools and functionality as matching. It is aimed at workflows that need both interaction with live pages and extraction of their contents.

The README recommends the hosted service over Streamable HTTP as the simplest starting point. Clients without native support can connect through mcp-remote. For self-hosted stdio use, the npm configuration requires a Browserbase API key, project ID, and a Gemini key for the default model. Source and Docker installation routes are also shown. Self-hosted options control proxies, retained sessions, persistent contexts, viewport dimensions, and model selection. Alternative Stagehand-supported models require the caller's own provider key. Verified Identity is limited to Scale plan users. The hosted route includes Gemini model costs according to the README, whereas self-hosted model customization is explicitly configured by the operator. Those differences help determine whether minimal setup or local configuration flexibility is the better fit.

Install & configure

Requirements

  • An MCP-compatible client
  • npx for local npm execution
  • Browserbase credentials and a model key for self-hosted execution
Documented launch / install command
npx @browserbasehq/mcp

The command is the self-hosted stdio option. The remote URL uses Streamable HTTP and is the README's recommended setup. Self-hosted custom models use --modelName and --modelApiKey.

Config file · macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Use Settings → Developer → Edit Config when available. Do not assume a Linux configuration path; check the client documentation for your platform. Remote servers use the app’s connector flow when supported, not the local stdio file shown here. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Desktop configuration
{
  "mcpServers": {
    "mcp-server-browserbase": {
      "command": "npx",
      "args": [
        "@browserbasehq/mcp"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<your Browserbase API key>",
        "BROWSERBASE_PROJECT_ID": "<your Browserbase project ID>",
        "GEMINI_API_KEY": "<your Gemini API key for the default model>"
      }
    }
  }
}

Read the Claude Desktop setup guide

Config file · Project: .cursor/mcp.json

User: ~/.cursor/mcp.json

The project path is relative to the workspace root. The tilde denotes your user home directory. Use Cursor’s MCP settings to confirm which configuration and scope your installed version is reading. Merge this example with existing settings; do not overwrite unrelated servers.

Cursor configuration
{
  "mcpServers": {
    "mcp-server-browserbase": {
      "command": "npx",
      "args": [
        "@browserbasehq/mcp"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<your Browserbase API key>",
        "BROWSERBASE_PROJECT_ID": "<your Browserbase project ID>",
        "GEMINI_API_KEY": "<your Gemini API key for the default model>"
      }
    }
  }
}

Read the Cursor setup guide

Config file · Workspace: .vscode/mcp.json

For user scope, use the “MCP: Open User Configuration” command if available. Do not guess a user configuration path across operating systems, profiles, containers, or remote workspaces; check the client documentation. Merge this example with existing settings; do not overwrite unrelated servers.

VS Code configuration
{
  "servers": {
    "mcp-server-browserbase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@browserbasehq/mcp"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<your Browserbase API key>",
        "BROWSERBASE_PROJECT_ID": "<your Browserbase project ID>",
        "GEMINI_API_KEY": "<your Gemini API key for the default model>"
      }
    }
  }
}

Read the VS Code setup guide

Config file · macOS/Linux: ~/.codeium/windsurf/mcp_config.json

Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Open the MCP configuration through Windsurf’s settings when possible to confirm the active file. Paths can differ in managed or future releases; check the client documentation if this location is not present. Merge this example with existing settings; do not overwrite unrelated servers.

Windsurf configuration
{
  "mcpServers": {
    "mcp-server-browserbase": {
      "command": "npx",
      "args": [
        "@browserbasehq/mcp"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<your Browserbase API key>",
        "BROWSERBASE_PROJECT_ID": "<your Browserbase project ID>",
        "GEMINI_API_KEY": "<your Gemini API key for the default model>"
      }
    }
  }
}

Read the Windsurf setup guide

Config file · Project scope: .mcp.json at the repository root

The project file uses mcpServers. For user scope, use claude mcp add --scope user rather than assuming .mcp.json in your home directory is the user configuration. Check the client documentation for managed settings and storage details. Merge this example with existing settings; do not overwrite unrelated servers.

Claude Code configuration
{
  "mcpServers": {
    "mcp-server-browserbase": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@browserbasehq/mcp"
      ],
      "env": {
        "BROWSERBASE_API_KEY": "<your Browserbase API key>",
        "BROWSERBASE_PROJECT_ID": "<your Browserbase project ID>",
        "GEMINI_API_KEY": "<your Gemini API key for the default model>"
      }
    }
  }
}

Read the Claude Code setup guide

Examples are translated from the published configuration. Supply your own credentials and verify requirements in the upstream README. Remote connectors are shown only where a supported configuration format is known.

Tools

Source: repository README. Tool descriptions are a documented snapshot, not a live capability check.

ToolWhat it does
startCreate a Browserbase session or reuse an existing one.
endClose the active Browserbase session.
navigateOpen a URL in the session browser.
actCarry out an instructed action on the page.
observeIdentify page elements relevant to an interaction instruction.
extractRetrieve page data, optionally guided by an instruction.

Names, permissions, and defaults can change. Check the current upstream documentation before granting access.

Use cases

  • Run a browser session from an assistant without managing a local browser.
  • Navigate and act on live pages using instructions.
  • Discover actionable page elements before choosing an operation.
  • Extract page data through Stagehand-backed automation.

Strengths

  • Provides the same six-tool interface in hosted and self-hosted variants.
  • Offers direct HTTP access and a bridge for other clients.
  • Self-hosted execution supports model and browser-session customization.

Limitations

  • Self-hosted setup requires Browserbase credentials and model authentication.
  • Custom models require a separate provider key.
  • Verified Identity is restricted to Scale plan users.

Frequently asked questions

The README lists six: start, end, navigate, act, observe, and extract.

It recommends the hosted server over Streamable HTTP for the easiest setup.

Yes. Select a Stagehand-supported model with --modelName and supply its provider key using --modelApiKey.

The README provides an npx mcp-remote configuration for connecting to the hosted service.

Independent listing, not an affiliation or security review. Grant the least access needed and verify the upstream instructions before running code.

Related MCP servers

Playwright MCP Server

Browser Automation

ExecuteAutomation’s Playwright MCP Server lets AI clients automate real browsers, capture screenshots, scrape pages, and generate tests. It also provides device-profile emulation and local stdio or standalone HTTP operation.

Firecrawl MCP Server

Search & Web Data

Firecrawl MCP connects AI agents to web search, scraping, crawling, and live browser interaction. It offers hosted access or a local server for collecting structured web context and running research tasks.

Playwright MCP

Browser Automation

Playwright MCP lets AI assistants operate browsers using structured accessibility data. It suits agents that need persistent page context, interactive exploration, and browser inspection without a vision model.

BrowserTools MCP

Browser Automation

BrowserTools MCP brings browser logs, screenshots, selected elements, and Lighthouse audits into compatible AI editors. It uses a Chrome extension plus two local servers, and the project is no longer active.

Browser MCP

Browser Automation

Browser MCP combines an MCP server with a Chrome extension to automate your existing browser. It is aimed at AI applications that need local browsing and access to already signed-in sessions.

Browser Use MCP Server

Browser Automation

Browser Use MCP Server connects AI agents to browser-use for browser control. It supports SSE and proxied stdio connections, asynchronous tasks, and VNC viewing so users can watch browser automation as it happens.

Hyperbrowser MCP Server

Browser Automation

Hyperbrowser MCP Server combines web scraping, crawling, structured extraction, and cloud browser agents. Assistants can choose Browser Use, OpenAI computer use, or Claude computer use and manage persistent profiles.