
Browser Ref Mcp
Browser control for AI agents that clicks elements by snapshot ref and recovers from dead sessions.
- GitHub stars
- 1
- tools
- 14
- transport
- STDIO
- env vars
- 4
- last updated
- Nov 16, 2026
What it does
- Reads pages with
browser_navigate,browser_snapshot,browser_screenshot, andbrowser_get_info, with interactive-only and subtree-scoped snapshots - Acts with
browser_click,browser_type,browser_press_key,browser_select_option,browser_hover,browser_scroll, andbrowser_wait, plusbrowser_evaluateto run JavaScript in the page - Drives an installed Chrome or Edge via playwright-core in launch or connect mode, with logins kept in a persistent profile
- Designed for agent-driven web tasks such as form filling, navigation, scraping, and testing where stale selectors would otherwise cause failures
Tools
14 toolsPublic tool metadata for what this MCP can expose to an agent.
browser_navigateNavigate — automatically returns an interactive-element snapshot
Navigate — automatically returns an interactive-element snapshot
No parameter schema in public metadata yet.
browser_snapshotSemantic snapshot. `filter: "interactive"` for interactive elements only, `rootRef` to scope to one subtree
Semantic snapshot. `filter: "interactive"` for interactive elements only, `rootRef` to scope to one subtree
No parameter schema in public metadata yet.
browser_clickClick by ref, returns a fresh snapshot. Stale refs are re-resolved automatically
Click by ref, returns a fresh snapshot. Stale refs are re-resolved automatically
No parameter schema in public metadata yet.
browser_typeType into a field (clears first). `submit: true` presses Enter
Type into a field (clears first). `submit: true` presses Enter
No parameter schema in public metadata yet.
browser_press_keyKey press, e.g. `Enter` / `Escape` / `Control+a`
Key press, e.g. `Enter` / `Escape` / `Control+a`
No parameter schema in public metadata yet.
browser_select_optionPick `<select>` options by value or label, two-pass match
Pick `<select>` options by value or label, two-pass match
No parameter schema in public metadata yet.
browser_hoverHover to reveal hover-only menus
Hover to reveal hover-only menus
No parameter schema in public metadata yet.
browser_scrollScroll the page, or a specific scroll container
Scroll the page, or a specific scroll container
No parameter schema in public metadata yet.
browser_screenshotScreenshot — returns the image and writes it to disk
Screenshot — returns the image and writes it to disk
No parameter schema in public metadata yet.
browser_evaluateEscape hatch: run JS in the page
Escape hatch: run JS in the page
No parameter schema in public metadata yet.
browser_waitWait for a duration, text, element, URL change, or network idle
Wait for a duration, text, element, URL change, or network idle
No parameter schema in public metadata yet.
browser_tabsMulti-tab: `list` / `new` / `select` / `close`
Multi-tab: `list` / `new` / `select` / `close`
No parameter schema in public metadata yet.
browser_get_infoHealth state, tab list, restart count, last error
Health state, tab list, restart count, last error
No parameter schema in public metadata yet.
browser_closeClose the browser (profile logins are kept)
Close the browser (profile logins are kept)
No parameter schema in public metadata yet.
Configuration
BROWSER_MCP_CDP_URLConnect to a browser already running with a debug port, e.g. http://127.0.0.1:9222. Leave unset to launch your own Chrome/Edge.
BROWSER_MCP_HEADLESSRun without a visible browser window (default: headed, so the user can watch and take over).
BROWSER_MCP_PROFILEBrowser profile directory, keeps logins across sessions (default: ~/.browser-mcp/profile).
BROWSER_MCP_CHANNELSComma-separated browser channel fallback chain (default: chrome,msedge).
Readme
browser-ref-mcp
A reliable browser-control MCP server for AI agents. Click by ref, not by brittle CSS selectors — and when the browser dies, the next call just brings it back.
Built for the two things that actually break agent-driven browsing:
Details
- Repository
- github.com/zy2755/browser-ref-mcp
- Categories
- Browser Automation & Scraping, AI Agents & LLM Apps
- Package
browser-ref-mcp- Transport
- STDIO
- Registry
- MCP registry, active
Similar to Browser Ref Mcp
More Browser Automation & Scraping
Playwright McpMCP servermicrosoft40K starsBrowser automation via accessibility snapshots: navigate, click, type, fill forms, and inspect network traffic.
ObscuraMCP serverh4ckf0r0day36.9K starsHeadless browser engine for AI agent automation and web scraping, with Chrome DevTools Protocol support.
agent-browserSkillvercel-labs/agent-browser1.5M installsBrowser automation CLI for AI agents that drives Chrome via accessibility-tree element refs and specialized workflows.
PuppeteerMCP servermerajmehrabi492 starsBrowser automation through Puppeteer: navigate pages, click, fill forms, and capture screenshots.
BrowserMCP servercherchyk9 starsFetches and drives authenticated web pages through the user's own Chrome, Edge, or Brave session.
ActionbookMCP serveractionbook1.6K starsOperates a real logged-in Chrome session for AI agents, with direct API calls and UI automation.