Quick Configuration
Choose the setup that matches your environment.
Before You Start
- Confirm you have the account, endpoint, or API key required for Browserbase.
- Start with minimum scopes and read-only access where possible.
- Keep secrets in environment variables instead of hardcoding them in JSON.
Hosted / Remote
JSON Hosted Config json
{
"browserbase": {
"url": "https://YOUR_BROWSERBASE_MCP_ENDPOINT"
}
} Local CLI (npx)
JSON Local Config json
{
"browserbase": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://YOUR_BROWSERBASE_MCP_ENDPOINT"],
"env": {
"BROWSERBASE_API_KEY": "YOUR_BROWSERBASE_API_KEY"
}
}
} Common Pitfalls & Fixes
- â ī¸ Watch out: Session lifecycle, credentials handling, and network egress policies.
- đ Always store API keys in environment variables, never hardcode them in JSON.
- đĄī¸ Start with read-only scopes if available to verify connection safely.
Example Prompts
Once connected, try these prompts to test capabilities:
- Start a new browser session, visit a URL, and return a screenshot and page title.
- Extract key details from a page (price, plan name, and FAQ headings) into JSON.
- Run the same navigation twice and report any flaky elements you noticed.
Verification Checklist
- Run 1-2 real prompts to confirm Browserbase returns usable data.
- Check that error messages are clear enough for troubleshooting.
- Document the required scopes, dependencies, and env vars for future reuse.