Chrome Bridge
БесплатноНе проверенEnables AI agents to control Chrome browser actions like navigation, clicking, form filling, screenshots, and console/network logging via an MCP server and Chro
Описание
Enables AI agents to control Chrome browser actions like navigation, clicking, form filling, screenshots, and console/network logging via an MCP server and Chrome extension.
README
MCP server that lets any AI agent control Chrome — tabs, navigation, clicks, forms, screenshots, console/network logs, GIF recording, and more. Works with any MCP-compatible client (Claude Code, OpenCode, custom agents).
Architecture
Agent → MCP server (stdio) → WebSocket relay (localhost:9876) → Chrome Extension → chrome.debugger API
- The extension creates a dedicated "Agent" tab group (purple) in your existing Chrome
- Same Chrome session = same cookies/auth (no separate browser needed)
- Native messaging keeps the extension alive
Setup
1. Install dependencies
cd mcp-chrome-bridge
npm install
2. Start the relay
node relay.js
Or set it up as a systemd user service for persistence.
3. Load the Chrome extension
- Open Chrome →
chrome://extensions/ - Enable "Developer mode" (toggle top-right)
- Click "Load unpacked" → select the
extension/folder
4. Install native messaging host
./install.sh <your-extension-id>
The extension ID is shown in chrome://extensions/ after loading.
5. Configure your MCP client
Add to your MCP config:
{
"mcpServers": {
"chrome-bridge": {
"command": "node",
"args": ["/path/to/mcp-chrome-bridge/server.js"]
}
}
}
Tools
Browser (via Chrome extension relay)
| Tool | Description |
|---|---|
tabs_context |
List tabs in the agent window |
tabs_create |
Open a new tab |
tabs_close |
Close a tab |
navigate |
Navigate to a URL |
read_page |
Read visible text content |
get_page_text |
Get full page text |
click |
Click an element (CSS selector) |
form_input |
Fill a form field |
javascript |
Execute JS in a tab |
find |
Find elements by selector or text |
file_upload |
Upload a file to an input[type=file] |
screenshot |
Screenshot a tab |
screenshot_area |
Screenshot a specific region |
console_logs |
Read browser console messages |
network_logs |
Read network requests |
gif_start |
Start GIF recording |
gif_capture |
Capture a GIF frame |
gif_stop |
Stop recording, get frames |
Desktop (local, no relay needed)
| Tool | Description |
|---|---|
computer_mouse_move |
Move mouse cursor |
computer_click |
Click at coordinates |
computer_type |
Type text via keyboard |
computer_key |
Press key combo (e.g. ctrl+a) |
computer_screenshot |
Screenshot entire screen or region |
web_fetch |
Fetch a URL (server-side) |
web_search |
Search the web via DuckDuckGo |
System dependencies
- Node.js 18+
- xdotool — for desktop mouse/keyboard tools
- grim — for Wayland screen capture (optional, X11 fallback via extension)
Environment variables
| Variable | Default | Description |
|---|---|---|
RELAY_URL |
ws://127.0.0.1:9876 |
WebSocket relay address |
Troubleshooting
See TROUBLESHOOTING.md for common issues (relay timeouts, extension disconnects, shadow DOM, file uploads).
Установка Chrome Bridge
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/wizardofweb125-lab/mcp-chrome-bridgeFAQ
Chrome Bridge MCP бесплатный?
Да, Chrome Bridge MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Chrome Bridge?
Нет, Chrome Bridge работает без API-ключей и переменных окружения.
Chrome Bridge — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Chrome Bridge в Claude Desktop, Claude Code или Cursor?
Открой Chrome Bridge на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolopentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterCompare Chrome Bridge with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
