stefanli
MCP Serverstefanlipublic

devtools mcp

A MCP server that provides Chrome DevTools Protocol access to LLMs

Repository Info

19
Stars
8
Forks
19
Watchers
3
Issues
TypeScript
Language
-
License

About This Server

A MCP server that provides Chrome DevTools Protocol access to LLMs

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

devtools-mcp

A MCP server that provides Chrome DevTools Protocol access to LLMs.

  • Execute any CDP command through the cdp_command tool
  • Automatic binary data handling - large responses (screenshots, PDFs) are saved to files

Setup

  1. Start Chrome with remote debugging:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
  --remote-debugging-port=9222 \
  --remote-debugging-address=127.0.0.1 \
  --user-data-dir=/tmp/chrome-debug \
  --no-first-run \
  --disable-default-apps
  1. Install dependencies:
npm install
  1. Add as local MCP server. E.g. with Claude Code:
claude mcp add devtools-server -- npx tsx ~/projects/devtools-mcp/src/index.ts

Usage

The server exposes a single cdp_command tool that accepts:

  • method: Any CDP command (e.g., "Page.navigate", "Runtime.evaluate")
  • params: JSON string of command parameters (optional)

Binary data (screenshots, etc.) is automatically saved to ./cdp-output/ with file path references returned instead of raw data.

Quick Start

1

Clone the repository

git clone https://github.com/stefanli/devtools-mcp
2

Install dependencies

cd devtools-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerstefanli
Repodevtools-mcp
LanguageTypeScript
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation