Chrome DevTools Debug MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| start_chromeB | Launch Chrome browser with debugging enabled. Returns WebSocket endpoint URL. If already connected, returns existing connection info. |
| stop_chromeB | Stop the Chrome browser process that was started with start_chrome. |
| connectB | Connect to an existing Chrome instance running with --remote-debugging-port. |
| disconnectA | Disconnect from Chrome without stopping the browser. |
| list_targetsA | List all debug targets (pages, workers, service workers, etc.). For just pages/tabs, use list_pages instead. |
| get_versionB | Get Chrome version and protocol version. |
| create_targetA | Create a new target (page/tab) in the browser. Does not switch to it automatically. |
| switch_targetA | Switch to a different target (page/tab) by its ID. Use list_targets to see available targets. |
| activate_targetA | Make a tab the active tab and bring its Chrome window to the front (CDP Target.activateTarget). Defaults to the currently attached target. Whether the window actually comes to the front depends on the window manager. |
| close_targetA | Close a target (page/tab) by its ID. Cannot close the currently attached target. |
| list_attached_sessionsA | List every target this DebugSession is currently attached to (root page + auto-attached workers, service workers, iframes). Use the targetId in network tools to scope results. |
| navigateB | Navigate the current page to a URL. |
| reloadC | Reload the current page. |
| add_script_on_new_documentA | Add a script to be evaluated on every new document before any other scripts. Useful for injecting polyfills or hooks. |
| remove_script_on_new_documentB | Remove a script previously added with add_script_on_new_document. |
| capture_screenshotA | Capture a screenshot of the page. Large screenshots (>=1MB) are automatically saved to a temp file to avoid token limits. |
| capture_snapshotA | Capture a full page snapshot as MHTML (includes HTML, CSS, images). Useful for archiving pages. Large snapshots (>=1MB) are automatically saved to a temp file. |
| create_isolated_worldA | Create an isolated JavaScript execution context in a frame. Scripts in isolated worlds cannot access page JS variables and vice versa, but both can access the DOM. |
| get_frame_treeB | Get the frame tree structure of the page, including all iframes. |
| handle_dialogC | Handle a JavaScript dialog (alert, confirm, prompt, beforeunload). |
| delete_cookieC | Delete a browser cookie by name. Part of Network domain but grouped here for convenience. |
| debugger_enableA | Enable the debugger. Must be called before setting breakpoints or stepping. |
| debugger_disableA | Disable the debugger. Removes all breakpoints. |
| set_breakpointB | Set a breakpoint by URL pattern and line number. Works even before script is loaded. |
| set_breakpoint_by_idC | Set a breakpoint at a specific location in a loaded script. |
| remove_breakpointC | Remove a breakpoint by its ID. |
| list_breakpointsB | List all active breakpoints. |
| pauseB | Pause JavaScript execution. |
| resumeB | Resume JavaScript execution. |
| step_overA | Step to the next line, stepping over function calls. |
| step_intoC | Step into a function call. |
| step_outB | Step out of the current function. |
| get_call_framesA | Get the current call stack when paused. |
| get_scope_variablesC | Get variables in a scope of a call frame. |
| evaluate_on_frameC | Evaluate an expression in the context of a call frame. |
| set_pause_on_exceptionsC | Configure when to pause on exceptions. |
| set_async_stack_depthC | Set maximum depth of async call stacks. |
| list_scriptsC | List all parsed scripts. |
| get_script_sourceC | Get the source code of a script. |
| get_pause_stateB | Get current pause state of the debugger. |
| evaluateB | Evaluate JavaScript expression in the page context. Returns breakpoint info if execution triggers a breakpoint. |
| get_propertiesC | Get properties of an object by its objectId. |
| release_objectB | Release an object reference to free memory. |
| get_console_messagesC | Get collected console messages (console.log, console.error, etc.). |
| get_exceptionsC | Get collected runtime exceptions. |
| clear_consoleB | Clear collected console messages and exceptions. |
| network_enableA | Enable network request collection on every attached session (page + auto-attached workers/iframes/service workers). Stays on for sessions that attach later. |
| network_disableA | Disable network request collection on every attached session. |
| list_requestsA | List collected network requests. Includes requests from the page and from any auto-attached workers/service workers. Use targetId to scope to one session. |
| get_request_detailsC | Get detailed information about a network request. |
| get_response_bodyA | Get the response body of a completed request. Automatically routes to the session that issued the request. |
| get_websocket_framesA | Get the frames (messages) of a WebSocket connection. The requestId comes from list_requests (entries with resourceType "WebSocket"). Returns the connection state plus sent/received frames. Requires network_enable to have been active when the connection opened. Use get_request_details on the same requestId for the handshake headers. |
| clear_requestsA | Clear collected network requests. Optional targetId scopes the clear to one session. |
| get_network_summaryA | Get summary of collected network requests, broken down per target. Optional targetId for a single-session view. |
| fetch_enableB | Enable request interception. Requests matching rules will be paused. |
| fetch_disableB | Disable request interception. |
| add_intercept_ruleC | Add a rule for how to handle intercepted requests. |
| remove_intercept_ruleC | Remove an intercept rule. |
| list_intercept_rulesC | List all intercept rules. |
| list_paused_requestsB | List requests that are paused waiting for a decision. |
| continue_requestB | Continue a paused request, optionally modifying it. |
| fulfill_requestC | Respond to a paused request with a mock response. |
| fulfill_request_with_fileA | Respond to a paused request with file contents. Automatically detects Content-Type from file extension. |
| fail_requestC | Fail a paused request with an error. |
| dom_enableB | Enable DOM domain for DOM tree access. |
| dom_disableC | Disable DOM domain. |
| get_documentC | Get the root DOM node. |
| query_selectorC | Find an element by CSS selector. |
| query_selector_allC | Find all elements matching a CSS selector. |
| get_outer_htmlC | Get the outer HTML of an element. |
| get_attributesC | Get attributes of an element. |
| get_box_modelC | Get the box model (dimensions and position) of an element. |
| resolve_nodeC | Get a JavaScript object reference for a DOM node. |
| set_dom_breakpointB | Set a breakpoint on DOM mutations (subtree changes, attribute changes, or node removal). |
| remove_dom_breakpointC | Remove a DOM breakpoint. |
| set_event_breakpointC | Break when a specific event is fired (e.g., click, submit, keydown). |
| remove_event_breakpointC | Remove an event breakpoint. |
| set_xhr_breakpointB | Break when an XHR/fetch request is made to a URL containing the pattern. |
| remove_xhr_breakpointD | Remove an XHR breakpoint. |
| get_event_listenersC | Get all event listeners attached to an element. |
| clickA | Click at coordinates. Async - use is_paused to check if breakpoint was hit. |
| click_elementB | Click on an element by node ID (clicks at center). Async - use is_paused to check if breakpoint was hit. |
| type_textC | Type text into the focused element. |
| press_keyC | Press a key or key combination. |
| scrollC | Scroll the page or an element. |
| move_mouseC | Move the mouse to a position. |
| log_enableA | Enable browser log collection (errors, warnings from browser). |
| log_disableB | Disable browser log collection. |
| get_log_entriesC | Get collected browser log entries. |
| clear_logB | Clear collected log entries. |
| service_worker_enableA | Enable ServiceWorker domain to track service workers. |
| service_worker_disableC | Disable ServiceWorker tracking. |
| list_service_workersA | List all registered service workers. Includes the CDP targetId when known so it can be cross-referenced with list_attached_sessions and list_requests. |
| start_workerC | Start a service worker. |
| stop_workerB | Stop a running service worker. |
| update_registrationC | Force update a service worker registration. |
| skip_waitingC | Skip waiting state for a service worker. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 97 tools
The set contains many clusters of near-duplicate or overlapping tools: get_log_entries vs get_console_messages vs get_exceptions, click vs click_element, list_targets vs list_attached_sessions, capture_screenshot vs capture_snapshot, and multiple breakpoint types. Descriptions help, but with 97 tools spanning heavily overlapping debugging, logging, and network surfaces, an agent can easily misselect.
Most names use consistent snake_case and follow predictable verb_noun or noun_enable/noun_disable patterns. There are minor deviations with bare verbs like navigate, reload, click, pause, resume, and mixed conventions such as click vs click_element, but overall naming is readable and largely consistent.
97 tools is far too many for a coherent MCP surface; the count alone creates selection burden and encourages fragmentation into many narrow enable/disable pairs. Even if each tool is useful individually, the set is extremely over-scoped.
Coverage is broad across targets, debugger, DOM, network, console/logs, service workers, screenshots, and request interception. Minor gaps remain, such as no cookie list/set, limited DOM mutation operations, and no CSS or performance/heap profiling tools, but core debugging workflows are covered.