supersurf-mcp
v4.0.0
Published
Open-source MCP server for browser automation — gives AI agents control of a real Chrome browser via extension
Maintainers
Readme
supersurf-mcp
Free and open-source MCP server for browser automation — gives AI agents control of a real Chrome browser via a Chrome extension.
Works with any LLM that supports the Model Context Protocol: Claude, GPT, Gemini, open-source models, or your own. Every line of code is public on GitHub — no telemetry, no data collection.
Quick Start
curl -fsSL https://liquidbuiltit.github.io/Supersurf/install.sh | shThe installer puts the supersurf CLI in ~/.local/bin (no sudo), starts the daemon, and walks you through installing the Chrome extension. Then register the server:
claude mcp add supersurf -- supersurf mcpRe-run the installer to upgrade. Add --yes for CI, Docker, or an agent, where it never prompts.
Without the CLI
This package works on its own — any client that can run npx needs nothing installed. You install the extension yourself, from the Chrome Web Store.
Claude Code:
claude mcp add supersurf -- npx supersurf-mcp@latestClaude Desktop — add to your MCP config:
{
"mcpServers": {
"supersurf": {
"command": "npx",
"args": ["supersurf-mcp@latest"]
}
}
}Then use it
Your agent calls connect to start the session, a daemon auto-starts, the extension connects, and 28 browser tools become available.
Tools
| Tool | Description |
|------|-------------|
| connect / disconnect / status | Session lifecycle (connect accepts optional profile for isolated Chromium) |
| profile_create / profile_list / profile_delete | Manage isolated Chromium profiles |
| browser_tabs | List, create, attach, or close tabs |
| browser_navigate | Go to URL, back, forward, reload |
| browser_interact | Click, type, press keys, hover, scroll, wait, select, upload files |
| browser_snapshot | Accessibility tree as structured DOM |
| browser_lookup | Find elements by visible text |
| browser_extract_content | Page content as clean markdown |
| browser_take_screenshot | Viewport, full page, element, or region |
| browser_evaluate | Run JavaScript in page context |
| browser_fill_form | Set multiple form fields at once |
| browser_network_requests | Monitor, inspect, and replay network traffic |
| browser_console_messages | Read console output |
| browser_get_element_styles | Inspect computed CSS |
| browser_drag | Drag and drop |
| browser_window | Resize, minimize, maximize |
| browser_verify_text_visible | Assert text is on page |
| browser_verify_element_visible | Assert element is visible |
| browser_pdf_save | Export page as PDF |
| browser_handle_dialog | Accept/dismiss alerts and prompts |
| browser_list_extensions | List installed extensions |
| browser_performance_metrics | Web Vitals (FCP, LCP, CLS, TTFB) |
| browser_download | Download a file via the browser |
| browser_storage | Inspect/modify localStorage and sessionStorage |
| secure_fill | Fill a field with a credential from an env var, or list available credential names (agent never sees the value). Being deprecated in favor of a keychain-backed system. |
CLI Flags
--debug Verbose logging + hot reload
--debug=no_truncate Full payloads, no truncation
--port <n> WebSocket port (default: 5555)
--log-file <path> Custom log file path
--script-mode JSON-RPC over stdio without MCP framing
--disable-secure-eval Disable the default-on secure_eval analysis for browser_evaluatesecure_eval (AST + Proxy-membrane analysis of browser_evaluate code) is on by default — it is not an experiment. Turn it off with --disable-secure-eval or SUPERSURF_DISABLE_SECURE_EVAL=1.
Pass flags via your MCP config:
{
"args": ["supersurf-mcp@latest", "--debug", "--port", "5555"]
}How It Works
AI Agent --> MCP Server (stdio) --> Daemon (Unix socket) --> WebSocket --> Chrome Extension --> BrowserA standalone daemon multiplexes multiple MCP sessions through a single Chrome extension connection. All DOM interaction goes through Chrome content scripts (isolated world, invisible to page JS). CDP is only used for screenshots, network interception, and PDF export. Your agent browses with your real browser profile — cookies, history, localStorage, extensions.
Experimental Features
Configure via ~/.supersurf/config.json (requires a daemon restart) or the SUPERSURF_EXPERIMENTS env var:
| Experiment | Description |
|------------|-------------|
| page_diffing | Returns only DOM changes after interactions |
| smart_waiting | Adaptive DOM stability + network idle detection |
| mouse_humanization | Human-like Bezier mouse trajectories |
Requirements
- Node.js >= 18
- Chrome or Chromium
- SuperSurf Chrome extension
License
Apache-2.0 with Commons Clause — free to use, modify, and redistribute, but not to sell. 100% open source.
If SuperSurf is useful to you, consider giving us a star on GitHub — it helps others discover the project.
