mcp-server-browserbase
io.github.browserbase/mcp-server-browserbase
About mcp-server-browserbase
mcp-server-browserbase is an MCP server published by the GitHub account browserbase. MCP server for AI web browser automation using Browserbase and Stagehand
It runs on your own machine: your AI client starts it from the npm package @browserbasehq/mcp-server-browserbase at version 2.1.1.
It asks for 2 secrets: BROWSERBASE_API_KEY and GEMINI_API_KEY. Give it a key with the least access that still works.
It also needs BROWSERBASE_PROJECT_ID set before it starts.
Version 2.1.1 was published on 12 September 2025, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
BROWSERBASE_API_KEY | Yes | Yes | Your Browserbase API key |
BROWSERBASE_PROJECT_ID | Yes | No | Your Browserbase Project ID |
GEMINI_API_KEY | Yes | Yes | Your Gemini API key (default model) |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/browserbase/mcp-server-browserbase |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 2 secrets: BROWSERBASE_API_KEY, GEMINI_API_KEY |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account browserbase |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @browserbasehq/mcp-server-browserbase@2.1.1 runs nothing at install |
| Code red flags | Pass | Read 29 files in @browserbasehq/mcp-server-browserbase@2.1.1: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 29 files, including comments and the README |
Code review: Pass, with notes
We read all 2,325 lines in 27 files of @browserbasehq/mcp-server-browserbase 2.1.1 on 2026-10-31, without running it.
Lets an AI drive a cloud browser hosted by Browserbase: it opens sessions with your Browserbase key, and the pages you visit are read by an AI model (Google Gemini by default) for the act/extract/observe tools. Nothing runs on your computer beyond the server itself, and there is no hidden telemetry. Note that typed secrets (act 'variables') are written to the server log, and if you turn on the optional HTTP mode, add --host 127.0.0.1 because it otherwise listens on every network interface without a password.
What we found
- Note Every tool call's arguments are logged to stderr as JSON, including browserbase_stagehand_act 'variables', which the tool text itself recommends for passwords (act.js:12-15). Secrets typed through act end up in the MCP client's server log.
dist/context.js:41 - Note Optional HTTP mode (--port) calls httpServer.listen(port, host) with host undefined unless --host is given, so Node binds all interfaces, while the docs/config.d.ts say the default is localhost. The /mcp endpoint has no authentication and no Origin/Host check, so anyone on the network could drive the user's Browserbase sessions. Not used in the default stdio mode.
dist/transport.js:59 - Note Page content of every site visited is sent to a third-party LLM (Gemini by default) whenever act/extract/observe run. This is how the product works, but the user should know.
dist/tools/act.js / extract.js / observe.js - Info Cookies passed with --cookies are injected into the cloud browser, so they are sent to Browserbase.
dist/sessionManager.js:85-89 - Info Returns an MCP-UI resource named ui://analytics-dashboard/main that iframes the Browserbase live-debugger URL. The name is misleading, but the content is only the session debugger.
dist/tools/session.js:71-75 - Info Missing keys are replaced with dummy strings ('dummy-browserbase-api-key') instead of failing fast; harmless.
dist/config.js:28-39 - Info Dead code: sampling templates are never imported or used.
dist/mcp/sampling.js - Info Library entry imports a named export createServer that dist/index.js does not export (it has only a default export), so the programmatic entry is broken. Not a security issue.
index.js:1 - Info package.json was not among the reviewed files; dependencies listed come from the import statements. Line counts use the manifest convention (newline count + 1 per file, i.e. the empty segment after a final newline is counted); every line of every file was read with the Read tool.
(package)
| Talks to | api.browserbase.com (Browserbase API via @browserbasehq/sdk and Stagehand): BROWSERBASE_API_KEY, project ID, session settings (viewport, proxies, stealth, context ID, keepAlive), configured cookies, userMetadata {mcp:'true'} (on the first tool call that needs a browser session (sessions are created lazily), and in browserbase_session_create / multi_browserbase_stagehand_session_create (sessions.debug)) Browserbase cloud browser (CDP connection set up by Stagehand): all browser commands: URLs to visit, clicks, typed text and act 'variables' (e.g. passwords) (while a session is open) LLM provider chosen by modelName (default Google Gemini; OpenAI, Anthropic, Groq, Cerebras possible), reached through the Stagehand dependency: the instruction text plus page content (DOM/accessibility tree) of the current page, and the model API key (browserbase_stagehand_act / extract / observe (and _session variants)) any website: fetched by the remote cloud browser, not by the user's machine (browserbase_stagehand_navigate and act) |
|---|---|
| Keys and settings | BROWSERBASE_API_KEY: Browserbase APIBROWSERBASE_PROJECT_ID: Browserbase APIGEMINI_API_KEY (or --modelApiKey): the configured LLM provider via Stagehand |
| Files on your machine | Reads its own ../package.json (program.js:25) and a .env file in the working directory (dotenv, index.js:1-2). Screenshots are kept in memory only. No file writes. |
| Runs programs | None. No child_process, eval or dynamic code loading. |
| Telemetry | None in the package code. Sessions are tagged userMetadata {mcp:'true'} at Browserbase (stagehandStore.js:43-45). Any telemetry inside the Stagehand/SDK dependencies was not reviewed. |
| Tools | multi_browserbase_stagehand_session_create, multi_browserbase_stagehand_session_list, multi_browserbase_stagehand_session_close, multi_browserbase_stagehand_navigate_session, multi_browserbase_stagehand_act_session, multi_browserbase_stagehand_extract_session, multi_browserbase_stagehand_observe_session, multi_browserbase_stagehand_get_url_session, browserbase_stagehand_get_all_urls, browserbase_session_create, browserbase_session_close, browserbase_stagehand_navigate, browserbase_stagehand_act, browserbase_stagehand_extract, browserbase_stagehand_observe, browserbase_screenshot, browserbase_stagehand_get_url |
| Tool descriptions | clean (descriptions only steer the model between this server's own single-session and multi-session tools; the 3 MCP prompts are usage guidance; no hidden or invisible text) |
This covers the package's own code only, not the 8 packages it depends on (@modelcontextprotocol/sdk, zod, dotenv, commander, @browserbasehq/stagehand, @browserbasehq/sdk, @mcp-ui/server, playwright-core (types only)). A new version drops this review until we read it again.
Popularity & health: 10 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
The repository is archived, so the score is capped at 10. 371 forks, 79 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
1 Hacker News thread linking to the source code. We link to them and copy nothing.
- Show HN: Browserbase MCP Server – Automate Browsers at Scale in Your Own Cloud 2 points, 0 comments, 2025-03-24
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.browserbase/mcp-server-browserbase |
|---|---|
| Publisher | GitHub account browserbase |
| How the name is verified | Name verified via GitHub account browserbase. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @browserbasehq/mcp-server-browserbase 2.1.1 (stdio) |
| Version | 2.1.1 |
| Published | |
| Last updated | |
| Source repository | https://github.com/browserbase/mcp-server-browserbase |
| Website | None linked |
| Category | Browser automation (assigned by keyword rule, not by hand) |
Related servers in Browser automation
- browserbase7/7Create and control browser sessions for web automation, testing,…
- Browserbase7/7Browserbase MCP server: cloud browser sessions, agents, contexts,…
- safari-mcp5/7Native Safari browser automation for AI agents — 98 tools, zero…
- Browserless7/8Official Browserless MCP server: browser automation, scraping,…
Playwright Cloud Browsers3/3Managed Playwright cloud browsers for scalable browser automation…- Browser Automation7/7Browser automation MCP server: navigate, fill forms, click,…