cdp-extended-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cdp-extended-mcp emulate an iPhone 14"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
cdp-extended-mcp
An MCP (Model Context Protocol) server that exposes 5 powerful Chrome DevTools Protocol domains that are missing from existing tools:
Fetch — Intercept & modify HTTP requests mid-flight (mock APIs, block tracking, inject headers)
Emulation — Device simulation (iPhone/Pixel/iPad presets, geolocation, timezone, dark mode, vision deficiencies)
Accessibility — A11y tree inspection & automated auditing (missing labels, alt text, ARIA compliance)
Performance — Runtime metrics, CPU profiling, heap snapshots, Core Web Vitals
CSS — Computed styles, matched rules, font inspection, coverage tracking, live modification
38 Tools Available
Connection
Tool | Description |
| Connect to Chrome via WebSocket URL |
| List available Chrome debugging targets |
| Disconnect from Chrome |
Fetch (Request Interception)
Tool | Description |
| Enable request interception with URL patterns |
| Disable interception |
| Continue paused request with optional modifications |
| Respond with custom/mock response |
| Fail a request with an error |
| Get response body of intercepted request |
| List all paused requests |
Emulation (Device Simulation)
Tool | Description |
| Emulate iPhone, Pixel, iPad, Galaxy, Desktop |
| Custom viewport, DPR, mobile mode |
| Fake geolocation to any coordinates |
| Override timezone |
| Override locale for i18n testing |
| Override user agent string |
| Toggle dark mode |
| Toggle reduced motion |
| Simulate color blindness, blurred vision |
| Throttle CPU for low-end device simulation |
| Toggle touch emulation |
| Reset all emulation overrides |
| List available device presets |
Accessibility
Tool | Description |
| Automated a11y audit (missing labels, alt text, etc.) |
| Get full accessibility tree |
| Search a11y tree by role/name |
Performance
Tool | Description |
| Runtime performance metrics |
| Core Web Vitals with ratings |
| Start CPU profiling |
| Stop profiling, get hotspot analysis |
| Take heap memory snapshot |
CSS
Tool | Description |
| Get computed styles (optionally filtered) |
| Get all matching CSS rules |
| Background colors + font info |
| Force :hover, :focus, :active states |
| Get actual rendered fonts |
| List all media queries |
| Start CSS coverage tracking |
| Get used vs unused CSS report |
| Live-modify CSS properties |
Related MCP server: Puppeteer Debugger MCP Server
Quick Start
Install
npm install -g cdp-extended-mcpConfigure with Claude Code
Add to your Claude Code settings (~/.claude/settings.json):
{
"mcpServers": {
"cdp-extended": {
"command": "cdp-extended-mcp"
}
}
}Configure with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"cdp-extended": {
"command": "npx",
"args": ["cdp-extended-mcp"]
}
}
}Usage
Launch Chrome with debugging enabled:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222Use
discover_targetsto find available pagesUse
connect_cdpwith the WebSocket URLUse any of the 38 tools!
Works great alongside cdp-tools
This server is designed to complement the existing cdp-tools MCP server. Use cdp-tools for navigation, clicking, screenshots, and breakpoints. Use cdp-extended for the 5 domains cdp-tools doesn't cover.
Use Cases
API Mocking: Intercept fetch requests and return mock data — no backend needed
Mobile Testing: Emulate any device with one command
A11y Auditing: Find missing labels, alt text, and ARIA issues automatically
Performance Profiling: Get Core Web Vitals, CPU hotspots, and memory leaks
CSS Debugging: See exactly which rules apply, find unused CSS, check font rendering
i18n Testing: Switch timezone, locale, and language without system changes
Vision Accessibility: Test how your site looks with color blindness
License
MIT
Available Tools
40 toolsa11y_auditA
Run an accessibility audit on the current page. Checks for missing alt text, unlabeled buttons/links, form inputs without labels, empty headings, and clickable elements without roles.
Inputs: no named parameters.
a11y_queryA
Search the accessibility tree by role and/or accessible name
Inputs: name, role.
a11y_treeA
Get the accessibility tree for the current page (what screen readers see)
Inputs: depth, maxDisplay.
connect_cdpA
Connect to a Chrome instance via WebSocket URL. Get the URL from http://localhost:PORT/json/version or from an existing cdp-tools connection.
Inputs: wsUrl (required).
css_background_colorsA
Get background colors and font info for an element (useful for contrast checking)
Inputs: selector (required).
css_computed_styleA
Get computed CSS styles for an element. Optionally filter to specific properties.
Inputs: selector (required), properties.
css_coverage_startA
Start tracking CSS rule usage. Browse around, then call css_coverage_stop to see which rules are unused.
Inputs: no named parameters.
css_coverage_stopA
Stop CSS coverage tracking and get the report showing used vs unused rules
Inputs: no named parameters.
css_fontsA
Get the actual fonts used to render an element (not just font-family, the actual loaded fonts)
Inputs: selector (required).
css_force_pseudoA
Force pseudo-states on an element (e.g. :hover, :focus, :active) for testing
Inputs: selector (required), pseudoClasses (required).
css_matched_rulesA
Get all CSS rules matching an element (inline, matched, inherited, pseudo-elements)
Inputs: selector (required).
css_media_queriesA
List all media queries used across all stylesheets
Inputs: no named parameters.
css_set_propertyA
Set a CSS property value on an element (live modification)
Inputs: value (required), property (required), selector (required).
disconnect_cdpB
Disconnect from Chrome
Inputs: no named parameters.
discover_targetsA
List available Chrome debugging targets. Use this to find the WebSocket URL to connect to.
Inputs: host, port.
emulate_clear_allA
Clear all emulation overrides and reset to defaults
Inputs: no named parameters.
emulate_cpu_throttleB
Throttle CPU to simulate slower devices
Inputs: rate (required).
emulate_custom_deviceA
Set custom device metrics (viewport size, scale, mobile mode)
Inputs: width (required), height (required), mobile, deviceScaleFactor.
emulate_dark_modeA
Toggle dark mode (prefers-color-scheme)
Inputs: enabled (required).
emulate_deviceA
Emulate a specific device (iPhone, Pixel, iPad, etc.) with correct viewport, DPR, user agent, and touch
Inputs: device (required).
emulate_geolocationB
Fake the browser's geolocation to any coordinates
Inputs: latitude (required), longitude (required), accuracy.
emulate_list_devicesA
List all available device presets for emulation
Inputs: no named parameters.
emulate_localeA
Override the browser's locale for i18n testing
Inputs: locale (required).
emulate_reduced_motionB
Toggle reduced motion preference
Inputs: enabled (required).
emulate_timezoneC
Override the browser's timezone
Inputs: timezoneId (required).
emulate_touchB
Toggle touch emulation
Inputs: enabled (required), maxTouchPoints.
emulate_user_agentB
Override the browser's user agent string
Inputs: userAgent (required), platform, acceptLanguage.
emulate_vision_deficiencyA
Simulate vision deficiencies (color blindness, blurred vision)
Inputs: type (required).
fetch_continueA
Continue a paused request, optionally modifying URL, method, headers, or body
Inputs: requestId (required), url, method, headers, +1 more.
fetch_disableA
Disable request interception
Inputs: no named parameters.
fetch_enableB
Enable request interception. Optionally specify URL patterns to intercept.
Inputs: patterns.
fetch_failA
Fail a paused request with an error
Inputs: requestId (required), errorReason (required).
fetch_fulfillA
Respond to a paused request with a custom/mock response
Inputs: body (required), requestId (required), responseCode (required), headers.
fetch_get_bodyA
Get the response body of a paused request (at Response stage)
Inputs: requestId (required).
fetch_list_pausedA
List all currently paused/intercepted requests
Inputs: no named parameters.
perf_cpu_profile_startA
Start CPU profiling. Perform the actions you want to profile, then call perf_cpu_profile_stop.
Inputs: no named parameters.
perf_cpu_profile_stopA
Stop CPU profiling and get the results with top functions by CPU time
Inputs: no named parameters.
perf_heap_snapshotA
Take a heap memory snapshot to find memory leaks
Inputs: no named parameters.
perf_metricsA
Get current runtime performance metrics (DOM nodes, event listeners, layout counts, JS heap, etc.)
Inputs: no named parameters.
perf_web_vitalsA
Get Core Web Vitals (LCP, CLS, FCP, TTFB) with GOOD/NEEDS IMPROVEMENT/POOR ratings
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Every tool targets a distinct feature or action within its category. The fetch_* set covers interception stages clearly, and emulation tools each address a separate emulation dimension. Even overlapping-looking tools like css_background_colors and css_computed_style are clearly differentiated by their specific purpose.
All tool names use lowercase snake_case and follow a predictable pattern: either verb_noun (e.g., connect_cdp, discover_targets) or a category prefix followed by a descriptive noun or verb (e.g., emulate_device, css_coverage_stop). The naming is highly consistent across the entire set of 40 tools.
40 tools is well above the typical well-scoped range of 3-15. While the broad CDP domain might justify a larger surface, this many tools can overwhelm agents and increase selection difficulty. The count feels excessive even for an 'extended' server.
The tool surface covers several important domains (interception, emulation, CSS, accessibility, performance) but lacks core page control operations like navigation, JavaScript evaluation, or element interaction. This leaves noticeable gaps for common testing workflows, though it can still handle scenarios where a page is already loaded.
Maintenance
Related MCP Connectors
Official Browserless MCP server: browser automation, scraping, screenshots and PDFs for AI agents.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Unofficial Browserless MCP — wraps the Browserless headless-Chromium REST API (browserless.io)
Hosted real Google Chrome MCP with per-user persistent state. Navigate, click, type, screenshot.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceAn MCP server that provides tools for interacting with Chrome through its DevTools Protocol, enabling remote control of Chrome tabs to execute JavaScript, capture screenshots, monitor network traffic, and more.69 npm52MIT
- AlicenseBqualityDmaintenanceAn MCP server based on Puppeteer and Chrome DevTools Protocol for advanced browser debugging, performance analysis, and memory detection. It enables users to inspect DOM elements, monitor console errors, capture screenshots, and perform heap snapshot analysis through persistent browser connections.1028 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA Chrome DevTools Protocol-based MCP server that enables AI coding assistants to control browsers for JavaScript debugging, reverse engineering, web scraping, and API debugging.1Apache 2.0
- FlicenseNot gradedqualityDmaintenanceMCP server that connects to your browser to capture screenshots, inspect console logs, network requests, and more via Chrome DevTools Protocol.2-