Skip to main content
Glama
danilin-em

chrome-remote-debugging-mcp

by danilin-em

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CDP_URLNoChrome remote-debugging originhttp://localhost:9222
SSH_PROXY_TONoSSH target, e.g. user@remote. Presence enables the tunnel.
SSH_PROXY_PORTNoFixed local port for tunnel. Auto-assigned when unset.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
pingA

Check connectivity to Chrome's DevTools endpoint (CDP_URL).

Returns {"connected": True, "cdp_url", "browser", "protocol"} when Chrome answers, or {"connected": False, "cdp_url", "error": ...} when it is unreachable.

list_tabsA

List open Chrome page tabs.

Returns {"tabs": [{id, title, url, type}, ...]} or {"error": ...} if Chrome is unreachable.

navigateA

Navigate a Chrome tab to url.

Uses the first page tab when tab_id is omitted. Returns {"tab_id", "url", "frameId"} on success, {"error": ...} otherwise.

evaluateA

Evaluate a JavaScript expression in a Chrome tab.

Uses the first page tab when tab_id is omitted. Awaits promises and returns the value by value. Returns {"tab_id", "value", "type"} on success, or {"error": ...} on failure or an uncaught JS exception.

cdp_commandA

Send a raw CDP command and return its raw result — escape hatch.

Use when the higher-level tools don't cover what you need. method is any CDP method (e.g. "Page.captureScreenshot", "DOM.getDocument", "Network.enable"); params are its parameters. Runs against the given tab (or the first page tab). Note: this targets a page websocket, so page-domain methods work; browser-level domains (Browser.*, Target.*) do not. Returns {"tab_id", "method", "result"} or {"error": ...}.

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/danilin-em/chrome-remote-debugging-mcp'

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