Chrome DevTools MCP
About
Official Chrome DevTools MCP server for AI coding agents — control Chrome, debug pages, analyze performance, and automate browser tasks.
Features
- Get performance insights using Chrome DevTools to record traces and extract actionable insights
- Advanced browser debugging — analyze network requests, take screenshots, check console messages with source-mapped stack traces
- Reliable automation using Puppeteer to automate actions in Chrome and automatically wait for results
- Input automation tools: click, fill, drag, hover, type, keyboard shortcuts, file upload
- Navigation automation: navigate pages, manage tabs, wait for conditions
- Network inspection: list and inspect network requests
- JavaScript evaluation in browser context
- Lighthouse performance audits
- Chrome DevTools performance tracing and analysis
- Memory snapshots for leak detection
- Device emulation and page resizing
- Slim mode for basic browser tasks
- CLI for non-MCP usage
Use Cases
Web Developer
Verify code changes in real-time by navigating to pages, taking screenshots, and inspecting console output
QA Engineer
Diagnose network and console errors by listing requests and messages with source-mapped traces
Frontend Developer
Debug live styling and layout issues by taking snapshots and evaluating JavaScript in the browser
Performance Engineer
Automate performance audits with Lighthouse and trace analysis to identify bottlenecks
AI Coding Agent
Simulate user behavior — click buttons, fill forms, navigate flows — to test applications end-to-end
What This Server Can Do
MCP servers expose three types of capabilities to AI clients. Here's what Chrome DevTools MCP supports.
Tools
Supported29 toolsFunctions your AI client can call to perform actions — like querying a database, creating a file, or calling an API.
How to use: Tools run automatically when your AI client decides they're needed. Ask your AI assistant to perform a task, and it will invoke the right tool.
Resources
Not availableThis server does not expose read-only data resources.
Prompts
Not availableThis server does not provide pre-built prompt templates.
For the full list of available tools, resources, and prompts, check the README on GitHub.
Available Tools (29)
clickClick on an element by its uid from the page snapshot
dragDrag an element onto another element
fillType text into an input, textarea, or select an option from a select element
fill_formFill out multiple form elements at once
handle_dialogHandle a browser dialog (accept or dismiss)
hoverHover over an element by its uid
press_keyPress a key or key combination
type_textType text using keyboard into a previously focused input
upload_fileUpload a file through a provided element
close_pageClose the current page
list_pagesList all open pages/tabs
navigate_pageNavigate to a URL
new_pageOpen a new page/tab
select_pageSelect a page/tab by index
wait_forWait for a condition on the page
emulateEmulate a device
resize_pageResize the page viewport
performance_analyze_insightAnalyze a performance insight from a trace
performance_start_traceStart recording a performance trace
performance_stop_traceStop recording and analyze the performance trace
get_network_requestGet details of a specific network request
list_network_requestsList all network requests
evaluate_scriptEvaluate JavaScript in the browser context
get_console_messageGet details of a specific console message
lighthouse_auditRun a Lighthouse performance audit
list_console_messagesList all console messages
take_screenshotTake a screenshot of the current page
take_snapshotTake an accessibility snapshot of the current page
take_memory_snapshotTake a heap snapshot for memory leak detection