MCP.so
登录

Stagehand MCP Server

@browserbase

关于 Stagehand MCP Server

暂无概览

基本信息

分类

其他

许可证

MIT license

运行时

node

传输方式

stdio

发布者

browserbase

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "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>"
      }
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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

Use cases of Stagehand MCP Server

FAQ from Stagehand MCP Server

What environment variables are required?

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

What tools does Stagehand MCP Server provide?

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

What resources can I access?

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

Is Stagehand MCP Server model-agnostic?

Yes, it supports various LLM providers for flexibility.

How do I enable debug logging?

Set the DEBUG environment variable to enable debug logging.

评论

其他 分类下的更多 MCP 服务器