MCP Js Debugger MCP Server

MCP server exposing Chrome DevTools Protocol debugging capabilities

Local serverstdioTypeScript

What is the MCP Js Debugger MCP Server?

MCP server exposing Chrome DevTools Protocol debugging capabilities

What it actually does

An MCP (Model Context Protocol) server that exposes Chrome DevTools Protocol debugging capabilities, enabling AI assistants to debug JavaScript and TypeScript applications.

  • Connect to any CDP-compatible debugger (Node.js, Chrome, Edge)
  • Set, list, and remove breakpoints
  • Step through code (over, into, out)
  • Inspect call stacks with source map support
  • Evaluate expressions in any stack frame
  • View and modify variables

Configuration

  • Node.js 18.0.0 or later - A CDP-compatible debug target (Node.js, Chrome, Edge, etc.)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
connect_debuggerConnect to a CDP endpoint via WebSocket URL
disconnect_debuggerDisconnect from a debugging session
set_breakpointSet a breakpoint by URL and line number
remove_breakpointRemove a breakpoint by ID
list_breakpointsList all breakpoints in a session
resume_executionResume execution after pause
step_overStep over the current statement
step_intoStep into a function call
step_outStep out of the current function
pause_executionPause running execution
get_call_stackGet the current call stack with source locations
evaluate_expressionEvaluate a JavaScript expression
get_scope_variablesGet variables in a scope
set_variable_valueModify a variable's value
set_pause_on_exceptionsConfigure exception handling
get_original_locationMap generated to original source location
get_script_sourceGet script source code
list_scriptsList loaded scripts

How to install the MCP Js Debugger MCP Server

{
  "mcpServers": {
    "mcp-js-debugger": {
      "command": "npx",
      "args": [
        "mcp-js-debugger"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js 18.0.0 or later - A CDP-compatible debug target (Node.js, Chrome, Edge, etc.)

Example prompts to try

  • “Use MCP Js Debugger to connect debugger.”
  • “Use MCP Js Debugger to disconnect debugger.”
  • “Use MCP Js Debugger to set breakpoint.”

Frequently asked questions

MCP server exposing Chrome DevTools Protocol debugging capabilities Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.