chrome-control-mcp

chrome-control-mcp

A native MCP server that gives AI assistants full Chrome control via the DevTools Protocol and an unpacked extension, including semantic element refs, real input, screenshots, and browser/tab/window management. It exposes 43 callable tools with a visible control overlay and an optional read-only security profile.

Category
Visit Server

README

<div align="center">

Chrome Control MCP

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

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

<p> Standalone Model Context Protocol server connecting an AI assistant to your existing Chrome through native messaging and Chrome DevTools Protocol. </p>

Releases · Quick start · Tool catalog · Architecture · Security · Verification

</div>

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.

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.

Release archives

Download the latest release for Windows x64, Linux x64, Apple silicon macOS, or Intel macOS. Each archive includes the MCP executable, unpacked extension, matching Qt Core runtime, licenses, and SPDX inventory. SHA-256 checksums are published beside the assets.

All artifacts are intentionally unsigned and unnotarized; this project has no signing key and does not require one. See the release guide for verification, platform warnings, and the exact packaging boundary.

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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured