Skip to main content
MCP Server

Allow LLMs to control a browser with Browserbase and Stagehand

Share
3,365 stars TypeScript Apache-2.0 Updated: 2026-06-04

Send to Your Agent

Copy this prompt and paste it into Claude, Cursor, or any MCP client to install instantly.

Install the Browserbase MCP server for me.

Server: Browserbase
Description: Allow LLMs to control a browser with Browserbase and Stagehand
Install command: npx -y browserbase/mcp-server-browserbase

Environment variables needed:
- These: flags can only be used with the self-hosted server (npx @browserbasehq/mcp or Docker). (required)

GitHub: https://github.com/browserbase/mcp-server-browserbase

Please install this MCP server and confirm when ready.

Paste into any AI agent with MCP support — works with Claude Desktop, Cursor, Cline, and more.

Quick Install

Config file: ~/Library/Application Support/Claude/claude_desktop_config.json

  1. Open Claude Desktop app
  2. Go to Settings → Developer → Edit Config
  3. Paste the config below into the file
  4. Restart Claude Desktop
{
  "mcpServers": {
    "browserbase": {
      "command": "npx",
      "args": [
        "-y",
        "browserbase/mcp-server-browserbase"
      ],
      "env": {
        "These": "value"
      }
    }
  }
}

Add this to your ~/Library/Application Support/Claude/claude_desktop_config.json

Installation Methods

npx Run directly with npx
npx -y browserbase/mcp-server-browserbase
npm Install via npm
npm install browserbase/mcp-server-browserbase
docker Run with Docker
docker run browserbase/mcp-server-browserbase

Tools (1)

execute

Execute browserbase operations

Environment Variables

These Required

flags can only be used with the self-hosted server (npx @browserbasehq/mcp or Docker).

Example: value

Compatibility

Claude Desktop
Cursor
Cline
VS Code
Devin (formerly Windsurf)

About

Browserbase MCP Server

Overview

Allow LLMs to control a browser with Browserbase and Stagehand

Environment Variables

  • These: flags can only be used with the self-hosted server (npx @browserbasehq/mcp or Docker). (Required)

Installation

NPX

npx -y browserbase/mcp-server-browserbase

NPM

npm install browserbase/mcp-server-browserbase

DOCKER

docker run browserbase/mcp-server-browserbase

Related Resources

Compare LLM Pricing

This server works with Claude, GPT-4o, and other models. Compare API costs side-by-side to find the cheapest option for your workflow.