# Browserbase

Connects AI hosts to Browserbase cloud browsers to run web agents, inspect live sessions, and extract structured data without local headless Chrome.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 13
- Author: mindstone
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mindstone/mcp-servers/tree/HEAD/connectors/browserbase
- Updated: 2026-10-22
- HTML: https://affpapa.org/en/nevibecode/mcp/browserbase

## What it does

This connector exposes 53 tools from the Browserbase cloud API to your agent. It handles remote browser sessions, autonomous web agent runs with schema validation, persistent contexts, and file downloads. Browserbase lacks webhooks, so long-running automation relies on built-in polling tools like `wait_for_agent_run`.

Running the package requires Node.js 20 or newer and a valid `BROWSERBASE_API_KEY`. Cloud sessions incur per-minute billing with a one-minute minimum, making it critical to trigger `end_session` as soon as the automation ends. Local file access is strictly sandboxed to `MCP_WORKSPACE_PATH`, while raw external web content is enclosed in untrusted-content wrappers before hitting the model.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `BROWSERBASE_API_KEY`, `BROWSERBASE_REQUEST_TIMEOUT_MS`, `MCP_WORKSPACE_PATH` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env BROWSERBASE_API_KEY=<BROWSERBASE_API_KEY> --env BROWSERBASE_REQUEST_TIMEOUT_MS=<BROWSERBASE_REQUEST_TIMEOUT_MS> --env MCP_WORKSPACE_PATH=<MCP_WORKSPACE_PATH> --transport stdio browserbase -- npx -y @mindstone/mcp-server-browserbase
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add browserbase --env BROWSERBASE_API_KEY=<BROWSERBASE_API_KEY> --env BROWSERBASE_REQUEST_TIMEOUT_MS=<BROWSERBASE_REQUEST_TIMEOUT_MS> --env MCP_WORKSPACE_PATH=<MCP_WORKSPACE_PATH> -- npx -y @mindstone/mcp-server-browserbase
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "browserbase": {
            "command": "npx",
            "args": [
                "-y",
                "@mindstone/mcp-server-browserbase"
            ],
            "env": {
                "BROWSERBASE_API_KEY": "<BROWSERBASE_API_KEY>",
                "BROWSERBASE_REQUEST_TIMEOUT_MS": "<BROWSERBASE_REQUEST_TIMEOUT_MS>",
                "MCP_WORKSPACE_PATH": "<MCP_WORKSPACE_PATH>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "browserbase": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@mindstone/mcp-server-browserbase"
            ],
            "env": {
                "BROWSERBASE_API_KEY": "<BROWSERBASE_API_KEY>",
                "BROWSERBASE_REQUEST_TIMEOUT_MS": "<BROWSERBASE_REQUEST_TIMEOUT_MS>",
                "MCP_WORKSPACE_PATH": "<MCP_WORKSPACE_PATH>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e BROWSERBASE_API_KEY=<BROWSERBASE_API_KEY> -e BROWSERBASE_REQUEST_TIMEOUT_MS=<BROWSERBASE_REQUEST_TIMEOUT_MS> -e MCP_WORKSPACE_PATH=<MCP_WORKSPACE_PATH> browserbase npx -y @mindstone/mcp-server-browserbase
```
Replace <…> with your own values

## When to use it
- extract structured JSON data from web pages using browser agents
- open remote browser sessions with live-view debugger access
- run automated browser workflows without managing local headless drivers
- inspect step-by-step agent execution logs and replay data

## Example prompts
- Create a Browserbase session and return the live-view debugger link
- End the current Browserbase session

## Similar
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119231
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32260
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23283
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13181
- [apify-mcp-server](https://affpapa.org/en/nevibecode/mcp/apify-mcp-server.md) — MCP server · ★ 13345

From the same set: [mindstone/mcp-servers](https://affpapa.org/en/nevibecode/by/mindstone/mcp-servers.md) — 40 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
