MCP relay server for Sopio Browser Extention: connect AI agents to your Chrome tabs.
344
HTTP + WebSocket relay and Model Context Protocol (MCP) server for Sopio Browser MCP. Use it with the Chrome extension so MCP clients (Cursor, Claude Desktop, custom agents) can read and control tabs in your real, logged-in browser.
Docker Hub: sopioai/sopio-browser-mcp-server
POST /mcp/<sessionId>MCP client ↔ HTTP ↔ this server ↔ WebSocket ↔ Chrome extension ↔ tabs
The extension owns a stable sessionId (UUID). Point your MCP client at:
http://<host>:3000/mcp/<your-session-id>
docker run -d --name sopio-browser-mcp \
-p 3000:3000 \
-e NEXT_PUBLIC_APP_URL=https://your-public-url.example \
-e LISTEN_HOSTNAME=0.0.0.0 \
sopioai/sopio-browser-mcp-server:latest
Install the Chrome extension from the Chrome Web Store, open the popup, copy your session ID, then connect your MCP client.
For manual installs, builds are also available on GitHub Releases.
| Variable | Default | Purpose |
|---|---|---|
PORT | 3000 | HTTP listen port |
NEXT_PUBLIC_APP_URL | — | Public URL (WebSocket + MCP host allowlist) |
LISTEN_HOSTNAME | Node default | Bind address (0.0.0.0 in Docker) |
TRUST_PROXY | — | Set 1 behind nginx/Caddy |
MCP_ALLOWED_HOSTS | derived | Extra Host allowlist (comma-separated) |
MCP_COMMAND_TIMEOUT_MS | 120000 | Extension command timeout (ms) |
GET /health or GET /healthz → okGET /api/relay-stats → { "liveSessions": N }list_tabs, tab_navigate, tab_activate, capture_screenshot, capture_html, capture_text, script_execute_js, input_mouse_click, input_type_text, and more.
Apache-2.0
Content type
Image
Digest
sha256:4989c641f…
Size
284 MB
Last updated
6 months ago
docker pull sopioai/sopio-browser-mcp-server