================== /// MCP /// /// MCP /// ================== [server:online] [protocol:ready]
mcp-server-browserbase
by browserbase
MCP server that lets LLMs control cloud browsers through Browserbase & Stagehand (web automation, screenshots, data-extraction, multi-session).
2.3k
241
SpecializedInstallation
1. Prerequisites
• Node.js ≥ 18 (LTS recommended)
• A Browserbase cloud account (https://browserbase.com) – obtain your BROWSERBASE_API_KEY
• A Stagehand account (https://stagehand.dev) – obtain your STAGEHAND_API_KEY
2. Clone the repository
git clone https://github.com/browserbase/mcp-server-browserbase.git
cd mcp-server-browserbase
3. Install dependencies
# Choose your package manager
npm install # or
pnpm install # or
yarn install
4. Configure environment variables (create .env in project root)
BROWSERBASE_API_KEY=YOUR_BROWSERBASE_KEY
STAGEHAND_API_KEY=YOUR_STAGEHAND_KEY
PORT=8080 # Optional: server port
5. Build (if you want a production bundle)
npm run build # transpiles TypeScript -> JS in ./dist
6. Run the MCP server
# Development (auto-reload with ts-node-dev)
npm run dev
# Production
npm start # uses compiled output
7. Optional Docker deployment
docker build -t mcp-browserbase .
docker run -e BROWSERBASE_API_KEY=... -e STAGEHAND_API_KEY=... -p 8080:8080 mcp-browserbase
After start-up, the server exposes the Model Context Protocol (MCP) HTTP interface on /v1/tool-endpoint (default port 8080).
Documentation
License: Apache License 2.0
Updated 7/30/2025