Browser MCP
MCP server by drisplabs Verified · gh:drisplabs
Browser MCP gives AI agents a compact, semantic view of web pages, running Chrome through Puppeteer and the Chrome DevTools Protocol. Agents act on stable element IDs instead of CSS selectors or raw DOM dumps. It is aimed at coding, QA, research and browser automation agents.
Install Browser MCP
Built from the published package, never by AI.
claude mcp add browser-mcp -- npx -y @drisp/browser-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"browser-mcp": {
"args": [
"-y",
"@drisp/browser-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"browser-mcp": {
"args": [
"-y",
"@drisp/browser-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"browser-mcp": {
"args": [
"-y",
"@drisp/browser-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add browser-mcp -- npx -y @drisp/browser-mcp{
"mcpServers": {
"browser-mcp": {
"args": [
"-y",
"@drisp/browser-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add browser-mcp npx -y @drisp/browser-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the browser-mcp block.
About
Browser MCP is an MCP server that gives AI agents a compact, semantic interface to the browser. It runs Chrome through Puppeteer and the Chrome DevTools Protocol, but returns structured page snapshots instead of raw DOM or full accessibility trees. Each snapshot lists page regions, readable content, interactive elements, and stable element IDs called eid values, which agents use for the next action. After an action, the server waits for the page to settle and returns the updated state, often as a small diff.
The project is aimed at coding agents, browser agents, QA agents, research agents, and automation workflows that need reliable web interaction without spending tokens on low-signal browser internals. The source says it is not a replacement for Puppeteer, a general-purpose browser, a visual testing framework, a scraping framework, or a CAPTCHA or anti-bot bypass tool.
Written from the project's README and checked against it.
Tools it gives your assistant
navigateOpens a URL and returns a compact page snapshot.findLocates a semantic element, such as a Sign in button or an email field.clickClicks an element using the eid returned in the snapshot.typeTypes text into a field using its eid, with an option to clear it first.selectChooses an option using the eid returned in the snapshot.pressPresses a key using the eid returned in the snapshot.
What you need
- Chrome or Chromium
Try asking
- Open the payments dashboard and list the failed payments.
- Find the sign in button on this page and click it.
- Type my email into the login form and confirm the page updated.
Good to know
- Not a replacement for Puppeteer or a general-purpose browser.
- Not a visual testing, scraping, or CAPTCHA or anti-bot bypass tool.
- Agents should use the returned id attributes, not CSS selectors, for follow-up actions.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Browser MCP
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python framework for browser automation, end-to-end testing, and web scraping. Its CDP Mode offers stealth browsing, and it is aimed at developers who automate Chromium-based browsers or run tests.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
BrowserOS neo connects AI agents such as Claude Code, Codex, Cursor and OpenCode to a local Chromium-based browser. Agents can work in your logged-in accounts, each in its own tab group, while you watch.
Compare with browser-use, Pomerado or Selenide
Browser MCP: common questions
What does Browser MCP send to the agent instead of raw DOM?
It sends compact XML state responses with page regions, interactive elements, and stable eid values. The source says it avoids full DOM dumps and large accessibility trees.
Can Browser MCP bypass CAPTCHAs?
No. The source states that Browser MCP is not a CAPTCHA or anti-bot bypass tool.
What is an eid in Browser MCP?
An eid is a stable semantic element ID, such as btn-sign-in, that agents reuse for actions instead of brittle selectors.
How do I install Browser MCP?
In Claude Code run claude mcp add browser-mcp -- npx -y @drisp/browser-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Browser MCP the official server?
Browser MCP is published by gh:drisplabs from its verified domain in the official MCP Registry.
Is Browser MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Browser MCP safe to use?
It scores 62 of 100. Grades: maintenance B, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Browser MCP?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does Browser MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
