1. Conduid
  2. Browser
  3. Chrome MCP Docker
MCP server · Browser

Chrome MCP Docker

Chrome DevTools MCP Server - Zero crashes, persistent sessions, Host header workaround for Docker

34Low

Scored 6 months ago · breakdown

About Chrome MCP Docker

Chrome MCP Docker is an MCP server in the Browser category: chrome DevTools MCP Server - Zero crashes, persistent sessions, Host header workaround for Docker.

Install

From source
git clone https://github.com/null-runner/chrome-mcp-docker

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (10)

clickClick element

Parameters not published.

get_computed_stylesCSS debugging

Parameters not published.

get_console_logsJS console output

Parameters not published.

get_network_errorsFailed requests

Parameters not published.

mobile_modeiPhone X viewport

Parameters not published.

navigateGo to URL, wait for load

Parameters not published.

screenshotCapture viewport

Parameters not published.

scrollScroll page/element

Parameters not published.

typeType into input

Parameters not published.

wait_for_selectorWait for element

Parameters not published.

Ask AI

✦

Ask AI about Chrome MCP Docker

Powered by Claude · Grounded in docs

I know everything about Chrome MCP Docker. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Chrome MCP Docker

Persistent Chrome DevTools MCP Server

Docker Hub License MCP

Stable, persistent Chrome DevTools for AI coding assistants.


Why Docker?

Feature Official MCP This
Session Persistence ❌ ✅
Docker Stability ❌ ✅
Mobile Testing ❌ ✅
Native Interactions ❌ ✅
Console Logs ❌ ✅
Host Header Bypass ❌ ✅

Installation

Option A: Standalone (Recommended)

Works with just Docker - no additional dependencies.

# 1. Start Chrome container
docker run -d --name chrome-persistent --restart unless-stopped \
  -p 9222:9222 --shm-size=2g \
  zenika/alpine-chrome:with-puppeteer \
  --no-sandbox --remote-debugging-address=0.0.0.0 \
  --remote-debugging-port=9222 --disable-gpu --headless

# 2. Add to Claude Code (~/.claude.json)
{
  "mcpServers": {
    "chrome": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "--network", "host",
               "-e", "CHROME_HOST=localhost", "-e", "CHROME_PORT=9222",
               "nullrunner/chrome-mcp-docker:latest"]
    }
  }
}

Option B: Docker MCP Gateway

Warning: The official Docker MCP Gateway has bugs affecting custom servers. See Known Issues. Use Option A or the patched fork below.

# Use patched fork (recommended if you want Gateway)
git clone https://github.com/null-runner/mcp-gateway.git
cd mcp-gateway && go build -o docker-mcp ./cmd/docker-mcp

# Then setup chrome-mcp-docker
git clone https://github.com/null-runner/chrome-mcp-docker.git
cd chrome-mcp-docker
./setup.sh

Tools

Tool What it does
navigate Go to URL, wait for load
screenshot Capture viewport
click Click element
type Type into input
scroll Scroll page/element
wait_for_selector Wait for element
get_computed_styles CSS debugging
get_network_errors Failed requests
get_console_logs JS console output
mobile_mode iPhone X viewport

Requirements

  • Docker (one of):
  • Any MCP-compatible client (Claude Code, Cursor, Windsurf, Cline, etc.)

Documentation


How It Works

AI Coding Assistant (Claude, Cursor, etc.)
    ↓
chrome-mcp-docker (MCP Server)
    ↓
Chrome DevTools Protocol
    ↓
Persistent Chrome Browser (Docker)

The key innovation: Host Header Bypass. Chrome rejects connections from Docker containers because host.docker.internal isn't localhost. This server spoofs the header.


Known Issues

Docker MCP Gateway has several open bugs affecting custom servers:

  • PR #263 - Tool name prefix separator (: → __)
  • PR #278 - Prefixed names sent to remote servers
  • PR #279 - Claude clients excluded from tool activation

Recommendation: Use standalone installation (Option A) until these PRs are merged.


License

MIT


Report Bug · Request Feature

Made with ☕ by null-runner

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Chrome MCP Docker

How do I install Chrome MCP Docker?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Chrome MCP Docker safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Chrome MCP Docker still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.