browser-use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
BRbrowser-use/browser-use122k近 7 天新增 560 个 star
Browserbase MCP server: cloud browser sessions, agents, contexts, fetch, search, functions
Cloud browser automation via the Browserbase API: sessions with live-view debugging, AI web agents, persistent contexts, downloads, fetch/search, and serverless functions.
Best for MCP hosts that want a local browser-automation connector covering the entire Browserbase API — from "open a browser and show me" to "run an agent that extracts pricing data".
BROWSERBASE_API_KEY)STATUS.jsonBrowserbase's API spans everything from raw CDP sessions to fully-managed AI agents. This package exposes all of it to local stdio MCP hosts as a single connector with deliberate guardrails: session billing is called out in tool descriptions, destructive actions are annotated, external web content is always wrapped as untrusted data, and long-running work is polled (Browserbase has no webhooks).
"Extract the pricing tiers from example.com and give them to me as JSON."
Tools the host calls:
create_agent_run — starts a run with the task and a result_schema for the JSON shape.wait_for_agent_run — polls until the run completes and returns the structured result.get_agent_run_messages — (optional) shows what the agent did, step by step.Response (trimmed):
{
"ok": true,
"runId": "r0a0b0c0-…",
"status": "COMPLETED",
"result": { "plans": [ { "name": "…", "price": 0 } ] },
"waited_seconds": 47
}
After clicking the button, your host will prompt you to fill: BROWSERBASE_API_KEY.
{
"mcpServers": {
"Browserbase": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-browserbase"
],
"env": {
"BROWSERBASE_API_KEY": ""
}
}
}
}
cd <path-to-repo>/connectors/browserbase
npm install
npm run build
npx -y @mindstone/mcp-server-browserbase
node dist/index.js
| Variable | Required | Description |
|---|---|---|
BROWSERBASE_API_KEY | Yes | Browserbase API key. Get one at browserbase.com/settings |
BROWSERBASE_REQUEST_TIMEOUT_MS | No | Per-request timeout for Browserbase API calls in milliseconds (default 30000) |
MCP_WORKSPACE_PATH | No | Workspace directory for local files uploaded by upload_session_file, upload_extension, and upload_certificate. Defaults to the system temp directory. For standalone clients, file reads are sandboxed to this directory; for negotiated files/readModes version 1, see Host-authorized local inputs. |
When running inside a host that provides the credential bridge, configure_browserbase_api_key persists the key through the host instead of the environment. The connector reads the bridge only through the shared hardened bridge reader (src/bridge-reader.ts).
{
"mcpServers": {
"browserbase": {
"command": "npx",
"args": ["-y", "@mindstone/mcp-server-browserbase"],
"env": {
"BROWSERBASE_API_KEY": "your-api-key"
}
}
}
}
Every create_session starts a billable browser (per-minute, 1-minute minimum). The create_session and end_session descriptions tell the agent this explicitly, and end_session should be called as soon as automation finishes. Exceeding the project's concurrency limit returns 429 with a retry-after window that the error resolution surfaces verbatim.
get_session returns a credentialed connectUrl and get_session_debug_urls returns debugger/live-view URLs. Anyone with these URLs can watch AND drive the browser — they are for sharing with the session's owner, never publicly.
Anything authored outside your account — fetched page content, search results, page titles in debug URLs, agent run tasks/results/messages, CDP log bodies, replay playlists, download filenames, function output, error details — is wrapped in <untrusted-content source="browserbase:…"> envelopes with close-tag breakout escaping before it reaches the model. A function version's userParamsSchema and sessionCreateParams are written by the function's author, keys included, so each comes back as one JSON string inside an envelope: unwrap the envelope (and its tag escaping) before parsing the JSON. CDP log rawBody values are additionally truncated beyond ~4KB with a truncation note.
upload_session_file, upload_extension, and upload_certificate accept local file_paths. For standalone clients, including clients that do not negotiate files/readModes version 1, reads are constrained to MCP_WORKSPACE_PATH (or the system temp directory when unset) using canonical-prefix containment: .. traversal, absolute paths outside the sandbox, and symlinks that escape it are rejected before any disk read. With negotiated version 1, the host selects a mode for each call: in central mode, input reads use only the host-authorized canonical path described under Host-authorized local inputs; in standalone mode, the standalone restrictions apply. In every mode, the read is open-then-validate: the connector opens a descriptor, confirms the opened inode is the approved file, reads through that descriptor, and re-checks it after the read — a file swapped or modified mid-read fails closed.
fetch_url (and the URLs embedded in search results you might fetch next) are guarded by a public-URL check: only http:///https:// schemes, and localhost, loopback, link-local, and private IP ranges are rejected before any request is sent.
delete_context, delete_agent, delete_download, delete_extension, delete_certificate, end_session, stop_agent_run, invoke_function, and all create_*/upload_* tools carry destructiveHint: true. Deletes are permanent; the host's permission settings decide when to ask first.
GET /sessions/{id}/recording (rrweb event dump) is deprecated by Browserbase and returns a deprecation 404 — it is deliberately not exposed. Use get_session_replays / get_session_replay_playlist (watchable) or the recording-download tools (MP4 files) instead.wait_for_agent_run / get_agent_run), recording downloads (get_session_recording_downloads), and function invocations (get_function_invocation) are all polled.All upstream errors are returned as structured JSON with ok: false, a semantic code (AUTH_REQUIRED, VALIDATION_FAILED, NOT_FOUND, CONFLICT, GONE, RATE_LIMITED, PAYMENT_REQUIRED, UPSTREAM_ERROR, TIMEOUT, …), and an actionable resolution. Rate-limit errors include the server-provided retry-after window. Upstream error text is enveloped as untrusted content, and the API key never appears in any output.
FSL-1.1-MIT — Functional Source License, Version 1.1, with MIT future licence. The software converts to MIT licence on 2030-04-08.
files/readModes version 1 is an experimental extension used by these connectors,
not part of the MCP standard. A compatible host (the app running the connector)
decides which input files a tool call may read. The connector opens only the
host-approved physical path, after resolving symlinks. The host supplies this
permission information with each call; it is not a tool argument you need to set.
Missing or invalid permission information, or a file absent from the approved
list, stops the read.
Clients that do not negotiate this extension keep the connector's existing standalone file restrictions. This extension changes input-read permissions; existing output destinations, upload formats, size limits and file checks apply.
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
BRbrowser-use/browser-use122k近 7 天新增 560 个 star
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
POPostHog/posthog41k近 7 天新增 202 个 star
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
SKSkyvern-AI/skyvern24k近 7 天新增 74 个 star
📊 Python APIs for Web Automation, Testing, and Scraping. CDP Mode launches a stealth browser that bypasses bot-detection/CAPTCHAs. Has a stealth mode for Playwright. Includes an MCP server for AI agents.
SEseleniumbase/SeleniumBase13k近 7 天新增 19 个 star