1. Conduid
  2. Browser
  3. Chrome Devtools MCP Server
MCP server · Browser

Chrome Devtools MCP Server

MCP server: Chrome Devtools MCP Server

Unclaimed last commit a year ago browser
37Low

Scored 5 months ago · breakdown

About Chrome Devtools MCP Server

Chrome Devtools MCP Server is an MCP server published by availsthlm in the Browser category: mCP server: Chrome Devtools MCP Server.

The repository has 3 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/availsthlm/chrome-devtools-mcp-server

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)

connect_chromeConnect to Chrome DevTools

Parameters not published.

disconnect_chromeClose connection

Parameters not published.

execute_javascriptRun JavaScript code

Parameters not published.

get_console_logsAccess console logs

Parameters not published.

get_network_requestsMonitor network traffic

Parameters not published.

get_page_contentGet HTML content

Parameters not published.

list_tabsList all browser tabs

Parameters not published.

navigate_to_urlNavigate to a URL

Parameters not published.

set_device_emulationEmulate mobile devices

Parameters not published.

take_screenshotCapture screenshot

Parameters not published.

Ask AI

✦

Ask AI about Chrome Devtools MCP Server

Powered by Claude · Grounded in docs

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

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Chrome DevTools MCP Server

A Model Context Protocol (MCP) server that provides tools for interacting with Chrome DevTools Protocol. This allows you to programmatically control Chrome browser instances through Claude Desktop, navigate web pages, execute JavaScript, take screenshots, and more.

🚀 Quick Start

For Non-Technical Users (Recommended)

What this does: Control Chrome browser through Claude Desktop with simple voice commands like "navigate to google.com" or "take a screenshot"!

  1. Download: Click the green "Code" button → "Download ZIP" → Extract to Desktop
  2. One-Click Setup:
    • Mac: Double-click easy-setup.sh
    • Windows: Double-click easy-setup.bat
  3. Restart Claude Desktop
  4. Start using: Say "Connect to my Chrome browser" in Claude!

Need help? See troubleshooting below

For Technical Users

# Clone and start with Docker (recommended)
git clone <repository-url>
cd chrome-devtools-mcp-server
docker-compose up -d

# Or manual installation
npm install && npm run build && npm start

Features

  • 🌐 Browser Control: Navigate URLs, click elements, fill forms
  • 📸 Screenshots: Capture full pages or specific elements
  • 🔧 JavaScript Execution: Run custom scripts in browser context
  • 📱 Device Emulation: Test mobile/tablet views
  • 🔍 Network Monitoring: Track requests and responses
  • 📝 Console Access: View browser console logs
  • 🔗 Multiple Connections: Manage multiple Chrome instances

Installation Options

Option 1: Docker (Recommended)

The easiest and most reliable method - includes Chrome and all dependencies:

# Start everything
docker-compose up -d

# Check status
docker-compose ps

# View logs
docker-compose logs -f

# Stop
docker-compose down

Option 2: Manual Installation

  1. Start Chrome with debugging enabled:

    # macOS/Linux
    google-chrome --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=/tmp/chrome-debug
    
    # Windows
    chrome.exe --remote-debugging-port=9222 --no-first-run --no-default-browser-check --user-data-dir=c:\temp\chrome-debug
    
  2. Install and build:

    npm install
    npm run build
    npm start
    

Configuration with Claude Desktop

Docker Setup

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "docker",
      "args": [
        "exec",
        "chrome-devtools-mcp-server",
        "node",
        "/app/build/index.js"
      ]
    }
  }
}

Manual Setup

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "node",
      "args": ["/path/to/chrome-devtools-mcp-server/build/index.js"]
    }
  }
}

Available Tools

Tool Description Parameters
connect_chrome Connect to Chrome DevTools host, port, connectionId
list_tabs List all browser tabs -
navigate_to_url Navigate to a URL url
execute_javascript Run JavaScript code code
get_page_content Get HTML content -
take_screenshot Capture screenshot format, quality
set_device_emulation Emulate mobile devices width, height, mobile
get_network_requests Monitor network traffic -
get_console_logs Access console logs -
disconnect_chrome Close connection connectionId

Example Usage

Just talk to Claude naturally:

  • "Connect to my Chrome browser"
  • "Navigate to amazon.com"
  • "Take a screenshot of this page"
  • "Make the browser look like an iPhone"
  • "Execute JavaScript to click the login button"
  • "Get the page title and all links"

Troubleshooting

"Docker not found" or "Connection failed"

  1. Install Docker Desktop (the setup script will guide you)
  2. Restart your computer after Docker installation
  3. Run the setup again: ./easy-setup.sh or easy-setup.bat

"Claude can't connect to Chrome"

  1. Restart Claude Desktop completely
  2. Check Docker is running: docker-compose ps
  3. Try connecting again: Say "Connect to Chrome" in Claude

Chrome debugging issues

  1. Only one process can use port 9222 - close other Chrome debugging sessions
  2. Check if Chrome is running: Navigate to http://localhost:9222
  3. Restart Docker container: docker-compose restart

Still having problems?

# Check status
./start-docker.sh status

# View logs
docker-compose logs -f

# Complete restart
docker-compose down && docker-compose up -d

Testing

Run the comprehensive test suite:

./run-comprehensive-tests.sh

This tests all components and provides a complete status report.

Security Notes

⚠️ Important:

  • Only use with Chrome instances you control
  • Don't expose port 9222 to untrusted networks
  • Use temporary user data directories for testing
  • The debugging port gives full browser access

Development

Built with TypeScript and:

  • @modelcontextprotocol/sdk for MCP protocol
  • chrome-remote-interface for Chrome DevTools Protocol

Project Structure

├── src/index.ts           # Main server implementation
├── build/                 # Compiled JavaScript
├── docker/               # Docker configuration
├── easy-setup.sh         # One-click setup script
├── docker-compose.yml    # Service orchestration
└── package.json          # Dependencies and scripts

Adding New Tools

  1. Add tool definition in setupToolHandlers()
  2. Implement the handler method
  3. Add case in CallToolRequestSchema handler

What Gets Installed

When you run the easy setup:

  • Docker Desktop: Safely runs Chrome in a container
  • Chrome DevTools Server: Connects Claude to Chrome
  • Claude Configuration: Automatically configures Claude Desktop

Uninstalling

# Remove Docker containers and data
./start-docker.sh clean

# Optional: Uninstall Docker Desktop
# Delete this folder

License

MIT License - see LICENSE file for details


🎯 Goal: Make browser automation accessible to everyone through natural language with Claude!

README fetched from the repository yesterday. The original is authoritative.

Questions

About Chrome Devtools MCP Server

How do I install Chrome Devtools MCP Server?

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

Is Chrome Devtools MCP Server safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Chrome Devtools MCP Server still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.