Cloud browser automation with Browserbase and Stagehand — run headless sessions at scale.
registry version 2.4.3
npm
npx -y @browserbasehq/mcp-server-browserbasenpm
npx -y @browserbasehq/mcp-server-browserbase@2.4.3
Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase"
]
}
}
}{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase@2.4.3"
]
}
}
}Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add browserbase -- npx -y @browserbasehq/mcp-server-browserbase
claude mcp add browserbase -- npx -y @browserbasehq/mcp-server-browserbase@2.4.3
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase"
]
}
}
}{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase@2.4.3"
]
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase"
]
}
}
}{
"servers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase@2.4.3"
]
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase"
]
}
}
}{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase@2.4.3"
]
}
}
}Format verified against the official Windsurf docs ↗.
Official · by browserbase
The official repository is archived — it may no longer be actively maintained. Community alternatives are listed below.
Independent, non-official implementations of the Browserbase MCP server maintained by the community.
Last verified: 2026-10-15 | Sources: Verification basis ↗
⚠️ Archived — this repository is no longer actively maintained.
⭐ 3,399 stars · 最近更新于 100 天前 · Apache-2.0 license
These star and push figures are for the shared repository — 2 listings on this site point at the same repository.
Browserbase MCP Server Archived This repository is archived and no longer maintained. It was originally published as a reference implementation and is retained for historical purposes. It should not be interpreted as representative of Browserbase's current production services or implementation. The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need. This server provides cloud browser automation capabilities using Browserbase and Stagehand. It enables LLMs to interact with web pages, extract information, and perform automated actions. This is a self-hostable version of the Browserbase hosted MCP server with the same tools and functionality. We recommend using the hosted version for the easiest setup. Tools This server exposes 6 tools that match the hosted Browserbase MCP server: Tool Description Input ---------- --------------------------------------- -------------------------- start Create or reuse a Browserbase session (none) end Close the current Browserbase session (none) navigate Navigate to a URL { url: string } act Perform an action on the page { action: string } observe Observe actionable elements on the page { instruction: string } extract Extract data from the page { instruction?: string } How to Setup We currently support 2 transports for our MCP server, STDIO and SHTTP. We recommend you use SHTTP with our hosted MCP server to take advantage of the server at full capacity. SHTTP (Hosted MCP): Use the Browserbase hosted MCP server at This is the easiest way to get started -- we host the server and provide the LLM costs for Gemini, the best performing model in Stagehand. For full setup instructions, see the Browserbase MCP documentation. If your client supports SHTTP: If your client doesn't support SHTTP: STDIO (Self-Hosted): You can either use our server hosted on NPM or run it completely locally by cloning this repo. > Note: If you want to use a different model you have to add --modelName to the args and provide that respective key as an arg. More info below. To run via NPM (Recommended) Go into your MCP Config JSON and add the Browserbase Server: That's it! Reload your MCP client and you're ready to go. To run 100% local: Option 1: Direct installation Option 2: Docker Then in your MCP Config JSON run the server: Using Direct Installation Using Docker Configuration The Browserbase MCP server accepts the following command-line flags: Flag Description -------------------------- --------------------------------------------------------------------------- --proxies Enable Browserbase proxies for the session --verified Enable Browserbase Verified Identity (Only for Scale Plan Users) --advancedStealth Deprecated alias for --verified --keepAlive Enable Browserbase Keep Alive Session --contextId > Specify a Browserbase Context ID to use --persist Whether to persist the Browserbase context (default: true) --port > Port to listen on for HTTP/SHTTP transport --host > Host to bind server to (default: localhost, use 0.0.0.0 for all interfaces) --browserWidth > Browser viewport width (default: 1024) --browserHeight > Browser viewport height (default: 768) --modelName > The model to use for Stagehand (default: google/gemini-2.5-flash-lite) --modelApiKey > API key for the custom model provider (required when using custom models) --experimental Enable experimental features (default: false) These flags can be passed directly to the CLI or configured in your MCP configuration file. > Note: These flags can only be used with the self-hosted server (npx @browserbasehq/mcp or Docker). Model Configuration Stagehand defaults to using Google's Gemini 2.5 Flash Lite model, but you can configure it to use other models like GPT-4o, Claude, or other providers. Important : When using any custom model (non-default), you must provide your own API key for that model provider using the --modelApiKey flag. Note: The model must be supported in Stagehand. Check out the docs here. Links Browserbase MCP Documentation MCP Documentation MCP Specification Stagehand Documentation License Licensed under the Apache 2.0 License. Copyright 2025 Browserbase, Inc.…
Summary from the project README — github.com/browserbase/mcp-server-browserbase
Distributed as npm, listed under Browser Automation. Review our MCP security guide before granting access to real data.
Browserbase MCP Server Archived This repository is archived and no longer maintained. It was originally published as a reference implementation and is retained for historical purposes. It should not be interpreted as representative of Browserbase's current production services or implementation. The Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you're building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need. This server provides cloud browser automation capabilities using Browserbase and Stagehand. It enables LLMs to interact with web pages, extract information, and perform automated actions. This is a self-hostable version of the Browserbase hosted MCP server with the same tools and functionality. We recommend using the hosted version for the easiest setup. Tools This server exposes 6 tools that match the hosted Browserbase MCP server: Tool Description Input ---------- --------------------------------------- -------------------------- start Create or reuse a Browserbase session (none) end Close the current Browserbase session (none) navigate Navigate to a URL { url: string } act Perform an action on the page { action: string } observe Observe actionable elements on the page { instruction: string } extract Extract data from the page { instruction?: string } How to Setup We currently support 2 transports for our MCP server, STDIO and SHTTP. We recommend you use SHTTP with our hosted MCP server to take advantage of the server at full capacity. SHTTP (Hosted MCP): Use the Browserbase hosted MCP server at This is the easiest way to get started -- we host the server and provide the LLM costs for Gemini, the best performing model in Stagehand. For full setup instructions, see the Browserbase MCP documentation. If your client supports SHTTP: If your client doesn't support SHTTP: STDIO (Self-Hosted): You can either use our server hosted on NPM or run it completely locally by cloning this repo. > Note: If you want to use a different model you have to add --modelName to the args and provide that respective key as an arg. More info below. To run via NPM (Recommended) Go into your MCP Config JSON and add the Browserbase Server: That's it! Reload your MCP client and you're ready to go. To run 100% local: Option 1: Direct installation Option 2: Docker Then in your MCP Config JSON run the server: Using Direct Installation Using Docker Configuration The Browserbase MCP server accepts the following command-line flags: Flag Description -------------------------- --------------------------------------------------------------------------- --proxies Enable Browserbase proxies for the session --verified Enable Browserbase Verified Identity (Only for Scale Plan Users) --advancedStealth Deprecated alias for --verified --keepAlive Enable Browserbase Keep Alive Session --contextId > Specify a Browserbase Context ID to use --persist Whether to persist the Browserbase context (default: true) --port > Port to listen on for HTTP/SHTTP transport --host > Host to bind server to (default: localhost, use 0.0.0.0 for all interfaces) --browserWidth > Browser viewport width (default: 1024) --browserHeight > Browser viewport height (default: 768) --modelName > The model to use for Stagehand (default: google/gemini-2.5-flash-lite) --modelApiKey > API key for the custom model provider (required when using custom models) --experimental Enable experimental features (default: false) These flags can be passed directly to the CLI or configured in your MCP configuration file. > Note: These flags can only be used with the self-hosted server (npx @browserbasehq/mcp or Docker). Model Configuration Stagehand defaults to using Google's Gemini 2.5 Flash Lite model, but you can configure it to use other models like GPT-4o, Claude, or other providers. Important : When using any custom model (non-default), you must provide your own API key for that model provider using the --modelApiKey flag. Note: The model must be supported in Stagehand. Check out the docs here. Links Browserbase MCP Documentation MCP Documentation MCP Specification Stagehand Documentation License Licensed under the Apache 2.0 License. Copyright 2025 Browserbase, Inc.
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/browserbase/mcp-server-browserbase. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/browserbase/)
HTML
<a href="https://mcpnav.net/server/browserbase/"><img src="https://mcpnav.net/badge/browserbase.svg" alt="Listed on MCPNav" height="20"></a>