Skip to content
MCP server
Registry

browser-agent MCP Server

MCP server for browser automation with AI agent

browser-agent scores 65 (Good), licensed Apache-2.0 and written in TypeScript. It installs as a local process. It does not declare tools yet. Filed under Browser automation. GitHub shows 3 stars. Package registries report about 133 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by runbook-aiApache-2.0TypeScript3 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: apache-2.0.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 20 + 2 + 10 + 4 + 7 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity2 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 2 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "runbook-ai-runbook-ai-mcp": {      "command": "npx",      "args": [        "-y",        "runbook-ai-mcp@1.1.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Runbook AI MCP Server

runbook-ai/runbook-ai-mcp MCP server

An MCP (Model Context Protocol) server that provides browser automation capabilities through a Chrome extension. It allows terminal-based agents like Claude Code to interact with any website through your live browser session.

Part of the Runbook AI ecosystem. Join the Discord community to provide your feedback and get involved in the development!

https://github.com/user-attachments/assets/a43fba64-bc40-4ef6-9840-e100203e2cf5

Why Runbook AI?

Most browser-based MCP tools (like chrome-devtools-mcp) blow up your LLM context window by sending the entire DOM after every browser action.

Runbook AI is different:

  • Optimized Context: It generates a highly simplified version of the HTML. It strips the junk but keeps essential text and interaction elements. It’s condensed, fast, and won’t eat your tokens.
  • The Ultimate Catch-all: If a site doesn't have a dedicated MCP server (like Expedia, LinkedIn, or internal tools), this fills the gap perfectly.
  • Privacy First: It runs entirely in your browser. No remote calls except to your chosen LLM provider. No eval() or shady scripts (enforced by the Chrome extension sandbox).
  • Efficient Navigation: The simplified HTML goes beyond the viewport, making scrolling and multi-page tasks much more efficient.

Installation

MCP Server

Add to your MCP settings configuration:

{
  "mcpServers": {
    "runbook-ai": {
      "command": "npx",
      "args": ["-y", "runbook-ai-mcp@latest"]
    }
  }
}

Chrome Extension

Install the Runbook AI extension from Chrome Web Store.

Enable MCP in the extension settings opened from extension side panel.

Set LLM API key, and model name, base URL. Use of Gemini 3 Flash (gemini-3-flash-preview) is recommended. Get your free API key from Google AI Studio.

MCP token (recommended)

Without a token, any program that can open a WebSocket to localhost:9003 can drive your browser. To lock it down, open the extension settings, click Generate next to MCP token, and save. From then on the extension runs only requests that carry the same token.

Pass the token to the MCP server with --token:

{
  "mcpServers": {
    "runbook-ai": {
      "command": "npx",
      "args": ["-y", "runbook-ai-mcp@latest", "--token", "<your token>"]
    }
  }
}

or for Claude Code (Copy setup command in the settings copies this line):

claude mcp add runbook-ai -- npx -y runbook-ai-mcp@latest --token <your token>

The server also reads RUNBOOK_AI_MCP_TOKEN when --token is absent; prefer it on shared machines, since command-line arguments are visible to other users in ps. A request with a missing or wrong token returns Error: invalid-mcp-token: .... An empty token in the extension settings turns the check off.

By default the extension has access to all websites. If you want to limit the access, go to Chrome Extension Details, and add individual sites to Site access setting.

Usage

Open Chrome and keep the extension side panel open.

Start the MCP server (it will automatically start when invoked by your MCP client).

Tool Schema

The server exposes a single tool:

browser-agent

Run a task in Chrome browser with AI and automation capabilities.

Parameters:

  • prompt (string, required): The task prompt for the AI agent to execute
  • maxIterations (number, optional): Maximum number of agent iterations for the task (default: 15). Each iteration is one agent action (navigate, click, type, etc.); raise this for long multi-page tasks. Token budgets scale with it.
  • ephemeral (boolean, optional, default true): Each call runs in an isolated browser session — it starts on a fresh blank tab, cannot see tabs left by previous calls, and closes every tab it opened when it finishes. Pass false to continue from the tabs of a previous call and leave the final page open (e.g. multi-call workflows that build on the same page).
  • effort (string, optional, default normal): How much exploration the agent invests — quick (one fast pass over loaded content, missing optional details reported as "not specified", tighter iteration budget), normal (exploration matched to what the ask requires), or thorough (follow all pagination, open detail pages, check candidates one by one, larger iteration budget). Accuracy rules apply at every level.
  • outputDir (string, optional): Directory on the machine running the MCP server where files produced by the agent are written (created if missing; same-named files are overwritten). Default: a fresh per-call directory runbook-ai-mcp/task-<timestamp>-<id> under $RUNBOOK_AI_FILES_DIR if set, else the OS temp dir. These directories are never deleted by the server.
  • skills (string[], optional): Skill folders on this machine to run with. Each holds a SKILL.md whose frontmatter name equals the folder name, plus optional scripts/*.js. Each skill is loaded from the first turn and wins over a stored skill of the same name for this run; nothing is saved to the extension. Up to 5 skills (~15k tokens of skill text) load; the result lists any that did not.
  • inputFiles (string[], optional): Files on this machine to give the agent (data to upload or process, reference text, images). Each becomes a task file named by its base name, which the agent can read or upload. 25 MB in total across skills and inputFiles.

Files: Anything the agent saves during the run — data it writes to a file (e.g. a scraped list or an API payload it captured with saveToFile), downloads, extracted datasets, screenshots — is written to disk and listed at the end of the result text as absolute paths with MIME type and size. File content is never inlined into the result, so bulk data stays out of your context; read the files with your own tools. Image files (≤ 4 MB) are additionally returned as inline MCP image content so screenshots are visible directly.

Files keep their folders: a skill the agent saves (saveSkill) lands as <outputDir>/skills/<name>/SKILL.md plus scripts/. Input files and passed-in skills that come back unchanged are not written again.

Skill round trip: call 1 asks the agent to work out a site and save a skill; it comes back in <outputDir>/skills/<name>/. Review or edit it, then pass that folder in skills on the next call to run with it. If the agent saves the skill again, the new version comes back the same way. Pass a fixed outputDir to keep iterating in one place.

To get bulk data as a file, say so in the prompt, e.g. "... collect all orders from the account page and save them to orders.json".

Example:

{
  "name": "browser-agent",
  "arguments": {
    "prompt": "Go to google.com and search for 'MCP protocol'"
  }
}

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development mode
npm run dev

# Run tests
npm test

Architecture

  1. MCP Server: Communicates with MCP clients via stdio
  2. WebSocket Server: Listens for Chrome extension connections on port 9003
  3. Chrome Extension: Executes browser automation tasks

When a tool is invoked:

  1. MCP client sends request to MCP server via stdio
  2. MCP server forwards request to Chrome extension via WebSocket
  3. Extension executes the task and returns result
  4. Result is sent back to MCP client; files the agent produced are written to disk (outputDir) and their paths appended to the result

Contributing

Contributions are welcome! Feel free to send out a PR.

Frequently asked questions

What is browser-agent MCP Server?

MCP server for browser automation with AI agent

How do I install browser-agent MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. browser-agent MCP Server runs locally from the npm package runbook-ai-mcp with the command npx -y runbook-ai-mcp@1.1.0.

Is browser-agent MCP Server free and open source?

Yes. browser-agent MCP Server is released under the Apache-2.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does browser-agent MCP Server support remote (HTTP) connections?

No remote endpoint is listed for browser-agent MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is browser-agent MCP Server's trust score calculated?

browser-agent MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server