Quick Installation
Install with Cursor
One-click installation directly in Cursor
Endpoint
Hosted Streamable HTTP endpoint (served on Browserbase infrastructure):Prerequisites
Get your Browserbase credentials
Get your Browserbase API key from the Browserbase Dashboard.
Then copy your API Key directly from the input.

Query Parameters (Hosted Streamable HTTP)
Required for tool calls
browserbaseApiKey
Browserbase API key.
Optional
| Query Param | Type | Behavior |
|---|---|---|
modelName | string | Defaults to google/gemini-2.5-flash-lite |
modelApiKey | string | Required when modelName is non-default |
keepAlive | boolean string | "true" or "false" |
proxies | boolean string | "true" or "false" |
advancedStealth | boolean string | "true" or "false" |
Available Tools
navigate
navigate
act
act
Perform an action on the web page using natural language
The action to perform (e.g., “click the login button”, “fill form field”)
observe
observe
Observe and find actionable elements on the page.
Specific instruction for observation (e.g., “find the login button”, “locate search form”)
extract
extract
Extract data from the current page.
Optional extraction instruction.
start
start
Create or reuse a Browserbase session and set it as active for the current MCP transport session.
No input parameters required.
Browserbase session ID.
end
end
Close the active Browserbase session for the current MCP transport session.
No input parameters required.
Local Command-Line Flags
Command-line flags are only available when running the server locally (
npx @browserbasehq/mcp-server-browserbase with flags or local development setup).| Flag | Description |
|---|---|
--proxies | Enable Browserbase proxies for the session |
--advancedStealth | Enable Browserbase Advanced Stealth (Scale Plan only) |
--keepAlive | Enable Browserbase Keep Alive Session |
--contextId <contextId> | Specify a Browserbase Context ID to use |
--persist [boolean] | Whether to persist the Browserbase context (default: true) |
--port <port> | Port to listen on for HTTP or Streamable HTTP transport |
--host <host> | Host to bind server to (default: localhost, use 0.0.0.0 for all interfaces) |
--browserWidth <width> | Browser viewport width (default: 1024) |
--browserHeight <height> | Browser viewport height (default: 768) |
--modelName <model> | The model to use for Stagehand (default: google/gemini-2.5-flash-lite) |
--modelApiKey <key> | API key for the custom model provider (required when using custom models) |
--experimental | Enable experimental features (default: false) |
Installation Methods
- Hosted (recommended)
- NPM Package (STDIO)
- Local Development
Use your MCP client config:For custom models, include
modelName and modelApiKey:Verify Installation
Test the integration
Get started using our MCP Server by asking your MCP client to navigate to any page and see your Browserbase Browser in action on the dashboard.