Skip to main content

Quick installation

Install with Cursor

One-click installation directly in Cursor
You can also add Browserbase MCP to Claude Code with a single command:
Browserbase supports both local STDIO and hosted Streamable HTTP (SHTTP). Hosted Streamable HTTP is recommended for most users.

Endpoint

Hosted Streamable HTTP endpoint (served on Browserbase infrastructure):

Prerequisites

1

Get your Browserbase credentials

Get your Browserbase API key from the Browserbase Dashboard.
Browserbase API Key settings
Then copy your API Key directly from the input.

Query parameters (hosted Streamable HTTP)

Required for tool calls

browserbaseApiKey

Browserbase API key.

Optional

Boolean query values must be exact strings: "true" or "false".

Available tools

Perform an action on the web page using natural language
action
string
required
The action to perform (e.g., “click the login button”, “fill form field”)
Observe and find actionable elements on the page.
instruction
string
required
Specific instruction for observation (e.g., “find the login button”, “locate search form”)
Extract data from the current page.
instruction
string
Optional extraction instruction.
Create or reuse a Browserbase session and set it as active for the current MCP transport session.Inputs
No input parameters required.
Output
sessionId
string
Browserbase session ID.
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 with flags or local development setup).

Installation methods

Verify installation

1

Restart your MCP client

Restart/refresh your MCP client app and verify tools are available.
2

Test the integration

Get started by asking your MCP client to navigate to any page and see your Browserbase browser in action on the dashboard.
Try: “Navigate to example.com and extract the main heading”

Further reading

Model Context Protocol (MCP) docs

Learn more about the MCP protocol

Browserbase Documentation

Explore Browserbase features and capabilities

Support

Get help from the Browserbase support team