# browser-mcp

> browser-mcp is an open-source MCP server for browser automation. MCP server giving AI agents compact semantic browser snapshots with stable element IDs. It is available on CLI, API, Self-hosted, macOS, Windows and Linux.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, macOS, Windows, Linux
- **Website:** https://agent-web-interface.com
- **Repository:** https://github.com/drisplabs/browser-mcp
- **GitHub stars:** 19
- **License:** MIT
- **Categories:** [browser automation](https://ai-powered.com/categories/browser-automation), [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-01

## About

Rather than handing a model the full DOM or a long accessibility tree, this server reduces each page to regions, readable text, interactive elements and their state, then labels every actionable item with a stable ID. An agent can keep acting on the same button across several steps, even after small layout changes, instead of re-locating it with CSS selectors.

Under the hood it drives Chrome through Puppeteer and the Chrome DevTools Protocol, and it returns incremental diffs after most actions so the model only receives what changed. It can run against your existing Chrome profile, a persistent profile, or a throwaway isolated session, and it can be headless.

The project suits developers wiring browser control into coding, QA, research or automation agents who want to keep context usage down on multi-step web tasks.

## Features

- **Semantic page snapshots:** Pages are summarised as regions, headings, links, buttons and form fields rather than raw markup.
- **Stable element IDs:** Each actionable element gets an identifier that stays usable across follow-up tool calls.
- **Incremental diffs:** Most actions return only the parts of the page that changed, reducing repeated context.
- **Flexible browser modes:** Connect to your running Chrome, use a persistent profile, or launch an isolated session.
- **File upload support:** Upload controls expose a file-picker surface that agents drive with click and type, with optional path restrictions.
- **Network and canvas inspection:** Tools list network calls and inspect canvas content when a page is not plain semantic HTML.

## Good for

- Researching and extracting information from live web pages
- Driving multi-step QA flows such as sign-up or checkout
- Filling and submitting forms in web apps for an agent
- Debugging redirects and auth flows by reviewing network calls
- Letting a coding agent verify a web page it is building

## Tools

From the tool list in its README, going by the names, 9 of 25 tools read data; 16 names don't say. From the server's own tool labels and tool names; not verified by us.

- `list_pages` (name suggests: reads): List open browser pages.
- `close_page`: Close a browser page.
- `navigate`: Navigate to a URL.
- `go_back`: Go back in browser history.
- `go_forward`: Go forward in browser history.
- `reload`: Reload the current page.
- `snapshot`: Return a semantic snapshot of the page.
- `find` (name suggests: reads): Locate a semantic element on the page.
- `get_element` (name suggests: reads): Get details for an element.
- `screenshot`: Capture a screenshot.
- `click`: Click an element by ID.
- `type`: Type text into an element.
- `press`: Press a keyboard key.
- `select`: Select an option in a control.
- `hover`: Hover over an element.
- `scroll_to`: Scroll an element into view.
- `scroll`: Scroll the page.
- `drag`: Drag an element.
- `wheel`: Send a mouse wheel action.
- `get_form` (name suggests: reads): Read a form's context.
- `get_field` (name suggests: reads): Read a form field.
- `inspect_canvas` (name suggests: reads): Inspect canvas content.
- `read_page` (name suggests: reads): Read readable page content.
- `list_network_calls` (name suggests: reads): List network requests.
- `search_network_calls` (name suggests: reads): Search network requests.

## FAQ

### Which AI clients can use browser-mcp?

It works with any MCP-compatible client, and the README names Claude Code, Claude Desktop, Cursor and VS Code as examples.

### What do I need installed?

Node.js 22.12 or newer and Chrome or Chromium.

### What license is browser-mcp under?

MIT.

### Can browser-mcp use my logged-in browser session?

Yes. Setting the browser mode to user connects it to your running Chrome after you enable remote debugging.

### Does browser-mcp bypass CAPTCHAs or anti-bot systems?

No. The README states it is not a CAPTCHA or anti-bot bypass tool; its stealth option only reduces false positives on ordinary use.

### Is browser-mcp free?

Yes. browser-mcp is open source, so you can use and self-host it for free.

### What are the best alternatives to browser-mcp?

The closest alternatives to browser-mcp are browser-mcp, mcp-browser-agent, mcp, Selenium MCP and chrome-mcp-secure.

## Where this comes from

- Description: written from the project's README and the project's website.

## Alternatives

- [browser-mcp](https://ai-powered.com/mcp/browser-mcp-3): browser-mcp is an open-source MCP server for browser automation.
- [mcp-browser-agent](https://ai-powered.com/mcp/mcp-browser-agent): mcp-browser-agent is an open-source MCP server for browser automation.
- [mcp](https://ai-powered.com/mcp/mcp-2): mcp is an open-source MCP server for ai models and llm tooling.
- [Selenium MCP](https://ai-powered.com/mcp/selenium-mcp): Selenium MCP is an open-source MCP server for browser automation.
- [chrome-mcp-secure](https://ai-powered.com/mcp/chrome-mcp-secure): chrome-mcp-secure is an open-source MCP server for ai models and llm tooling.
- [Browser Ref MCP](https://ai-powered.com/mcp/browser-ref-mcp): Browser Ref MCP is an open-source MCP server for browser automation.
- [Agent-first-browse](https://ai-powered.com/mcp/agent-first-browse): Agent-first-browse is an open-source MCP server for browser automation.
- [mcp-browser-dev-tools](https://ai-powered.com/mcp/mcp-browser-dev-tools): mcp-browser-dev-tools is an open-source MCP server for browser automation.

---
Source: https://ai-powered.com/mcp/browser-mcp-4
