mcp-server-browserbase
local MCP servermcp-server-browserbase is a local MCP server: MCP server for AI web browser automation using Browserbase and Stagehand. Install it from npm as @browserbasehq/mcp-server-browserbase.
Installation
Terminal
claude mcp add mcp-server-browserbase -e BROWSERBASE_API_KEY=... -e BROWSERBASE_PROJECT_ID=... -e GEMINI_API_KEY=... -- npx -y @browserbasehq/mcp-server-browserbase
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"mcp-server-browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase"
],
"env": {
"BROWSERBASE_API_KEY": "...",
"BROWSERBASE_PROJECT_ID": "...",
"GEMINI_API_KEY": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Node.js 18+ (runs with npx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
BROWSERBASE_API_KEY,BROWSERBASE_PROJECT_ID,GEMINI_API_KEY
Summary
MCP server for AI web browser automation using Browserbase and Stagehand
mcp-server-browserbase vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| mcp-server-browserbase | 3,413 | Local | Yes | npm |
| browserbasehq-mcp-browserbase | 3,413 | Hosted | Yes | None |
| Ui.Vision MCP | 2,042 | Local | Yes | npm |
| jshookmcp | 2,021 | Local | No | npm |
| Native DevTools | 134 | Local | No | npm |
Questions
It reads 3 environment variables: BROWSERBASE_API_KEY, BROWSERBASE_PROJECT_ID, GEMINI_API_KEY. Set them in your MCP config before starting the server.
Node.js 18+ (runs with npx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
mcp-server-browserbase is a local MCP server distributed as the npm package @browserbasehq/mcp-server-browserbase.
Run: claude mcp add mcp-server-browserbase -e BROWSERBASE_API_KEY=... -e BROWSERBASE_PROJECT_ID=... -e GEMINI_API_KEY=... -- npx -y @browserbasehq/mcp-server-browserbase
Run: codex mcp add mcp-server-browserbase --env BROWSERBASE_API_KEY=... --env BROWSERBASE_PROJECT_ID=... --env GEMINI_API_KEY=... -- npx -y @browserbasehq/mcp-server-browserbase
Similar MCP servers
NameStars
- browserbasehq-mcp-browserbaseai.smithery/browserbasehq-mcp-browserbase3,413
- Ui.Vision MCPio.github.A9T9/uivision-mcp2,042
- jshookmcpio.github.vmoranv/jshookmcp2,021
- Native DevToolsio.github.sh3ll3x3c/native-devtools134
- Stealthy Auto Browseio.github.psyb0t/stealthy-auto-browse86
- Browser Automationio.github.mindstone/mcp-server-browser-automation12
- mcp-server-browserio.github.bytedance/mcp-server-browser39K
- Skyvernio.github.Skyvern-AI/skyvern23K