🎉 hey, I shipped skillcraft.ai — it shows you which dev skills are in demand

Thought you might find it useful. See what's trending, what's fading, and which skills are getting people hired.

Published
2 min read

Chrome DevTools MCP: Let Your AI Agent Debug Your App

Give your AI agent access to your running application. They can see errors, inspect the network tab, check the DOM, and debug issues while you work.

Your AI assistant can’t see what’s happening in your browser. You describe a bug, they guess at fixes, and it’s usually wrong because they don’t have the actual error message or network data.

Chrome DevTools MCP fixes that. It gives your AI agent access to your running app. They can take screenshots, see what’s in the DOM, check network requests, run JavaScript, and see console errors. Same stuff you see in DevTools.

You install an MCP server that talks to your browser. Now when you describe a bug, your AI agent can actually see it instead of guessing.

Here’s what happens in practice. You tell Claude “there’s a form that won’t submit.” Claude takes a screenshot, inspects the network tab, sees the API returned a 401, checks the error handler code, and tells you exactly what’s broken. No more guessing. No more “have you tried…?”

Installation

Cursor / Claude:

~/.cursor/mcp.json
{
"mcpServers": {
"chrome-devtools-mcp": {
"command": "npx",
"args": ["@anthropic-ai/chrome-devtools-mcp"]
}
}
}

VS Code + Claude:

~/.vscode/claude.json
{
"mcpServers": {
"chrome-devtools-mcp": {
"command": "npx",
"args": ["@anthropic-ai/chrome-devtools-mcp"]
}
}
}

OpenAI ChatGPT / ChatGPT Canvas:

~/.openai/mcp.json
{
"mcpServers": {
"chrome-devtools-mcp": {
"command": "npx",
"args": ["@anthropic-ai/chrome-devtools-mcp"]
}
}
}

Google Gemini:

~/.gemini/mcp.json
{
"servers": {
"chrome-devtools-mcp": {
"command": "npx",
"args": ["@anthropic-ai/chrome-devtools-mcp"]
}
}
}

GitHub Copilot:

~/.github/copilot-settings.json
{
"mcpServers": {
"chrome-devtools-mcp": {
"command": "npx",
"args": ["@anthropic-ai/chrome-devtools-mcp"]
}
}
}

JetBrains IDEs (IntelliJ, WebStorm, PyCharm):

~/.jetbrains/mcp.json
{
"mcpServers": {
"chrome-devtools-mcp": {
"command": "npx",
"args": ["@anthropic-ai/chrome-devtools-mcp"]
}
}
}

After adding the config, restart your editor. In your next conversation, tell your AI agent: “Use Chrome DevTools MCP to inspect my app at localhost:3000.” It’ll ask for permission (for safety), connect to your browser, and start debugging.

The value is immediate. Your AI agent goes from making educated guesses to seeing actual errors. When something breaks in production but works locally, or performance tanks under load, your agent can now see what you see and debug in real-time.


Found this article helpful? You might enjoy my free newsletter. I share dev tips and insights to help you grow your coding skills and advance your tech career.



This article was originally published on https://www.trevorlasn.com/blog/chrome-devtools-mcp. It was written by a human and polished using grammar tools for clarity.