mcp server browserbase for VS Code
io.github.browserbase/mcp-server-browserbase
MCP server for AI web browser automation using Browserbase and Stagehand
client:VS Code
transport:stdio
runtime:npm
Install mcp server browserbase in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "browserbase-api-key",
"description": "BROWSERBASE_API_KEY",
"password": true
},
{
"type": "promptString",
"id": "browserbase-project-id",
"description": "BROWSERBASE_PROJECT_ID",
"password": true
},
{
"type": "promptString",
"id": "gemini-api-key",
"description": "GEMINI_API_KEY",
"password": true
}
],
"servers": {
"mcp-server-browserbase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@browserbasehq/mcp-server-browserbase"
],
"env": {
"BROWSERBASE_API_KEY": "${input:browserbase-api-key}",
"BROWSERBASE_PROJECT_ID": "${input:browserbase-project-id}",
"GEMINI_API_KEY": "${input:gemini-api-key}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs