谷歌官方消息,Chrome DevTools MCP 现已加入 Github MCP GitHub - ChromeDevTools/chrome-devtools-mcp: Chrome DevTools for coding agents
Chrome 开发者工具 MCP

chrome-devtools-mcp 让您的编码代理(例如 Gemini、Claude、Cursor 或 Copilot)控制并检查实时 Chrome 浏览器。它充当模型-上下文-协议 (MCP) 服务器,让您的 AI 编码助手能够充分利用 Chrome DevTools 的强大功能,实现可靠的自动化、深入的调试和性能分析。
主要特点
免责声明
chrome-devtools-mcp 将浏览器实例的内容公开给 MCP 客户端,允许它们检查、调试和修改浏览器或 DevTools 中的任何数据。避免共享您不想与 MCP 客户端共享的敏感信息或个人信息。
要求
入门
将以下配置添加到您的 MCP 客户端: { “mcpServers”: { “chrome-devtools”: { “command”: “npx”, “args”: [“chrome-devtools-mcp@latest”] } } }
笔记 使用chrome-devtools-mcp@latest 可确保您的 MCP 客户端始终使用最新版本的 Chrome DevTools MCP 服务器。
MCP Client configuration
Claude CodeUse the Claude Code CLI to add the Chrome DevTools MCP server ( guide): claude mcp add chrome-devtools npx chrome-devtools-mcp@latest codex mcp add chrome-devtools – npx chrome-devtools-mcp@latest Copilot / VS CodeFollow the MCP install guide, with the standard config from above. You can also install the Chrome DevTools MCP server using the VS Code CLI: code --add-mcp ‘{“name”:“chrome-devtools”,“command”:“npx”,“args”:[“chrome-devtools-mcp@latest”]}’ Cursor
Click the button to install: 
Or install manually: Go to Cursor Settings → MCP → New MCP Server. Use the config provided above. Gemini CLIFollow the MCP guide using the standard config from above.Gemini Code AssistFollow the configure MCP guide using the standard config from above.JetBrains AI Assistant & Junie
Go to Settings | Tools | AI Assistant | Model Context Protocol (MCP) → Add. Use the config provided above. The same way chrome-devtools-mcp can be configured for JetBrains Junie in Settings | Tools | Junie | MCP Settings → Add. Use the config provided above.
Your first prompt
Enter the following prompt in your MCP Client to check if everything is working:
Your MCP client should open the browser and record a performance trace. Note
The MCP server will start the browser automatically once the MCP client uses a tool that requires a running browser instance. Connecting to the Chrome DevTools MCP server on its own will not automatically start the browser.
|