Skip to content

Commit 508958f

Browse files
committed
flags
1 parent 4dc1ef0 commit 508958f

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

browserbase/README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,27 @@ To run locally we can self-host over SSE.
4343

4444
From here you should be able to put the url as "http://localhost:8931/sse" in the config.json
4545

46-
You can also pass in the optional flags for proxies and context id that are shown in [`config.d.ts`](./config.d.ts).
46+
## Flags Explained:
47+
48+
The Browserbase MCP server accepts the following command-line flags:
49+
50+
| Flag | Description |
51+
|------|-------------|
52+
| `--browserbaseApiKey <key>` | Your Browserbase API key for authentication |
53+
| `--browserbaseProjectId <id>` | Your Browserbase project ID |
54+
| `--proxies` | Enable Browserbase proxies for the session |
55+
| `--contextId <contextId>` | Specify a Browserbase Context ID to use |
56+
| `--persist [boolean]` | Whether to persist the Browserbase context (default: true) |
57+
| `--port <port>` | Port to listen on for HTTP/SSE transport |
58+
| `--host <host>` | Host to bind server to (default: localhost, use 0.0.0.0 for all interfaces) |
59+
| `--cookies [json]` | JSON array of cookies to inject into the browser |
60+
| `--browserWidth <width>` | Browser viewport width (default: 1024) |
61+
| `--browserHeight <height>` | Browser viewport height (default: 768) |
62+
63+
These flags can be passed directly to the CLI or configured in your MCP configuration file.
64+
65+
Currently, these flags can only be used with the local server (npx @browserbasehq/mcp-server-browserbase).
66+
4767
____
4868

4969
## Flags & Example Configs

0 commit comments

Comments
 (0)