Talk

10x Debugging with Chrome DevTools MCP

A talk on letting a coding agent debug in a real browser. Chrome DevTools MCP connects agents such as Claude, Cursor or Copilot to a live Chrome, so they can record performance traces, read network requests and console errors, and check their own fixes.

Vin Lim Founder, Astralab
A packed hotel ballroom at 2025 Google DevFest Shanghai, with Vin Lim shown speaking on two large screens beside his slides

Roadshow schedule

DateCityEvent
Shanghai 2025 Google DevFest Shanghai

DevTools and the gap with coding agents

Chrome DevTools does three jobs every front-end engineer relies on. It shows how a page performs, from Core Web Vitals to performance traces and memory. It lets you inspect and edit the resources a page loads: HTML, JavaScript, CSS, cookies, local storage and the console. And it records the network, with timing, headers, payloads and throttling to match real connections.

DevTools also has AI assistance powered by Gemini, which uses the page's context to help fix styling bugs, analyze network requests, understand source files and investigate performance. A coding agent in the editor sees none of this. It writes code without knowing whether the code works in the browser, so the developer tests by hand, switches between the editor and DevTools, and reports back what broke.

Vin Lim on stage at 2025 Google DevFest Shanghai, in front of a large screen showing his live video beside a slide on AI assistance in Chrome DevTools
Covering AI assistance in DevTools at 2025 Google DevFest Shanghai.

MCP

A language model has a knowledge cutoff and can only act through the tools it is given. For a while every vendor wired up tools its own way, so a tool built for one model did not work with another. MCP, the Model Context Protocol, is an open-source standard for connecting AI applications to external systems, introduced by Anthropic in 2024. A tool packaged as an MCP server works with any client that speaks the protocol.

Chrome DevTools MCP

Chrome DevTools MCP is the Chrome DevTools team's MCP server. It lets a coding agent such as Antigravity, Claude, Cursor or Copilot control and inspect a live Chrome browser. It records traces with DevTools to extract performance insights, reads network requests, screenshots and console messages with source-mapped stack traces, and drives the page with Puppeteer, waiting for each action to finish before the agent moves on. The agent can build a feature, open it in Chrome, see what went wrong and fix it without the developer relaying anything.

The default tools fall into six categories:

CategoryWhat the agent can doExample tools
Input automationClick, hover, type, fill whole forms, handle dialogs and upload filesclick, fill_form, upload_file
Navigation automationOpen, switch and close pages, and wait for content to appearnavigate_page, new_page, wait_for
EmulationThrottle network and CPU, set the viewport, geolocation or dark modeemulate, resize_page
PerformanceRecord a trace and dig into insights such as Core Web Vitalsperformance_start_trace, performance_analyze_insight
NetworkList the page's requests and read any one in detaillist_network_requests, get_network_request
DebuggingRun scripts, read the console, take screenshots and accessibility-tree snapshots, run Lighthouseevaluate_script, list_console_messages, take_snapshot

As of September 2026 there are also memory tools for heap snapshots and tools for installing and reloading Chrome extensions, most of them behind flags.

Four demos

Each demo is a single prompt to a coding agent with Chrome DevTools MCP connected.

Vin Lim waving to the audience with a microphone at 2025 Google DevFest Shanghai, with the DevTools Network panel on the screen behind him
2025 Google DevFest Shanghai.

Performance insights

Assess the website performance for www.blockonomics.co

The agent opens the site in Chrome, records a performance trace, reads the insights DevTools extracts from it and reports what slows the page down.

Debugging a hover menu for accessibility

Please assess the flyout navigation on chrome.dev/devtools-times in terms of accessibility. Hover on any of the items to reveal the flyout

The agent hovers to open the menu, takes an accessibility-tree snapshot of what appears and reviews it, which is hard to do from source code because the flyout exists only after the hover.

A broken form, fixed and verified

@index.html my form is unable to submit. It's served at http://localhost:8001. Please use DevTools to test and confirm the issue, provide a fix, and validate it's working

The agent reproduces the failure in the browser, reads the console and network activity to find the cause, edits the file, reloads and submits the form again to confirm the fix.

Browser automation

Go to duckduckgo.com and input "DevFest Shanghai 2025" in search input, and proceed with search, then wait for the result to provide a list of top 10 results with only title, description and link

The same tools that debug a page can operate one: the agent types the query, submits it, waits for the results to load and returns them as a list.

Getting started

Chrome DevTools MCP works with any MCP client. It needs a current Node.js LTS release, npm and a current stable Chrome. Most clients take the same configuration:

{
  "mcpServers": {
    "chrome-devtools": {
      "command": "npx",
      "args": ["-y", "chrome-devtools-mcp@latest"]
    }
  }
}

The server exposes everything in its browser to the agent, which can inspect, debug and modify any data there. Keep personal and sensitive information out of that browser session.

Sources