Browserbase MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| --host | No | Host to bind server to (default: localhost, use 0.0.0.0 for all interfaces). | |
| --port | No | Port to listen on for HTTP/SHTTP transport. | |
| --persist | No | Whether to persist the Browserbase context (default: true). | |
| --proxies | No | Enable Browserbase proxies for the session. | |
| --contextId | No | Specify a Browserbase Context ID to use. | |
| --keepAlive | No | Enable Browserbase Keep Alive Session. | |
| --modelName | No | The model to use for Stagehand (default: gemini-2.0-flash). | |
| --modelApiKey | No | API key for the custom model provider (required when using custom models). | |
| --browserWidth | No | Browser viewport width (default: 1024). | |
| --experimental | No | Enable experimental features (default: false). | |
| GEMINI_API_KEY | No | API key for Google Gemini, used by the default Gemini 2.0 Flash model. | |
| --browserHeight | No | Browser viewport height (default: 768). | |
| --advancedStealth | No | Enable Browserbase Advanced Stealth (Only for Scale Plan Users). | |
| BROWSERBASE_API_KEY | No | Your Browserbase API key. | |
| BROWSERBASE_PROJECT_ID | No | Your Browserbase project ID. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"subscribe": true,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| browserbase_session_createC | Create or reuse a Browserbase browser session and set it as active. |
| browserbase_session_closeA | Close the current Browserbase session and reset the active context. |
| browserbase_stagehand_navigateA | Navigate to a URL in the browser. Only use this tool with URLs you're confident will work and be up to date. Otherwise, use https://google.com as the starting point |
| browserbase_stagehand_actB | Perform a single action on the page (e.g., click, type). |
| browserbase_stagehand_extractC | Extract structured data or text from the current page using an instruction. |
| browserbase_stagehand_observeB | Find interactive elements on the page from an instruction; optionally return an action. |
| browserbase_screenshotC | Capture a full-page screenshot and return it (and save as a resource). |
| browserbase_stagehand_get_urlA | Return the current page URL (full URL with query/fragment). |
| browserbase_stagehand_agentB | Execute a task autonomously using Gemini Computer Use agent. The agent will navigate and interact with web pages to complete the given task. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 9 tools
Most tools target clearly distinct operations: session lifecycle (create/close), navigation, action, extraction, screenshot, and URL retrieval. The main ambiguity is between browserbase_stagehand_act (single action) and browserbase_stagehand_agent (autonomous task), and to a lesser degree observe vs extract, but descriptions clarify these boundaries.
All tools share the browserbase_ prefix, giving a predictable namespace. However, the middle segment varies in structure (session_create is resource+action, stagehand_navigate is subsystem+action, screenshot has no middle segment), creating minor inconsistency in the pattern.
Nine tools is well-scoped for a browser automation server, covering session management, navigation, interaction, extraction, and screenshots without redundancy. Each tool earns its place in the workflow.
The surface covers the core browser automation lifecycle: session create/close, navigate, act, extract, observe, screenshot, get_url, and an autonomous agent. Minor gaps exist (no explicit back/forward history navigation, wait-for-condition, or raw page content retrieval), but agents can work around these via act/navigate.