Skip to main content
Glama
RandyNorthrup

chrome-control-mcp

Chrome Control MCP

Visible, precise Chrome control for AI assistants. Local by design.

Quality MIT License Platforms C++20 Chrome 116+ MCP tools

Quick start · Tool catalog · Architecture · Security · Verification

Chrome Control MCP driving UI Test Automation Playground with its visible pink control frame, AI CONTROL badge, and agent cursor

Active automation stays visible: pink frame, AI CONTROL badge, and pulsing agent cursor show when an assistant controls Chrome. Model-facing screenshots hide this overlay by default; documentation captures can opt in.

Why this project

Capability

Included

Semantic control

Accessibility-tree snapshots with stable element refs

Real input

Click, type, keys, hover, drag, select, scroll, dialogs, and media

Visual reasoning

Viewport/full-page PNG capture and guarded coordinate clicks

Browser management

Navigation, tabs, tab groups, windows, emulation, and waits

Browser state

Cookies, local/session storage, permissions, downloads, print, and HTTP auth

Extension lifecycle

Prepare, inspect, and unregister current-user native-host integration

All 43 MCP tools use strict JSON Schemas. Long-lived MCP process preserves session and element-ref state while Chrome remains an ordinary user-controlled browser.

Related MCP server: Chrome MCP Server

See it work

Public UI test site

Responsive E2E fixture

Text Input test controlled through Chrome Control MCP

Chrome Control MCP exercising form, pointer, and dialog controls in its local test fixture

Navigation, snapshot, typing, read-back, ref click, and screenshot

Form state, coordinate click, hover, drag, dialog handling, and control presence

Both images are direct browser_screenshot results from live extension, not mockups.

Testing shout-out: Inflectra's UI Test Automation Playground and open-source repository provide focused, practical browser interaction scenarios. They have been invaluable for testing this project's full MCP-to-Chrome path.

Quick start

1. Install build requirements

  • Windows 10/11 x64, Linux x64, or macOS

  • Google Chrome 116+

  • CMake 3.25+

  • Qt 6.5+ with Core and Test components

  • C++20 compiler: Visual Studio 2022, GCC, or Clang

  • Node.js 20.19+

2. Build and test

npm ci
npm run build

Default output:

Platform

Executable

Staged extension

Windows

build/Release/chrome_control_mcp.exe

build/Release/extension/

Linux / macOS

build/chrome_control_mcp

build/extension/

PowerShell users may run ./scripts/build.ps1 -Configuration Release instead. Both paths build with warnings-as-errors and run all native plus extension unit suites.

3. Prepare Chrome

npm run extension -- install

Open chrome://extensions, enable Developer mode, choose Load unpacked, then select folder printed by command. Chrome requires this one manual step for an unpacked extension.

No signing key, packaged extension, store account, administrator access, or enterprise policy is needed. Public key in manifest.json only pins unpacked extension ID; it cannot sign software.

4. Connect an assistant

Use absolute executable path.

# Windows
codex mcp add chrome-control -- "C:\absolute\path\chrome_control_mcp.exe"

# Linux / macOS
codex mcp add chrome-control -- /absolute/path/chrome_control_mcp

Claude Code uses same executable:

claude mcp add --scope local chrome-control -- /absolute/path/chrome_control_mcp

Transport is newline-delimited JSON-RPC over stdio. Server opens no TCP listener.

Architecture

flowchart LR
    A[AI assistant] -->|MCP over stdio| B[chrome_control_mcp]
    B -->|Windows named pipe<br/>Linux/macOS Unix socket| C[Native-host relay]
    C -->|Chrome native messaging| D[Unpacked MV3 extension]
    D -->|Chrome DevTools Protocol| E[Active Chrome tab]

One executable serves MCP server and native-host relay roles. Browser control belongs in MCP because it needs callable tools, image results, hardened IPC, and persistent session state. A skill may add workflows, but does not replace server.

Security model

Full control is powerful. Chrome Control MCP pins extension origin, limits and validates IPC, authenticates same-user/same-executable relay, rejects stale element refs and screenshot coordinates, bounds major payloads, and exposes strict schemas.

Windows uses current-user ACL-protected named pipe. Linux and macOS use mode-0600 Unix socket inside private runtime directory plus operating-system peer credentials.

For inspection-only use:

CHROME_CONTROL_MCP_SECURITY_PROFILE=read_only
CHROME_CONTROL_MCP_REDACT_SENSITIVE_OUTPUT=true

Read-only profile exposes 10 tools and independently rejects hidden mutating calls.

Verification

Local Windows and Linux gates currently cover:

  • 9/9 native and extension suites with MSVC, GCC, and Clang

  • Warnings-as-errors plus clang-tidy and exhaustive cppcheck

  • Separate ASan+UBSan and TSan runs

  • Full-history Gitleaks scan and npm dependency audit

  • 43/43 live MCP tools through real Chrome on Windows

  • Public UI Playground navigation, snapshot, typing, click, and PNG capture

  • Reversible native-host install/status/uninstall lifecycle

GitHub Actions builds and tests Windows, Linux, and macOS on every direct push.

npm run smoke
npm run smoke:read-only
node tests/e2e/full_browser_e2e.mjs

PowerShell live public-site check:

./scripts/live_browser_verify.ps1 -Site http://uitestingplayground.com/

See exact evidence and claim boundaries.

Project identity

Item

Value

MCP server

chrome-control-mcp

Executable

chrome_control_mcp[.exe]

Extension

Chrome Control MCP

Extension ID

iojehhmnaigcejfcpmilpclmeljhlkaa

Native host

com.chromecontrolmcp.browser

Unregister current-user native host with npm run extension -- uninstall, then remove unpacked extension manually from chrome://extensions when retiring it.

License

Released under MIT License. Copyright © 2026 Randy Northrup.

A
license - permissive license
Not graded
quality - not tested
B
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
    Not graded
    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
    Not graded
    quality
    D
    maintenance
    An extension-based MCP server that enables AI assistants to control your browser, leveraging existing sessions and login states for automation and content analysis. It provides over 20 tools for semantic tab search, interactive element manipulation, and network monitoring directly within your daily Chrome environment.
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    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
    Not graded
    quality
    B
    maintenance
    An MCP server that lets AI assistants drive real Chromium browsers — navigate, click, type, read pages, run OCR, and record network traffic. 43 tools, credentials stay local, zero telemetry.

View all related MCP servers

Related MCP Connectors

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

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

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

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/RandyNorthrup/chrome-control-mcp'

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