Skip to main content
Glama
Chromate MCP
by 69gg

Chromate MCP

Chromate MCP is a Model Context Protocol server for Chrome tab automation over the Chrome DevTools Protocol (CDP). It is designed for AI agents that work from screenshots: select a tab, inspect a coordinate grid, click CSS viewport coordinates, then receive an after screenshot.

Capabilities

  • Connect to Chrome remote debugging from a fixed endpoint, Chrome 144+ auto-connect metadata, or local CDP port discovery.

  • List and select Chrome tabs by CDP target id.

  • Capture viewport screenshots with an optional grid and crosshair overlay.

  • Click, scroll, type text, press keys, wait, and read page/viewport info.

  • Keep all coordinates in CSS viewport pixels, matching CDP mouse events.

Chromate controls the web page content area. It does not operate the Chrome address bar, native tab strip, extension popups, file pickers, or OS windows.

Related MCP server: Playwright MCP Server

Install

npm install
npm run build

Start Chrome

Chromate does not launch Chrome automatically. It can connect to an already-running Chrome in two ways.

For Chrome 144+, open chrome://inspect/#remote-debugging in Chrome and enable remote debugging. Chromate reads Chrome's DevToolsActivePort metadata by default and connects to the running browser after Chrome shows and you approve the permission dialog.

For older Chrome versions or sandbox/VM setups, start Chrome with a remote debugging port:

google-chrome-stable \
  --remote-debugging-address=127.0.0.1 \
  --remote-debugging-port=9222 \
  --user-data-dir=/tmp/chromate-profile

Chromate auto-discovers local Chrome on ports 9222, 9223, 9224, and 9333 when CHROMATE_CDP_ENDPOINT is not set. Any Chromium-based browser that exposes CDP can work if it supports /json/version and a browser-level WebSocket endpoint.

MCP Configuration

Example client configuration:

{
  "mcpServers": {
    "chromate": {
      "command": "node",
      "args": ["/data0/chromate/dist/index.js"],
      "env": {}
    }
  }
}

Set CHROMATE_CDP_ENDPOINT only when you want to force a specific CDP HTTP or WebSocket endpoint.

During development, use:

npm run dev

Environment

  • CHROMATE_CDP_ENDPOINT: CDP HTTP or WebSocket endpoint. If omitted, Chromate auto-discovers local CDP.

  • CHROMATE_AUTO_CONNECT: read Chrome 144+ DevToolsActivePort metadata before scanning ports. Default: true

  • CHROMATE_AUTO_CONNECT_CHANNEL: Chrome channel for default profile lookup: stable, beta, dev, or canary. Default: stable

  • CHROMATE_AUTO_CONNECT_USER_DATA_DIR: explicit Chrome user data directory containing DevToolsActivePort

  • CHROMATE_CDP_DISCOVERY_PORTS: comma-separated local ports to scan. Default: 9222,9223,9224,9333

  • CHROMATE_DISCOVERY_TIMEOUT_MS: per-port discovery timeout. Default: 350

  • CHROMATE_CONNECT_TIMEOUT_MS: connection timeout. Default: 10000

  • CHROMATE_ACTION_TIMEOUT_MS: command timeout. Default: 30000

  • CHROMATE_SETTLE_DELAY_MS: wait after auto actions. Default: 500

  • CHROMATE_GRID_STEP: screenshot grid spacing. Default: 100

  • CHROMATE_LOG_LEVEL: silent, error, info, or debug. Default: info

Workflow

  1. Call list_tabs.

  2. Call select_tab with the desired tabId.

  3. Call screenshot and inspect the grid.

  4. Call click with CSS viewport coordinates.

  5. Use the returned after screenshot to continue.

See docs/tool-contract.md for the full tool contract.

Available Tools

9 tools
clickClick CoordinatesA

Click at CSS viewport coordinates in the selected tab, then wait and return an after screenshot.

Inputs: x (required), y (required), wait, button, +2 more.

list_tabsList Chrome TabsC

List Chrome tabs available through the configured CDP endpoint.

Inputs: includeInternal.

page_infoGet Page InfoB

Return information about the currently selected page and viewport.

Inputs: no named parameters.

press_keyPress KeyB

Dispatch a keyDown/keyUp pair to the selected tab.

Inputs: key (required).

screenshotTake ScreenshotC

Capture the selected tab viewport using CSS viewport pixel coordinates.

Inputs: overlay, crosshair.

scrollScroll PageB

Dispatch a mouse wheel event in the selected tab.

Inputs: deltaY (required), x, y, deltaX.

select_tabSelect Chrome TabB

Select the active tab for subsequent Chromate tools.

Inputs: tabId (required), activate.

type_textType TextA

Insert text into the focused element in the selected tab.

Inputs: text (required).

waitWaitB

Wait for page stability or for visible body text to appear.

Inputs: text, timeoutMs.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 9 tools

    Disambiguation5/5

    Each tool targets a distinct browser automation action: tab management, page info, screenshots, clicking, scrolling, typing, key presses, and waiting. There is no overlap or ambiguity in their intended purposes.

    Naming Consistency4/5

    Most tools follow a verb-first snake_case pattern (list_tabs, select_tab, screenshot, click, scroll, type_text, press_key, wait), but page_info is a noun phrase and slightly breaks the pattern. Overall the naming is predictable and readable.

    Tool Count5/5

    Nine tools is well within the ideal range for a browser automation server. Each tool covers a necessary action without being redundant or overwhelming.

    Completeness4/5

    The set covers tab selection, page inspection, screenshots, input actions, and waiting—core browser interactions. The most obvious gap is navigation (e.g., goto_url) and richer page content access, but agents can work around these limitations by relying on existing tabs.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants to control Chrome browsers through the Chrome DevTools Protocol, allowing for navigation, clicking, typing, and extracting page information.
      48
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      A Model Control Protocol server that enables AI assistants to control a browser, allowing them to perform web automation tasks like navigation, typing, clicking, and taking screenshots.
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI assistants to perform web automation tasks by connecting to remote Playwright/browserless instances, supporting navigation, screenshots, HTML extraction, and element interaction.
      10
      4
      MIT