Generated by Code IQ · v1.0

chrome-devtools-mcp
Knowledge Tutorial

This project serves as a Model Context Protocol (MCP) server that bridges the gap between an AI model and a Chrome browser. It allows the AI to act as a developer by inspecting the page's accessibility tree, controlling browser actions (clicking, typing), and analyzing technical details like network traffic, console logs, and performance traces via Chrome DevTools integration.

6
Chapters
-
Subsystems
Rabbit Holes
▶ Start Reading ⎇ View on GitHub
System Architecture

How the pieces fit

chrome-devtools-mcp is organized as connected concepts and components. Start broad, then drill down chapter by chapter.

⚙️
Browser Lifecycle (Process Management)
Browser Lifecycle (Process Management)
🔌
MCP Context (State Management)
MCP Context (State Management)
🔧
Tool Definitions (Capabilities)
Tool Definitions (Capabilities)
⚙️
Data Collectors (Event Buffering)
Data Collectors (Event Buffering)
⚙️
Content Formatters (Data Translation)
Content Formatters (Data Translation)
🔧
DevTools Bridge (CDP Integration)
DevTools Bridge (CDP Integration)
chrome-devtools-mcp — bash
open tutorial
◆ Scanning numbered chapters
◆ Building navigation and Mermaid diagrams
◆ Generating chapter and subsystem pages
✓ 6 chapter pages built
✓ Theme toggle enabled
Repository Overview

Intro and Architecture Diagram

This project serves as a Model Context Protocol (MCP) server that bridges the gap between an AI model and a Chrome browser. It allows the AI to act as a developer by inspecting the page's accessibility tree, controlling browser actions (clicking, typing), and analyzing technical details like network traffic, console logs, and performance traces via Chrome DevTools integration.

Source Repository: https://github.com/ChromeDevTools/chrome-devtools-mcp

flowchart TD A0["MCP Context (State Management)"] A1["Tool Definitions (Capabilities)"] A2["Data Collectors (Event Buffering)"] A3["Content Formatters (Data Translation)"] A4["DevTools Bridge (CDP Integration)"] A5["Browser Lifecycle (Process Management)"] A5 -->|"Initializes and provides br..."| A0 A1 -->|"Executes commands against"| A0 A0 -->|"Orchestrates and queries"| A2 A0 -->|"Manages DevTools sessions"| A4 A1 -->|"Uses to structure output"| A3 A3 -->|"Resolves stack traces via"| A4
Tutorial Chapters

All 6 chapters

Follow sequentially or jump to any topic. Start with Browser Lifecycle (Process Management).

About This Project

Generated by Code IQ

This tutorial was automatically generated by Code IQ and rendered with the shared tutorial site builder. It can be produced for any repository tutorial folder that follows the numbered markdown chapter layout.

View Code IQ ↗
python build_site.py '/home/runner/work/Code-IQ/Code-IQ/output/chrome-devtools-mcp'

// → 6 chapters
// → source: ChromeDevTools/chrome-devtools-mcp