Skip to main content
Glama
congzhou09

chrome-dev-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

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

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_tabsA

List all open Chrome page tabs with their targetIds, titles, and URLs. When you are unsure which tab to inspect, call this proactively to discover available tabs, then present the list to the user and ask which one to switch to — do NOT tell the user to switch tabs manually in Chrome.

switch_tabA

Switch the MCP connection to a specific Chrome tab. Use list_tabs first to get available targetIds.

get_titleA

Get the title of the currently connected tab (document.title).

get_urlA

Get the URL of the currently connected tab (location.href).

get_htmlA

Get the full HTML source of the currently connected tab (document.documentElement.outerHTML). Truncated to 20 000 characters for large pages.

evaluate_jsA

Evaluate javascript in page. To access the currently selected element in the Elements panel ($0), use get_inspected_element instead.

get_computed_styleA

Get computed CSS values for the given properties on the element matched by selector.

screenshotA

Capture a PNG screenshot of the current viewport (the visible page area only — not the full scrollable page, not the browser chrome, not DevTools).

get_inspected_elementA

Get the element marked for MCP inspection. To mark an element: select it in the Elements panel, then run window.$0 = $0 in the DevTools console.

get_debugger_stateA

Get current debugger state: whether execution is paused, the pause reason, hit breakpoints, and the full call stack with file/line info.

get_scope_variablesA

Inspect variable values in a call frame scope. Only works when execution is paused. Use get_debugger_state first to find available frame indices.

set_breakpointA

Set a breakpoint by URL (exact or regex) + line number.

remove_breakpointA

Remove a breakpoint by ID. The ID is invalidated; use set_breakpoint to restore (returns a new ID).

list_breakpointsA

List breakpoints tracked by this server (set via set_breakpoint). Breakpoints set outside this server (DevTools UI, other CDP clients, prior sessions) are not visible — CDP has no API to enumerate them.

pause_executionA

Pause JavaScript execution immediately. After pausing, use get_debugger_state to inspect the call stack.

resume_executionA

Resume JavaScript execution after a breakpoint or pause.

step_overA

Execute the current line and pause at the next line (does not enter function calls). Returns the new call stack position.

step_intoA

Step into the function call on the current line. Returns the new call stack position.

evaluate_at_frameA

Evaluate a JavaScript expression in the scope of a paused call frame. Unlike evaluate_js, this has access to local variables, closure variables, and the current this. Only works when execution is paused.

step_outA

Step out of the current function and pause at the caller. Returns the new call stack position.

get_console_logsA

Return browser console messages and uncaught exceptions. Includes messages already visible in DevTools before this server connected, plus new output produced afterwards. Exceptions are reported with their full stack trace (source-mapped when available).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/congzhou09/chrome-dev-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server