# cdp-mcp

Source: https://glimind.com/server/npm%2Fcdp-mcp
Registry id: `npm/cdp-mcp`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "cdp-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cdp-mcp"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add cdp-mcp -- npx -y cdp-mcp
```

## Tools (35)

- `check`: Check a checkbox or radio button.
- `click`: Click on a DOM element.
- `close_session`: Close the current debugging session.
- `evaluate`: Evaluate an expression in the context of a paused frame.
- `export_storage_state`: Export cookies and localStorage for session portability.
- `fill`: Fill a form field.
- `get_call_stack`: Get the current call stack at a paused frame.
- `get_cookies`: Get cookies, redacting likely-auth/HttpOnly values.
- `get_form_state`: Read named form fields.
- `get_object_properties`: Get properties of a JavaScript object.
- `get_request_body`: Lazy-load the body of a network request.
- `get_response_body`: Lazy-load the body of a network response.
- `get_scope`: Get scope variables for a paused frame.
- `get_script_source`: Get the source of a script.
- `launch_chrome`: Launch a Chrome/Chromium browser instance.
- `list_scripts`: List all scripts known to the debugger.
- `load_storage_state`: Load cookies and localStorage from a previous export.
- `locate`: Locate a DOM element using a LocatorSpec (CSS, text, role, test-id, label, placeholder, name).
- `pause`: Pause script execution.
- `press_key`: Press a keyboard key.
- `query_selector`: Query a DOM element by CSS selector.
- `resolve_source_position`: Resolve a source position via source maps.
- `resume`: Resume script execution.
- `screenshot`: Take a screenshot of the page.
- `select_option`: Select an option from a select element.
- `set_breakpoint`: Set a breakpoint in TypeScript source, matched via source maps.
- `set_cookies`: Set cookies.
- `step_into`: Step into a function call.
- `step_out`: Step out of the current function.
- `step_over`: Step over to the next line in the debugger.
- `suggest_locator`: Suggest a robust semantic locator for an element.
- `type_text`: Type text into a DOM element.
- `uncheck`: Uncheck a checkbox or radio button.
- `wait_for`: Wait until a DOM state condition is met.
- `wait_for_pause`: Wait until the debugger pauses.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
