Skip to content

Github trending [ChromeDevTools/chrome-devtools-mcp] AI驱动的浏览器调试工具 #357

@web1992

Description

@web1992

项目地址

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

AI 摘要

chrome-devtools-mcp 是一个 MCP 服务器,允许 AI 编码助手(如 Antigravity、Claude、Cursor 等)通过 Chrome DevTools 控制、调试和分析实时浏览器。核心功能包括性能洞察(记录跟踪并提取建议)、高级调试(分析网络请求、截图、检查控制台消息)和可靠自动化(基于 Puppeteer)。支持 Google Chrome 和 Chrome for Testing,提供 CLI 和 Slim 模式。需 Node.js LTS 和 Chrome。默认收集使用统计和检查更新,可分别通过--no-usage-statisticsCHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS关闭。

README 原文

Chrome DevTools for agents

npm chrome-devtools-mcp package

Chrome DevTools for agents (chrome-devtools-mcp) lets your coding agent (such as Antigravity, Claude, Cursor or Copilot)
control and inspect a live Chrome browser. It acts as a Model-Context-Protocol
(MCP) server, giving your AI coding assistant access to the full power of
Chrome DevTools for reliable automation, in-depth debugging, and performance analysis.
A CLI is also provided for use without MCP.

Tool reference | Changelog | Contributing | Troubleshooting | Design Principles

Key features

  • Get performance insights: Uses Chrome
    DevTools
    to record
    traces and extract actionable performance insights.
  • Advanced browser debugging: Analyze network requests, take screenshots and
    check browser console messages (with source-mapped stack traces).
  • Reliable automation. Uses
    puppeteer to automate actions in
    Chrome and automatically wait for action results.

Disclaimers

chrome-devtools-mcp exposes content of the browser instance to the MCP clients
allowing them to inspect, debug, and modify any data in the browser or DevTools.
Avoid sharing sensitive or personal information that you don't want to share with
MCP clients.

chrome-devtools-mcp officially supports Google Chrome and Chrome for Testing only.
Other Chromium-based browsers may work, but this is not guaranteed, and you may encounter unexpected behavior. Use at your own discretion.
We are committed to providing fixes and support for the latest version of [Extended Stable Chrome](https://chromiumdash.appspot.com/schedule...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions