Agent Browser MCP logo

Agent Browser MCP

agent-browser-mcp MCP server lets AI agents automate browsers through Vercel's agent-browser CLI.

Install Agent Browser MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agent-browser-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "agent-browser-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio agent-browser-mcp -- npx -y agent-browser-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 34 tools correctly ().

Overview

The agent-browser-mcp MCP server exposes Vercel's agent-browser CLI to AI agents for browser navigation, interaction, extraction, and debugging. It runs as a Node.js MCP process and uses agent-browser's Rust CLI, with a Node.js fallback. Use it for web research, form workflows, browser testing, screenshots, PDFs, or authenticated sessions. Multiple isolated sessions can keep cookies, storage, and navigation history separate.

Use cases

  • Scrape structured information from websites for research or RAG
  • Automate multi-step web forms and data entry
  • Run browser-based end-to-end tests with assertions
  • Capture screenshots or PDFs for analysis and documentation
  • Monitor web pages and authenticated workflows

Key features

  • Semantic browser element locators
  • Isolated sessions with separate cookies and storage
  • Navigation, form input, clicking, scrolling, and keyboard control
  • Text, HTML, accessibility snapshot, screenshot, and PDF extraction
  • Cookie, console, network, and JavaScript inspection

Tools34

What Agent Browser MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 50d

What it can do

From the 34 tools this server returned when we ran it.

Runs commands · 1Handles credentials · 3Makes network requests · 4Read-only tools · 33
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceNot published
Package age307 days
Maintainers1

Observed 2026-11-17 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · agent-browser-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars14Stargazers on the source repository.
npm downloads485Package downloads in the last 30 days.
Last commit6mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed34Callable tools this server registers over MCP.
Directory activity17 viewsConfig copies, upvotes, and views on AllMCPs.

How Agent Browser MCP works

What agent-browser-mcp does

The agent-browser-mcp MCP server connects an MCP-compatible client to Vercel's agent-browser browser automation CLI. It gives an AI agent tools for opening pages, navigating browser history, reloading content, interacting with controls, reading page data, and inspecting browser state.

The tool set covers common browser workflows: clicking, filling and typing into inputs, selecting dropdown values, checking controls, hovering, scrolling, and pressing keys. Agents can retrieve page text, HTML, URLs, titles, element attributes, and accessibility snapshots. They can also capture screenshots, create PDFs, execute JavaScript in the browser context, and inspect console messages and network requests.

Use agent-browser-mcp when an agent needs to operate a website through browser-visible interactions rather than only call an HTTP API. The repository lists web scraping, AI-assisted testing, multi-step forms, screenshot analysis, authenticated workflows, bulk data entry, and page monitoring as use cases.

How it works

The MCP process delegates browser operations to agent-browser. Install the CLI and its Chromium browser separately, then start the MCP server with npx agent-browser-mcp or install the npm package and run it from your client configuration.

Selectors can use semantic patterns such as roles, accessible names, visible text, ARIA attributes, placeholders, and test IDs. Standard CSS selectors are also supported. Accessibility snapshots provide structured references that an agent can use to locate elements without relying exclusively on fragile CSS or XPath expressions.

Each browser session can be created independently and may use its own viewport. Sessions isolate cookies, storage, and navigation history, allowing parallel or separate workflows. Session-specific operations receive a session ID, and the session can be closed when the workflow finishes.

Setup and configuration

Node.js 18 or newer and the agent-browser CLI are prerequisites. Install the CLI globally with npm install -g agent-browser, then run agent-browser install to download Chromium. Linux installations may also need agent-browser install --with-deps for system dependencies.

Start the server directly with npx agent-browser-mcp, or install it with npm install agent-browser-mcp. The README includes stdio configuration examples for Claude Desktop, VS Code, and Cursor, plus a claude mcp add agent-browser -- npx agent-browser-mcp command for Claude Code.

If the CLI is not available on the system PATH, set AGENT_BROWSER_PATH to its location in the MCP client's environment configuration. Windows users should account for documented upstream issues with native PowerShell and CMD shells; the README recommends WSL until those issues are resolved.

Tools and capabilities

Available operations include:

  • Navigation with browser_navigate, history controls, and reload.
  • Interaction through click, fill, type, hover, scroll, select, check, uncheck, and key-press tools.
  • Extraction of text, HTML, attributes, URLs, titles, and accessibility snapshots.
  • Visibility, enabled-state, and checked-state inspection.
  • Screenshots, PDFs, JavaScript evaluation, console retrieval, and network inspection.
  • Cookie retrieval, cookie creation, and cookie clearing.
  • Session creation with an optional viewport and session closure.
  • Waiting for selectors or navigation to complete.

The underlying agent-browser implementation is described as using a fast Rust CLI with a Node.js fallback, structured output, accessibility-oriented snapshots, and streaming output.

Limitations and notes

The MCP server depends on the separately installed agent-browser CLI and Chromium browser. It does not provide a browser without those prerequisites. The custom path setting is available when the CLI cannot be found through PATH.

Browser actions also depend on selectors matching the target page; semantic locators, accessibility properties, text, data attributes, and CSS selectors are supported, but the page must expose a usable target.

The documented server configuration uses stdio through a command such as npx agent-browser-mcp. No environment variables are listed as mandatory for a normal installation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Browser MCP

agent-browser-mcp is an MCP server that connects AI agents to Vercel's agent-browser CLI for browser automation. Its main tools navigate pages, click and fill elements, capture accessibility snapshots, extract text or HTML, take screenshots and PDFs, manage sessions and cookies, execute JavaScript, and inspect console and network activity.

Install Node.js 18 or newer, install the agent-browser CLI with npm, download Chromium with `agent-browser install`, then run `npx agent-browser-mcp` or install the npm package. Add that command to the MCP configuration for your client.

Yes, agent-browser-mcp works with Cursor through an MCP configuration that runs `npx agent-browser-mcp`. The README provides a Cursor settings example using the server name `agent-browser` and the `command` and `args` fields.

Set the `AGENT_BROWSER_PATH` environment variable to the location of the agent-browser executable in the MCP server configuration. This is useful when the CLI is installed outside the system PATH.

Yes, agent-browser-mcp supports isolated sessions through `browser_new_session` and `browser_close_session`. Separate sessions can have independent cookies, storage, navigation history, and optional viewport settings, and later operations can identify a session with its session ID.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Browser MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-browser-mcp?style=directory)](https://allmcps.com/mcp/agent-browser-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/agent-browser-mcp"><img src="https://allmcps.com/api/badge/agent-browser-mcp?style=directory" alt="Agent Browser MCP on AllMCPs" /></a>