Running the MCP Server
- Get your Browserbase API key and project ID from the Browserbase Dashboard.
Go over the Dashboardβs Settings tab:

Then copy your API Key and Project ID directly from the input.
- Set up your Claude Client configuration to use the server. Set the
BROWSERBASE_API_KEY
and BROWSERBASE_PROJECT_ID
environment variables.
Using STDIO via NPM:
{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": ["@browserbasehq/mcp"],
"env": {
"BROWSERBASE_API_KEY": "<YOUR_BROWSERBASE_API_KEY>",
"BROWSERBASE_PROJECT_ID": "<YOUR_BROWSERBASE_PROJECT_ID>",
}
}
}
}
Using SSE (Remote Server):
To run using SSE, youβll need to clone the repo and port the server from your local machine.
# Clone the repo
git clone https://github.com/browserbase/mcp-server-browserbase
# Install dependencies
cd browserbase
npm install
# Build the project
npm run build
Then run the server using the following command:
Make sure youβre in the browserbase
directory when running the command.
{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": ["-y", "mcp-remote", "http://localhost:8931/sse"],
"env": {
"BROWSERBASE_API_KEY": "<YOUR_BROWSERBASE_API_KEY>",
"BROWSERBASE_PROJECT_ID": "<YOUR_BROWSERBASE_PROJECT_ID>",
}
}
}
}
- Restart/refresh your Claude Client app and you should see the tools available clicking the π¨ icon.
Itβs as easy as that, get started using our MCP Server by asking Claude to navigate to any page and see your Browserbase Browser in action on the dashboard.
Further Reading
For more in-depth coverage, usage patterns, or troubleshooting:
Responses are generated using AI and may contain mistakes.