Skip to main content
Glama
Browserbase MCP Server
by Ashesh3

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--hostNoHost to bind server to (default: localhost, use 0.0.0.0 for all interfaces).
--portNoPort to listen on for HTTP/SHTTP transport.
--persistNoWhether to persist the Browserbase context (default: true).
--proxiesNoEnable Browserbase proxies for the session.
--contextIdNoSpecify a Browserbase Context ID to use.
--keepAliveNoEnable Browserbase Keep Alive Session.
--modelNameNoThe model to use for Stagehand (default: gemini-2.0-flash).
--modelApiKeyNoAPI key for the custom model provider (required when using custom models).
--browserWidthNoBrowser viewport width (default: 1024).
--experimentalNoEnable experimental features (default: false).
GEMINI_API_KEYNoAPI key for Google Gemini, used by the default Gemini 2.0 Flash model.
--browserHeightNoBrowser viewport height (default: 768).
--advancedStealthNoEnable Browserbase Advanced Stealth (Only for Scale Plan Users).
BROWSERBASE_API_KEYNoYour Browserbase API key.
BROWSERBASE_PROJECT_IDNoYour 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

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 9 tools

Disambiguation4/5

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.

Naming Consistency4/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues