MCP Chrome Bridge
Provides a web search tool that uses DuckDuckGo to retrieve search results.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Chrome Bridge navigate to https://news.ycombinator.com and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 APIThe 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
Related MCP server: Chrome MCP Server
Setup
1. Install dependencies
cd mcp-chrome-bridge
npm install2. Start the relay
node relay.jsOr 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 |
| List tabs in the agent window |
| Open a new tab |
| Close a tab |
| Navigate to a URL |
| Read visible text content |
| Get full page text |
| Click an element (CSS selector) |
| Fill a form field |
| Execute JS in a tab |
| Find elements by selector or text |
| Upload a file to an input[type=file] |
| Screenshot a tab |
| Screenshot a specific region |
| Read browser console messages |
| Read network requests |
| Start GIF recording |
| Capture a GIF frame |
| Stop recording, get frames |
Desktop (local, no relay needed)
Tool | Description |
| Move mouse cursor |
| Click at coordinates |
| Type text via keyboard |
| Press key combo (e.g. |
| Screenshot entire screen or region |
| Fetch a URL (server-side) |
| 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 |
|
| WebSocket relay address |
Troubleshooting
See TROUBLESHOOTING.md for common issues (relay timeouts, extension disconnects, shadow DOM, file uploads).
Available Tools
25 toolsclickC
Click an element on the page
Inputs: tabId (required), selector (required).
computer_clickC
Click at current mouse position or coordinates
Inputs: x, y, button, double.
computer_keyC
Press a key or key combination
Inputs: key (required).
computer_mouse_moveC
Move the mouse cursor to screen coordinates
Inputs: x (required), y (required).
computer_screenshotC
Take a screenshot of the entire screen or a region
Inputs: x, y, width, height, +1 more.
computer_typeC
Type text using the keyboard
Inputs: text (required), delay.
console_logsC
Read browser console messages from a tab
Inputs: tabId (required), pattern.
file_uploadB
Upload a file to a file input element (input[type=file])
Inputs: tabId (required), filePath (required), selector (required).
findC
Find elements on a page by selector or text
Inputs: tabId (required), text, selector.
form_inputC
Fill a form field with a value
Inputs: tabId (required), value (required), selector (required).
get_page_textC
Get full text content of a page
Inputs: tabId (required).
gif_captureB
Manually capture a frame for the GIF
Inputs: tabId (required).
gif_startB
Start recording a GIF of browser actions on a tab
Inputs: tabId (required), interval.
gif_stopB
Stop GIF recording and return frames as base64 PNGs
Inputs: tabId (required), savePath.
javascriptC
Execute JavaScript in a tab
Inputs: tabId (required), expression (required).
network_logsC
Read network requests from a tab
Inputs: tabId (required), pattern.
read_pageC
Read the visible text content of a page
Inputs: tabId (required).
screenshotC
Take a screenshot of a tab
Inputs: tabId (required).
screenshot_areaB
Take a screenshot of a specific area of a page
Inputs: x (required), y (required), tabId (required), width (required), +1 more.
tabs_closeC
Close a tab
Inputs: tabId (required).
tabs_contextA
List all tabs in the agent browser window
Inputs: no named parameters.
tabs_createC
Create a new tab in the agent window
Inputs: url.
web_fetchC
Fetch a URL and return its text content (like Claude Code's WebFetch)
Inputs: url (required), maxLength.
web_searchC
Search the web and return results (like Claude Code's WebSearch)
Inputs: query (required), maxResults.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 25 tools
Most tools have a clear scope, but a few pairs blur together: read_page vs get_page_text (visible text vs full text is a subtle distinction), click vs computer_click (element vs raw coordinates), and the three screenshot variants (tab, page area, whole screen). Descriptions help, but an agent can easily pick the wrong one for page-text retrieval or screenshotting.
Names are all snake_case, but grouping prefixes are applied unevenly: some subsystems are prefixed (computer_*, tabs_*, gif_*, web_*) while core browser actions are bare (click, find, navigate, javascript). Verb style also varies for the same idea (read_page vs get_page_text), making the pattern mixed though still readable.
At 25 tools this surface is heavy for a browser bridge, and several slots are spent on redundant or niche capabilities (three screenshot tools, two page-text readers, a three-tool GIF recorder). Consolidating overlaps would bring it into a tighter, more usable range.
Coverage of the browser-automation domain is strong: navigation, clicking, typing, keys, form fill, file upload, JS execution, element finding, screenshots, tabs, console/network logs, and web fetch/search are all present. Gaps are minor, such as no explicit wait-for-condition, hover/scroll/drag, or dropdown-select primitives.
Related MCP Connectors
Control a real browser from AI agents: navigate, click, type, screenshot, read the page.
Give AI agents a real cloud Chrome: open sessions, navigate, read pages, click, type and screenshot.
Web scraping, browser automation, screenshots and AI data extraction for AI agents via MCP.
Let AI agents use your real, signed-in Chrome: tabs, clicks, forms, screenshots and video.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to control a real Google Chrome instance using specific user profiles, cookies, and extensions. It provides 18 tools for browser navigation, element interaction, and page inspection via the Chrome DevTools Protocol.MIT
- AlicenseNot gradedqualityNot gradedmaintenanceAn extension-based MCP server that enables AI assistants to control your existing Chrome browser, leveraging your active login states and settings for automation. It provides over 20 tools for tasks like semantic tab search, screen capture, network monitoring, and direct element interaction.-
- AlicenseNot gradedqualityDmaintenanceGives coding agents full control over a real Chrome browser, enabling navigation, clicking, typing, screenshotting, and more via an MCP server and Chrome extension.2MIT
- FlicenseAqualityCmaintenanceAn MCP server that gives AI agents mouse-and-keyboard control over a live Chrome session, enabling navigation, clicking, typing, screenshots, and DOM inspection.13-