You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# why
Sync the Stagehand MCP docs with the Browserbase MCP docs for STG-1576.
# what changed
Copied the refreshed Browserbase MCP introduction and setup pages into
`packages/docs/v3/integrations/mcp`.
# test plan
`pnpm exec prettier --check packages/docs/docs.json
packages/docs/v3/integrations/mcp/introduction.mdx
packages/docs/v3/integrations/mcp/setup.mdx`; `pnpm --dir packages/docs
exec mint broken-links` (unrelated existing failures only); `pnpm lint`
fails in `packages/core` on an existing ESLint rule config issue.
---------
Co-authored-by: ci-test <ci-test@example.com>
Copy file name to clipboardExpand all lines: packages/docs/v2/first-steps/quickstart.mdx
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Quickstart
3
3
description: 'Stagehand allows you to build web automations with natural language and code.'
4
4
---
5
5
6
-
If this is your **first time using Stagehand**, you should try [Director](https://director.ai) first. It's an agent that allows you to build Stagehand workflows using natural language. You can also try Stagehand using our [MCP server](/integrations/mcp/introduction) .
6
+
If this is your **first time using Stagehand**, you should try [Director](https://director.ai) first. It's an agent that allows you to build Stagehand workflows using natural language. You can also try Stagehand using our [MCP server](/v2/integrations/mcp/introduction).
7
7
8
8
Otherwise, the quickest way to start with Stagehand is with our CLI. It scaffolds a ready‑to‑run Stagehand app with sensible defaults, and an example script.
9
9
@@ -122,4 +122,3 @@ Learn about the Stagehand primitives: act, extract, observe, and agent.
Copy file name to clipboardExpand all lines: packages/docs/v2/integrations/mcp/introduction.mdx
+32-72Lines changed: 32 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,16 @@ description: "AI-powered browser automation through Model Context Protocol integ
6
6
7
7
## Overview
8
8
9
-
The Browserbase MCP Server brings powerful browser automation capabilities to Claude through the Model Context Protocol (MCP). Built on top of [Stagehand](https://docs.stagehand.dev/), this integration provides AI-powered web automation using natural language commands.
9
+
The Browserbase MCP Server brings powerful browser automation capabilities to MCP clients through the Model Context Protocol (MCP). Built on top of [Stagehand](https://docs.stagehand.dev/), this integration provides AI-powered web automation using natural language commands.
10
10
11
11
<Info>
12
-
This server enables Claude to control browsers, navigate websites, interact with web elements, and extract data—all through simple conversational commands.
12
+
The hosted [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http)
13
+
endpoint is served on Browserbase infrastructure.
14
+
You can also run the MCP server locally with STDIO, but we recommend the
1.**Browserbase MCP Server**: Provides browser automation tools to Claude Desktop and other MCP clients
18
-
2.**MCP Integrations in Stagehand**: Add external tools (like Exa search, Supabase) to Stagehand agents
19
-
20
-
This documentation covers the Browserbase MCP Server. For using MCP integrations within Stagehand agents, see [MCP Integrations](/best-practices/mcp-integrations).
21
-
</Note>
22
-
23
19
## Key Features
24
20
25
21
<CardGroupcols={2}>
@@ -28,25 +24,17 @@ Control browsers using plain English commands like "click the login button" or "
28
24
</Card>
29
25
30
26
<Cardtitle="Web Interaction"icon="browser">
31
-
Navigate, click, and fill forms with ease
27
+
Navigate, click, and fill forms with ease
32
28
</Card>
33
29
34
30
<Cardtitle="Data Extraction"icon="download">
35
-
Extract structured data from any website automatically
Run multiple browser sessions simultaneously for complex workflows
31
+
Extract structured data from any website automatically
41
32
</Card>
42
33
43
-
<Cardtitle="Screenshot Capture"icon="camera">
44
-
Capture and analyze webpage screenshots programmatically
34
+
<Cardtitle="Session Lifecycle"icon="route">
35
+
Create, reuse, and close browser sessions with explicit MCP tools
45
36
</Card>
46
37
47
-
<Cardtitle="Cookie Management"icon="cookie-bite">
48
-
Handle authentication and session persistence across interactions
49
-
</Card>
50
38
</CardGroup>
51
39
52
40
## Core Benefits
@@ -59,7 +47,7 @@ No need to learn complex selectors or automation syntax. Simply describe what yo
59
47
</Card>
60
48
61
49
<Cardtitle="Quick Setup"icon="rocket">
62
-
Get started in minutes with our NPM package or our remote hosted URL.
50
+
Get started in minutes with either hosted [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http)or local STDIO.
63
51
</Card>
64
52
65
53
<Cardtitle="Smart Automation"icon="brain">
@@ -75,31 +63,27 @@ Navigate, click, type, scroll, and interact with any web element.
75
63
</Card>
76
64
77
65
<Cardtitle="Data Intelligence"icon="chart-line">
78
-
Extract structured information from complex web pages automatically.
66
+
Extract structured information from complex web pages automatically.
Built on Browserbase's cloud browser platform for consistent performance.
78
+
Hosted [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) runs on Browserbase infrastructure for consistent performance.
@@ -173,63 +157,39 @@ Automate repetitive web-based business processes
173
157
</Tab>
174
158
</Tabs>
175
159
176
-
## Session Management
177
-
178
-
<Info>
179
-
The Browserbase MCP Server supports both single and multi-session architectures to accommodate different automation needs.
180
-
</Info>
181
-
182
-
<Tabs>
183
-
<Tabtitle="Single Session Mode">
184
-
**Traditional Approach**
185
-
- One active browser session at a time
186
-
- Simpler for basic automation tasks
187
-
- Automatic session lifecycle management
188
-
- Ideal for sequential workflows
189
-
</Tab>
190
-
191
-
<Tabtitle="Multi-Session Mode">
192
-
**Advanced Parallel Processing**
193
-
- Multiple independent browser sessions
194
-
- Each session maintains separate state
195
-
- Parallel execution capabilities
196
-
- Perfect for complex workflows
197
-
</Tab>
198
-
</Tabs>
199
-
200
160
## Getting Started
201
161
202
162
<Steps>
203
163
<Steptitle="Install the MCP Server">
204
-
Choose from NPM installation, remote hosted URL, or local development based on your needs.
164
+
Choose hosted [Streamable HTTP](https://modelcontextprotocol.io/specification/2025-03-26/basic/transports#streamable-http) (recommended) or local STDIO based on your needs.
205
165
</Step>
206
166
207
167
<Steptitle="Configure Authentication">
208
-
Set up your Browserbase API credentials in the MCP configuration.
209
-
Get your API keys from the [Browserbase Dashboard](https://www.browserbase.com/overview).
168
+
Set up your Browserbase API credentials in MCP configuration. Get API keys
169
+
from the [Browserbase Dashboard](https://www.browserbase.com/overview).
210
170
</Step>
211
171
212
172
<Steptitle="Start Automating">
213
-
Begin using natural language commands to control browsers through Claude.
173
+
Begin using natural language commands to control browsers through your MCP client.
214
174
</Step>
215
175
</Steps>
216
176
217
177
<Tip>
218
-
Ready to get started? Check out our[Setup Guide](/integrations/mcp/setup) for detailed installation instructions.
178
+
Ready to get started? Check out the[Setup Guide](/v2/integrations/mcp/setup).
0 commit comments