browser-use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
BRbrowser-use/browser-use122k近 7 天新增 478 个 star
Browser automation MCP server: navigate, fill forms, click, screenshot, and manage tabs
Browser control you can watch: open pages, sign in, click around, fill forms, take screenshots, and keep a reusable browser session.
Best for practical web tasks where the user needs to see, approve, or reuse browser state instead of running a full browser-testing stack.
server.json)STATUS.jsonMicrosoft's Playwright MCP is a strong choice for broad browser automation and testing. This connector is deliberately smaller and more visible.
Use it when an assistant needs to work through ordinary websites in a way a person can follow: open a real browser, let the user complete a login, click through admin screens, fill forms, take screenshots, and come back to the same session later. The point is trust and day-to-day usefulness, not exposing every browser-testing capability.
"Open https://example.com, tell me the page title, and take a screenshot."
Tools the host calls:
browser_navigate — opens the URL in the configured browser session.browser_get_page_info — returns the current URL and page title.browser_screenshot — captures a PNG screenshot.Response (trimmed):
{
"ok": true,
"url": "https://example.com/",
"title": "Example Domain"
}
agent-browser as a dependency.After clicking the button, your host will prompt you to fill: AGENT_BROWSER_SESSION_NAME, AGENT_BROWSER_SHOW_WINDOW.
{
"mcpServers": {
"Browser Automation": {
"command": "npx",
"args": [
"-y",
"@mindstone/mcp-server-browser-automation"
],
"env": {
"AGENT_BROWSER_SESSION_NAME": "mcp",
"AGENT_BROWSER_SHOW_WINDOW": "true"
}
}
}
}
npx -y @mindstone/mcp-server-browser-automation
Or install globally:
npm install -g @mindstone/mcp-server-browser-automation
mcp-server-browser-automation
This server uses the agent-browser CLI to control the browser.
Nothing to do: installing this server installs agent-browser with it (pinned to 0.43.0), and the server always runs that copy's native binary directly. No shell and no npx are involved, so this works the same on Windows, macOS and Linux. An agent-browser on your PATH is not used.
No API keys or credentials are required. The server communicates with the browser via the agent-browser CLI.
| Variable | Required | Description |
|---|---|---|
AGENT_BROWSER_SESSION_NAME | No | Session name for browser persistence (default: mcp) |
AGENT_BROWSER_SHOW_WINDOW | No | Set to false to run without a visible browser window. Default is visible (true). |
AGENT_BROWSER_AUTOSAVE_INTERVAL_MS | No | Periodic session autosave interval in milliseconds (needs agent-browser 0.31.2 or later). Default 0 (off), because each periodic save briefly opens a tab that brings a visible browser window in front of other apps. The session is still saved when the browser closes (browser_close). Any value you set is passed through as-is; an empty or non-numeric value gets the CLI's 30-second default. The agent-browser daemon reads it when it starts, so an already-running daemon keeps its previous setting until it exits (for example after browser_close). |
MCP_WORKSPACE_PATH | No | Workspace directory that browser_pdf writes into and browser_upload reads from. Defaults to the system temp directory. See Security notes. |
{
"mcpServers": {
"browser-automation": {
"command": "npx",
"args": ["-y", "@mindstone/mcp-server-browser-automation"]
}
}
}
overwrite: true)destructiveHint: true, so the host's permission settings decide when to ask — see Security notes)The browser stays open between calls. When the host stops this server (it closes the server's stdin, or sends SIGTERM or SIGINT), a separate process closes the browser and its agent-browser background process, saving the session first, so the host never waits for it. If a close cannot get through within 8 seconds (a page is hanging, say), that process force-stops them, which cannot save the session. The server declares the experimental MCP capability super-mcp/keep-alive, which asks a host that stops idle servers (such as super-mcp) to keep it running until the host itself stops, so an idle pause doesn't close the browser.
The typical workflow uses accessibility snapshots for reliable element targeting:
browser_navigate → open a pagebrowser_snapshot → see interactive elements with @ref IDsbrowser_click / browser_fill → interact using @ref referencesbrowser_screenshot → visual verificationBrowser automation has a large attack surface: the agent-browser CLI controls a real headless browser that loads URLs you pass it, runs page-side JavaScript, and persists cookies and session state across runs. Read this section before deploying.
agent-browser config files are readThe agent-browser CLI this connector drives now runs in the connector's own folder (where its package is installed), so an agent-browser.json in the folder the host starts the connector from is not read: that file can choose which program the CLI launches. Your own ~/.agent-browser/config.json is still read, and so is a file named by AGENT_BROWSER_CONFIG; to keep settings from a project file, move them into one of those. Give full paths for any path in an agent-browser config file or AGENT_BROWSER_* variable: a relative path is now resolved from the connector's own folder, not from the folder the host started in.
browser_evaluate runs by default — the host's permissions are the gatebrowser_evaluate lets the model execute arbitrary JavaScript inside the page context — the security equivalent of giving the model a shell on whatever site it has just navigated to. The tool is registered unconditionally (capability-first); the safeguard is the host's tool-approval layer. The tool is marked destructiveHint: true, so the host's permission settings decide when to ask first.
browser_navigate and browser_authenticate accept only http: and https: URLs (plus the special about:blank). Other URL schemes are refused before the underlying agent-browser CLI is invoked:
file: — would let pages read local filesystem pathschrome: and chrome-extension: — internal browser pages and installed extensionsjavascript: — equivalent to eval() against the current documentdata: — inlined attacker-controlled HTML/JS payloadsview-source: — defeats the same-origin policy on rendered contentabout: — privileged internal pages (about:config, about:cache, about:debugging, …); only about:blank is permittedThe connector tells agent-browser to use a named, persistent session via AGENT_BROWSER_SESSION_NAME (default value: mcp). All cookies, localStorage data, and any logins performed via browser_authenticate are stored on disk under that session name and reused across runs. Anyone who can read the session storage — the local user, other tools running as the same user, or backups — can also use those logged-in sessions.
To override the session name (for example, to keep separate profiles per project) set AGENT_BROWSER_SESSION_NAME explicitly in the host's MCP server config. To wipe state, close the browser via browser_close and remove the session directory managed by agent-browser.
AGENT_BROWSER_SESSION_NAME per MCP host. Do not reuse your daily browser profile: the connector reads and overwrites cookies in whichever profile it is pointed at, and a malicious page can ride the existing session of any site you are logged into.browser_evaluate runs by default — every call executes arbitrary JavaScript in the page context. It is marked destructiveHint: true, so the host's permission settings decide when to ask.browser_authenticate and flows that reach authenticated sites can be driven by prompt injection in fetched content at sites the user is logged into; the host's permission settings decide when to ask before them.browser_evaluate outputs come from arbitrary websites and may contain prompt-injection attempts. The connector wraps them in <untrusted-content source="…"> envelopes (with close-tag breakout escaping) so hosts and models treat them as data, not instructions. Keep that treatment on your side: don't strip the envelopes, and don't let page text alone trigger irreversible actions.browser_pdf output paths are constrained to a workspace directory: MCP_WORKSPACE_PATH when set, otherwise the system temp directory. Paths are canonicalised before use, so .. traversal, absolute paths outside the workspace, and in-workspace symlinks pointing outside it are all refused before the agent-browser CLI runs. For standalone clients, including clients that do not negotiate files/readModes version 1, browser_upload input reads follow these same workspace restrictions. 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. Set MCP_WORKSPACE_PATH explicitly to control exactly where page captures land and, for standalone input reads, which files the model can attach to a page. A MCP_WORKSPACE_PATH that cannot be resolved fails closed: file tools refuse to run rather than fall back to weaker checks.
Both tools are marked destructiveHint: true, so the host's permission settings decide when to ask first: browser_upload can trigger an immediate remote upload on pages that submit when the file input changes, and browser_pdf writes a local file.
Additional hardening:
browser_upload sources are opened once (O_NOFOLLOW + O_NONBLOCK, so a post-validation leaf-symlink swap fails and a planted FIFO cannot wedge the open), verified to be regular files (directories, devices, and FIFOs are refused), bound to a fresh resolution of the approved path by device+inode (an intermediate-directory swap after validation redirects the resolution and is refused with UPLOAD_SOURCE_CHANGED), and copied into a fresh private staging directory that the CLI consumes. browser_pdf has the CLI write into a fresh private staging directory, then installs the PDF at the requested path: the destination directory's canonical identity is pinned before the CLI runs and re-verified before installing, so an intermediate directory swapped to a symlink mid-call is refused, and exclusive-create semantics refuse a file or symlink planted at the destination leaf instead of writing through it.browser_pdf refuses an existing file_path with a FILE_EXISTS error unless the caller explicitly passes overwrite: true. Even then, a destination that is a directory is refused (DESTINATION_IS_DIRECTORY) — the overwrite delete is a bare unlink and never recurses.agent-browser CLI can contain page-authored text; it is wrapped in <untrusted-content> envelopes (with close-tag breakout escaping) before reaching the model, and timeout errors do not echo the command's argument values.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.
When a host negotiates experimental files/writeModes version 1, declared save destinations use the canonical file or parent folder authorised for that concrete argument in the call's files/writeMode metadata. The host's path permissions apply instead of the connector's standalone path policy. File type, size, identity, exclusive-create and overwrite mechanics still apply. Clients that do not negotiate this protocol, or select standalone mode, retain the existing sandbox.
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
BRbrowser-use/browser-use122k近 7 天新增 478 个 star
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
POPostHog/posthog41k近 7 天新增 163 个 star
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
SKSkyvern-AI/skyvern24k近 7 天新增 54 个 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 天新增 18 个 star