SuperAPIAI Directory

mcp-server-browserbase

github.com · AI productivity

Automate browser interactions in the cloud (e.g. web navigation, data extraction, form filling, and more)

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux

About this tool

Purpose

Browserbase MCP Server is a server based on the Model Context Protocol (MCP), used to let large language models (LLMs) control a browser. It combines Browserbase and Stagehand to provide cloud browser automation capabilities, enabling LLMs to interact with web pages, extract information, and perform automated operations. MCP is an open protocol for seamless integration between LLM applications and external data sources and tools, suitable for building AI-driven IDEs, enhancing chat interfaces, or creating custom AI workflows.

This server is a self-hosted version of the Browserbase hosted MCP server, with the same tools and functionality. The official recommendation is to use the hosted version for the simplest setup.

Main Capabilities

This server exposes 6 tools, consistent with the hosted Browserbase MCP server. It supports two transport methods: STDIO and SHTTP. The official recommendation is to use SHTTP with the hosted MCP server to take full advantage of the server capabilities.

  • SHTTP (Hosted MCP): Use the Browserbase hosted MCP server, located at https://mcp.browserbase.com/mcp。这是最简单的入门方式,由官方托管服务器并承担 The LLM cost of Gemini (the best-performing model in Stagehand). For complete setup instructions, see the Browserbase MCP documentation.
  • STDIO (self-hosted): You can use the server hosted on NPM, or run it completely locally by cloning this repository.

Usage

Run via NPM (recommended)

Add the Browserbase Server to the MCP configuration JSON, then reload the MCP client to use it.

Run completely locally

After cloning the repository, run the server in the MCP configuration JSON.

Command-line flags

The Browserbase MCP server accepts the following command-line flags, which can be passed directly to the CLI or configured in the MCP configuration file. Note: these flags can only be used with the self-hosted server (npx @browserbasehq/mcp or Docker).

Model configuration

Stagehand uses Google's Gemini 2.5 Flash Lite model by default, but it can be configured to use other models, such as GPT-4o, Claude, or other providers. Important note: when using any custom model (non-default), you must provide the API key for that model provider via the --modelApiKey flag. Note: the model must be supported in Stagehand; see the Stagehand documentation for details.

Use Cases

Suitable for scenarios that require letting an LLM control a browser for web navigation, data extraction, form filling, and other automation tasks, such as building AI-driven IDEs, enhancing chat interfaces, or creating custom AI workflows.

Limitations

This repository has been archived and is no longer maintained. It was originally released as a reference implementation and is retained for historical reference only; it should not be interpreted as representative of Browserbase's current production services or implementations.

Related Documentation

  • Browserbase MCP documentation
  • MCP documentation
  • MCP specification
  • Stagehand documentation

License

Licensed under the Apache 2.0 License. Copyright 2025 Browserbase, Inc.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools