Browserbase MCP Server
The Browserbase MCP server, powered by Stagehand, lets AI agents drive a real cloud browser with natural language. Agents can start and end browser sessions, navigate to URLs, act on pages, observe actionable elements, and extract structured data — enabling reliable web automation, scraping, and form-filling in the cloud.
Install Browserbase
- Published by
- Official (vendor)
- Transport
- Remote (HTTP)
- Authentication
- API key
- Package
- @browserbasehq/mcp
Claude Desktop, Claude Code and Cursor
Add this to the mcpServers object in your client's
config file, then restart the client.
{
"mcpServers": {
"browserbase": {
"type": "http",
"url": "https://mcp.browserbase.com/mcp?browserbaseApiKey=${BROWSERBASE_API_KEY}"
}
}
}
VS Code uses a different key — show that config
Identical entry, filed under servers rather than
mcpServers. Put it in
.vscode/mcp.json for one workspace.
{
"servers": {
"browserbase": {
"type": "http",
"url": "https://mcp.browserbase.com/mcp?browserbaseApiKey=${BROWSERBASE_API_KEY}"
}
}
}
Before it will answer
Note where the key goes: Browserbase documents it as a query parameter on the URL, not a header — the opposite of what Firecrawl asks for, and a reason to keep this URL out of anything you share or commit. Driving a non-default model adds &modelName=...&modelApiKey=... to the same URL. The stdio alternative is npx @browserbasehq/mcp with BROWSERBASE_API_KEY and GEMINI_API_KEY.
Tools
act
Perform a natural-language action on the current page.
end
Close the current Browserbase cloud browser session.
extract
Extract structured data from the current web page.
navigate
Navigate the cloud browser to a specific web page URL.
observe
Observe the actionable elements on the current page.
start
Create or reuse a cloud browser session on Browserbase.