Skip to content

Commit 82f7c41

Browse files
committed
setup updates + version update
1 parent 6db213b commit 82f7c41

File tree

2 files changed

+21
-31
lines changed

2 files changed

+21
-31
lines changed

browserbase/README.md

Lines changed: 20 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,9 @@
33
A Model Context Protocol server that uses Playwright and Browserbase
44
to provide browser automation tools.
55

6-
## Setup
7-
8-
1. Install dependencies:
9-
```bash
10-
npm install
11-
```
12-
2. Set environment variables (e.g., in a `.env` file):
13-
* `BROWSERBASE_API_KEY`: Your Browserbase API key.
14-
* `BROWSERBASE_PROJECT_ID`: Your Browserbase project ID.
15-
3. Compile TypeScript:
16-
```bash
17-
npm run build
18-
```
19-
206
## How to setup in MCP json
217

22-
```json
23-
{
24-
"mcpServers": {
25-
"browserbase": {
26-
"url": "http://localhost:8931/sse",
27-
"env": {
28-
"BROWSERBASE_API_KEY": "",
29-
"BROWSERBASE_PROJECT_ID": ""
30-
}
31-
}
32-
}
33-
}
34-
```
35-
36-
## Local Dev
8+
### Local Dev
379

3810
To run locally we can use STDIO or self-host over SSE.
3911

@@ -58,11 +30,29 @@ To your MCP Config JSON file add the following:
5830

5931
### SSE:
6032

33+
Run the following command in your terminal. You can add any flags (see options below) that you see fit to customize your configuration.
34+
6135
```bash
6236
node cli.js --port 8931
6337
```
6438

65-
From here you should be able to put the url as "http://localhost:8931/sse" in the config.json
39+
Then in your MCP Config JSON file put the following:
40+
41+
```json
42+
{
43+
"mcpServers": {
44+
"browserbase": {
45+
"url": "http://localhost:8931/sse",
46+
"env": {
47+
"BROWSERBASE_API_KEY": "",
48+
"BROWSERBASE_PROJECT_ID": ""
49+
}
50+
}
51+
}
52+
}
53+
```
54+
55+
Then reload your MCP client and you should be good to go!
6656

6757
## Flags Explained:
6858

browserbase/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@browserbasehq/mcp-browserbase",
3-
"version": "0.5.1",
3+
"version": "0.5.2",
44
"description": "MCP server for browser automation using browserbase",
55
"license": "MIT",
66
"author": "Browserbase, Inc. (https://browserbase.com)",

0 commit comments

Comments
 (0)