
Mcp Server Browserbase
io.github.browserbasePublished by GitHub account browserbasev2.1.1Updated Oct 24, 2026
MCP server for AI web browser automation using Browserbase and Stagehand
Overview
A self-hostable MCP server that lets an assistant drive cloud browsers through Browserbase and Stagehand to navigate pages, act, observe and extract data.
- What you can do
- Start or end a Browserbase browser session, reusing an existing one when available. Navigate the session to a URL. Perform an action on the page from a natural-language instruction. Observe actionable elements on the page to plan next steps. Extract data from the page, optionally guided by an instruction.
- When to use it
- Useful when you want an assistant to browse and interact with live web pages in a managed cloud browser, for example to gather information or run repeatable web actions. The repository is archived, so consider the vendor's hosted server instead for new setups.
- Requirements
- Runs locally over stdio, typically via npx with the npm package or from a cloned repository, or in Docker; Node.js is needed for the npm route. Requires a Browserbase API key and project ID, plus a Gemini API key for the default Stagehand model; a custom model needs its own provider key. Network access to Browserbase and the model provider is required.
Installation
In SourceWeft
- Open Mcp Server Browserbase in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
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:
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 https://mcp.browserbase.com/mcp. 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:
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
License
Licensed under the Apache 2.0 License.
Copyright 2025 Browserbase, Inc.
Source: README.md at commit 3e6f534
Tools
0Version history
1- v2.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts