Skip to content
MCP server

browser-mcp

MCP server giving AI agents compact semantic browser snapshots with stable element IDs

Actively maintained

The repository was last updated 3 days ago and is published under MIT.

browser-mcp is an open-source MCP server for browser automation. It is available on CLI, API, Self-hosted, macOS, Windows and Linux.

Pricing
Open source
Platforms
CLI, API, Self-hosted
GitHub stars
19
Last commit
Language
TypeScript

Similar MCP servers

About browser-mcp

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.

Tools this server provides (25)

Taken from the project documentation; the running server may differ.

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_pagesName 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.
findName suggests: reads
Locate a semantic element on the page.
get_elementName 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_formName suggests: reads
Read a form's context.
get_fieldName suggests: reads
Read a form field.
inspect_canvasName suggests: reads
Inspect canvas content.
read_pageName suggests: reads
Read readable page content.
list_network_callsName suggests: reads
List network requests.
search_network_callsName suggests: reads
Search network requests.

What it does

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

Pricing

Open source

Free and open source under MIT.

Prices change. Check agent-web-interface.com before you buy.

browser-mcp 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.

How AIPoweredBot checks servers