Feedback

Stagehand MCP Server

@browserbase Claim

Basic information

Runtime
node
Category
License
MIT license
Transports
stdio
Author
browserbase
Submitted by
Community
Quality
10

About Stagehand MCP Server

# Stagehand MCP Server

Stagehand MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by browserbase. Supported transport: stdio. Runtime: node. License: MIT license. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "stagehand": {
            "command": "node",
            "args": [
                "path/to/mcp-server-stagehand/dist/index.js"
            ],
            "env": {
                "BROWSERBASE_API_KEY": "<YOUR_BROWSERBASE_API_KEY>",
                "BROWSERBASE_PROJECT_ID": "<YOUR_BROWSERBASE_PROJECT_ID>",
                "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
            }
        }
    }
}

Stagehand MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "stagehand": {
            "command": "node",
            "args": [
                "path/to/mcp-server-stagehand/dist/index.js"
            ],
            "env": {
                "BROWSERBASE_API_KEY": "<YOUR_BROWSERBASE_API_KEY>",
                "BROWSERBASE_PROJECT_ID": "<YOUR_BROWSERBASE_PROJECT_ID>",
                "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
            }
        }
    }
}

Stagehand MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Stagehand MCP Server?

A Model Context Protocol (MCP) server that provides AI-powered web automation capabilities using Stagehand. It enables LLMs to interact with web pages, perform actions, extract data, and observe possible actions in a real browser environment.

How to use Stagehand MCP Server?

Install dependencies (npm install), build the project (npm run build), then configure your Claude Desktop with the required environment variables (BROWSERBASE_API_KEY, BROWSERBASE_PROJECT_ID, OPENAI_API_KEY). After restarting Claude, use the tools (navigate, act, extract, observe, screenshot) via the hammer icon.

Key features of Stagehand MCP Server

  • AI-powered web automation in a real browser
  • Perform actions on web pages
  • Extract structured data from pages
  • Observe possible actions on pages
  • Simple and extensible API
  • Model-agnostic support for various LLM providers

Frequently asked questions

1 What environment variables are required?

BROWSERBASE_API_KEY, BROWSERBASE_PROJECT_ID, and OPENAI_API_KEY must be set to authenticate with Browserbase and OpenAI.

2 What tools does Stagehand MCP Server provide?

The server offers stagehand_navigate, stagehand_act, stagehand_extract, stagehand_observe, and screenshot.

3 What resources can I access?

Console logs (console://logs) and screenshots (screenshot://<n>) are available as resources.

4 Is Stagehand MCP Server model-agnostic?

Yes, it supports various LLM providers for flexibility.

5 How do I enable debug logging?

Set the DEBUG environment variable to enable debug logging.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬