Skip to main content
Glama
wizardofweb125-lab

MCP Chrome Bridge

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

Related MCP server: Chrome MCP Server

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

  1. Open Chrome → chrome://extensions/

  2. Enable "Developer mode" (toggle top-right)

  3. 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).

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    An 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.
  • A
    license
    -
    quality
    -
    maintenance
    An 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.
  • F
    license
    -
    quality
    D
    maintenance
    Enables AI agents to control the Google Chrome browser through a Node.js WebSocket bridge and a dedicated browser extension. It provides tools for capturing screenshots, executing JavaScript, managing tabs, and extracting page content via the MCP protocol.
    2
  • A
    license
    -
    quality
    C
    maintenance
    Gives coding agents full control over a real Chrome browser, enabling navigation, clicking, typing, screenshotting, and more via an MCP server and Chrome extension.
    12
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Live browser debugging for AI assistants — DOM, console, network via MCP.

  • Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.

  • A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wizardofweb125-lab/mcp-chrome-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server