Skip to main content
Glama
congzhou09

chrome-dev-mcp

by congzhou09

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_titleA

Get current page title

get_urlA

Get current page url

get_htmlB

Get current page html

evaluate_jsB

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

get_computed_styleD

Get computed style of element

element_from_pointD

Get actual top element at target position

screenshotC

Capture screenshot

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. Returns tag, id, classes, attributes, and outerHTML.

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 at a URL + line number. Supports exact URL match or regex. Returns a breakpointId to use with remove_breakpoint.

remove_breakpointB

Remove a breakpoint by its ID (obtained from set_breakpoint or list_breakpoints).

list_breakpointsA

List all breakpoints set in this session.

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