MCP Server Browser logo

MCP Server Browser

by agent-infra

Automates local or remote browsers through Puppeteer, accessibility data, optional vision mode, and MCP stdio or HTTP transports.

Install MCP Server Browser

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-infra-mcp-server-browser": {
      "command": "npx",
      "args": [
        "-y",
        "@agent-infra/mcp-server-browser"
      ]
    }
  }
}

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

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @agent-infra/mcp-server-browser

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 3d ago.

Overview

agent-infra/mcp-server-browser exposes Puppeteer-based browser automation through MCP, connecting to either a local browser or a remote browser endpoint. It normally operates on structured accessibility data and can optionally use screenshots for visually complex pages. Reach for it when an MCP client needs browser navigation over stdio, SSE, Streamable HTTP, or an in-memory JavaScript/TypeScript connection.

Use cases

  • Navigate websites from an MCP-compatible coding or desktop assistant
  • Connect an agent to an existing remote browser through CDP or WebSocket
  • Run browser automation against structured accessibility data
  • Use screenshot-based interaction for visually complex layouts
  • Embed browser MCP calls in a JavaScript or TypeScript application

Key features

  • Puppeteer-based browser automation
  • Local and remote browser connections
  • Accessibility snapshots with optional vision mode
  • Stdio, SSE, and Streamable HTTP transports
  • Runtime viewport and user-agent configuration
  • Chrome, Edge, and Firefox support

Tools23

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

Self-reported~433 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 Today

Recent health check succeeded.

28/28 checks healthy over the last 77d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8d ago via OSV.dev · @agent-infra/mcp-server-browser (npm)

Adoption & maintenance

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

GitHub stars39kStargazers on the source repository.
npm downloads4kPackage downloads in the last 30 days.
Last commit18d agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed23Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Server Browser works

What agent-infra/mcp-server-browser does

agent-infra/mcp-server-browser gives MCP clients access to browser automation backed by Puppeteer. It can launch or use a local browser, connect to an existing browser through a Chrome DevTools Protocol endpoint or WebSocket endpoint, and expose the resulting session to an LLM-powered client.

The default interaction model uses accessibility snapshots and Puppeteer's label index rather than pixel coordinates. This keeps browser state represented as structured data. An optional vision mode adds screenshot-based interaction for pages where accessibility information alone is insufficient.

The package is intended for browser automation workflows in the Browser Automation category. One documented MCP tool is browser_navigate, which accepts a URL and navigates the browser to it.

How it works

For local use, an MCP client starts the package as a Node.js stdio process. The server can also listen on a configured port and provide either an SSE endpoint or a Streamable HTTP endpoint. Streamable HTTP is the recommended remote transport in the command examples.

The server can use Chrome, Edge, or Firefox, and it can run in headed or headless mode. Browser selection, executable location, persistent user data, proxy settings, viewport size, and user-agent behavior are controlled through command-line arguments. Existing browser sessions can be reached with CDP or WebSocket connection endpoints.

JavaScript and TypeScript applications can import createServer and connect to it with an in-memory MCP transport. This avoids requiring the command-line interface to be installed by the application’s end user.

Setup and configuration

Node.js 18 or newer is required. A typical stdio configuration runs the package with npx:

config.json
{
  "mcpServers": {
    "browser": {
      "command": "npx",
      "args": ["@agent-infra/mcp-server-browser@latest"]
    }
  }
}

For remote operation, start the package with --port, then configure the client with either /sse or /mcp. The server binds to localhost by default; use --host to change the binding address. A DISPLAY environment setting can be supplied when running with VNC or another virtual display.

Useful options include --browser, --cdp-endpoint, --ws-endpoint, --executable-path, --headless, --proxy-server, --proxy-bypass, --user-agent, --user-data-dir, --viewport-size, and --output-dir. Runtime HTTP headers can override viewport size, vision coordinate factors, and user-agent values for a request. Header names are case-insensitive.

Tools and capabilities

  • Navigates to a supplied URL with the browser_navigate MCP tool.
  • Uses structured accessibility data by default.
  • Enables optional screenshot-based vision mode with --vision.
  • Connects to local browsers or remote CDP and WebSocket browser endpoints.
  • Supports Chrome, Edge, and Firefox selection.
  • Provides stdio, SSE, Streamable HTTP, and in-memory MCP connection patterns.
  • Allows per-runtime viewport, coordinate-factor, and user-agent headers.

Reviews

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

Frequently Asked Questions about MCP Server Browser

agent-infra/mcp-server-browser is an MCP server that connects AI clients to local or remote Puppeteer-managed browsers. Its documented browser navigation tool is `browser_navigate`; it uses accessibility data by default and can enable screenshot-based vision mode for complex layouts. Connections support stdio, SSE, Streamable HTTP, and in-memory transports.

Install it by configuring your MCP client to run `npx @agent-infra/mcp-server-browser@latest` as a stdio server. The package requires Node.js 18 or newer. The documented setup applies to clients including VS Code, Cursor, Windsurf, and Claude Desktop.

Start the server with `--port`, then configure the MCP client with its SSE or Streamable HTTP URL. The server can also connect to an existing browser using `--cdp-endpoint` or `--ws-endpoint`. Streamable HTTP uses the `/mcp` path, while SSE uses `/sse`.

Yes, enable vision mode with the `--vision` argument. The default mode uses accessibility snapshots, while vision mode uses screenshots for cases where structured page data is not enough. Runtime vision coordinate factors can be supplied through the `x-vision-factors` HTTP header.

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 PreviewMCP Server Browser AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-infra-mcp-server-browser?style=directory)](https://allmcps.com/mcp/agent-infra-mcp-server-browser)
HTML Embed
<a href="https://allmcps.com/mcp/agent-infra-mcp-server-browser"><img src="https://allmcps.com/api/badge/agent-infra-mcp-server-browser?style=directory" alt="MCP Server Browser on AllMCPs" /></a>