Browserbase MCP Server
Published · Updated
At a glance
- Category
- Browser & testing
- Hosted by the vendor
- https://mcp.browserbase.com/mcp
- Watch out for
- The API key travels in the URL as a query parameter, so it can end up in client config files and logs.
Browserbase runs this MCP server as a hosted service at https://mcp.browserbase.com/mcp over streamable HTTP. It gives an agent a cloud browser running on Browserbase, driven through Stagehand, Browserbase's AI browser framework, so the agent can open pages, act on them in plain language and pull data out.
The self-hostable version on GitHub, browserbase/mcp-server-browserbase, is now archived. Its README says the repository is archived and no longer maintained. The README still documents a self-hosted setup, but nobody is updating it, so this guide covers the hosted endpoint only.
The hosted server handles the language model for Stagehand by default (google/gemini-2.5-flash-lite per the setup guide). You can switch to another model by passing modelName and your own modelApiKey.
How it connects
Your AI app
An assistant or agent that supports MCP
Browserbase MCP Server
Runs as
- npx (Node.js)
- Remote (HTTP)
Gives the agent
- Session control
- Navigation
- Natural-language actions
- Element discovery
- Data extraction
Browserbase
Signs in with
- API key
What it can do
- Session control
- start creates or reuses a Browserbase session and returns a sessionId; end closes it.
- Navigation
- navigate loads a URL in the current session.
- Natural-language actions
- act performs an action described in words, such as clicking a button or filling a field.
- Element discovery
- observe returns the actionable elements on the page that match an instruction.
- Data extraction
- extract pulls data from the page, with an optional instruction describing what to pull.
Setting it up
Get an API key from the Browserbase dashboard. In Claude Code, run claude mcp add --transport http browserbase "https://mcp.browserbase.com/mcp?browserbaseApiKey=YOUR_BROWSERBASE_API_KEY". Cursor has a one-click install link on the setup page. For other clients, add an mcpServers entry named browserbase whose url is the same endpoint with the browserbaseApiKey query parameter; clients without HTTP support can wrap it with npx mcp-remote https://mcp.browserbase.com/mcp. Optional query parameters are modelName with modelApiKey (for example modelName=openai/gpt-4.1), plus keepAlive, proxies and verified, which take the exact strings true or false.
claude mcp add --transport http browserbase https://mcp.browserbase.com/mcpIf the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Log into a test web app and check that a form submits correctly.
- Open a page that renders with JavaScript and extract a product table.
- Use observe to list the buttons on an unfamiliar page before deciding which to click.
- Walk through a multi-page checkout flow in a staging environment and report where it breaks.
Limitations and things to watch
- The API key travels in the URL as a query parameter, so it can end up in client config files and logs.
- Sessions are tracked per MCP transport, and clients that open a new transport per call get No active session errors unless they pass the sessionId from start on every call.
- A non-default modelName requires your own modelApiKey for that provider.
- The open-source self-hosted server is archived and no longer maintained, so there is no maintained local option.
- act can click and submit on live sites, so actions run against real accounts take effect.
Sources
Written from the project's own documentation, checked November 2026.
- docs.browserbase.com /integrations/mcp/introduction
- docs.browserbase.com /integrations/mcp/setup
- github.com /browserbase/mcp-server-browserbase
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.