Chrome Devtools MCP(ChromeDevTools/chrome-devtools-mcp)
chrome-devtools-mcp 通过 Model-Context-Protocol 将 Claude 或 Cursor 等编程智能体连接到活的 Chrome 浏览器,使其能够利用 Chrome DevTools 的完整功能进行调试和自动化。
57.5k · TypeScript
它作为 MCP 服务端和 CLI 工具运行,利用 https://npmjs.org/package/chrome-devtools-mcp 让你的助手能够检查实时页面并记录轨迹。运行 https://npmjs.org/package/chrome-devtools-mcp 可以直接拉取该包,从而让你的智能体获得直接控制浏览器的能力,而无需手动去处理 DOM。
README 摘录
# Chrome DevTools for agents [](https://npmjs.org/package/chrome-devtools-mcp) 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 is available as a Model-Context-Protocol (MCP) server and as a [CLI][cli]. Both give your AI coding assistant access to the full power of Chrome DevTools for reliable automation, in-depth debugging, and performance analysis. [Tool reference][tool-reference] | [CLI][cli] | [Skills][skills] | [Changelog][changelog] | [Contributing][contributing] | [Troubleshooting][troubleshooting] | [Design Principles][design-principles] ## Key features - **Get performance insights**: Uses [Chrome DevTools](https://github.com/ChromeDevTools/devtools-frontend) 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](https://github.com/puppeteer/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 sh