# Browser MCP [Health: Active]

**Category:** 📂 Browser Automation  
**Repository:** https://github.com/browsermcp/mcp  
**GitHub Stars:** 7411  
**npm Downloads (last month):** 172480  
**Views:** 8  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/browsermcp-mcp

## Description
Browser MCP is a Model Context Provider (MCP) server that allows AI applications to control your browser

## Tools
Capabilities this server exposes over MCP:

- **browser** — Controls the user's Chrome. Runs one command per line, stopping at the first error. Actions print one ✓ line, reads print their output. Do many steps per call.
goto <url> | back | forward | reload
click <target>
fill <target> "<text>" [--submit]
type "<text>"
press <key>
select <target> "<value>"
check <target> | uncheck <target>
wait <ms> | wait --text "<text>" | wait <target>
tab list | tab new [<url>] | tab select <id> | tab close
snapshot [<target>] [-i] [--depth N]
find "<text>"
get text|value|count|url|title [<target>]
screenshot [<target>]
eval "<js function>"   # runs in the page
More (help <command>): scroll, hover, drag, upload, download, pdf, dialog, console, requests, request
Targets: e12 (a snapshot ref), getByRole('button', { name: 'Go' }), getByLabel/getByText/getByPlaceholder('…'), or CSS.
Quote text with spaces: "like this".

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "browser-mcp": {
    "command": "npx",
    "args": ["-y","@browsermcp/mcp@latest"]
  }
}
```

## Documentation

## What browsermcp/mcp does

browsermcp/mcp gives MCP-compatible AI applications control over tabs in a user's Chrome or another Chromium-based browser. The server exposes a `browser` tool with commands for opening URLs, moving through browser history, reloading pages, clicking elements, entering text, selecting options, checking controls, waiting for page state, and managing tabs.

It can also inspect pages with snapshots, text and value reads, element counts, URLs, titles, screenshots, and text search. JavaScript functions can run in the page through `eval`. Additional commands cover scrolling, hovering, dragging, file upload, dialogs, console output, network requests, and issuing requests.

Because it operates through the user's browser profile, agents can work with sites and sessions already available in that profile. This makes it suitable for browser tasks that require an existing login or interaction with a normal, visible browsing environment.

## How it works

Each MCP client starts the server with `npx @browsermcp/mcp@latest`. The process forwards calls from the client to a local daemon, which drives browser tabs with Playwright. A Browser MCP extension provides the connection between the daemon and Chrome through the browser's debugger interface.

On first connection for a computer, the extension asks the user to approve the server. The user must compare the six-digit code shown by the extension with the code shown by the AI application before selecting Allow. The extension communicates with the daemon on `127.0.0.1`.

The extension applies restrictions independently of requests from the daemon. Browser and extension pages cannot be controlled, and incognito tabs require the extension's Allow in Incognito setting. Pressing Stop prevents browser actions.

## Setup and configuration

Install the Browser MCP extension from the Chrome Web Store, then configure an MCP client to start:

```sh
npx @browsermcp/mcp@latest
```

Chrome or another Chromium browser is required; Firefox is not supported because it lacks the required debugger API. After restarting the MCP client, ask it to perform a browser action and complete the one-time pairing approval in the extension popup.

A self-built version can be compiled with Node.js 24 or later and pnpm:

```sh
git clone https://github.com/BrowserMCP/mcp.git browsermcp
cd browsermcp
pnpm install
pnpm build
```

Load `apps/extension/.output/chrome-mv3` as an unpacked extension, then point the MCP client at `packages/mcp/dist/index.js`. Custom extension builds may be allowed by setting `BROWSER_MCP_EXTENSION_IDS` to a comma-separated list of extension IDs or by adding IDs to `~/.browsermcp/dev-extension-ids`.

## Tools and capabilities

The `browser` tool accepts multiple commands in one call, processing them line by line and stopping at the first error. Supported operations include:

- Navigate with `goto`, `back`, `forward`, and `reload`.
- Interact with controls using `click`, `fill`, `type`, `press`, `select`, `check`, and `uncheck`.
- Wait for a duration, text, or target; inspect snapshots; and find matching text.
- Create, select, list, and close tabs.
- Read text, values, counts, URLs, and titles.
- Capture screenshots and evaluate JavaScript in the page.
- Use additional browser operations for scrolling, hovering, dragging, uploads, dialogs, console output, and requests.

Targets can be snapshot references, accessible-role selectors, label/text/placeholder selectors, or CSS selectors.

## Limitations and notes

The server depends on the Browser MCP extension and a compatible Chromium browser. Firefox is unsupported. Incognito access must be enabled separately in the extension, and browser or extension pages remain unavailable. Self-built extensions need manual updates, while the Chrome Web Store version updates itself. If both a store-installed and self-built extension are enabled in one profile, they can connect to the same server as separate browsers and should not be left active together.

_Full upstream README: https://allmcps.com/mcp/browsermcp-mcp/readme_

