MCP Node.js Debugger is an MCP server that provides runtime debugging access for running Node.js applications to AI programming tools like Cursor and Claude Code. It connects directly to the Node.js inspector protocol via a local debug port when an application runs with the standard inspect flag. Node.js software developers, backend engineers, and QA engineers use this tool to allow LLM agents to investigate runtime behavior directly rather than relying solely on static code analysis. Once connected, it enables client assistants to set dynamic breakpoints, inspect the call stack, evaluate arbitrary JavaScript snippets in execution context, and query active variables during live execution. This server helps diagnose elusive runtime bugs such as broken database connections, missing environment variables, and unhandled asynchronous exceptions without leaving the AI editor interface.
Category: Developer Tools & Code Intelligence
Tags: debugging, inspector, nodejs, runtime
~/.cursor/mcp.json under mcpServers with the key nodejs-debugger, command npx, and args ["@hyperdrive-eng/mcp-nodejs-debugger"]. Alternatively, for Claude Code, run claude mcp add nodejs-debugger npx @hyperdrive-eng/mcp-nodejs-debugger. 2. Start your target Node.js application in debug mode from a separate terminal window by passing the --inspect flag: node --inspect {file.js}. 3. Verify your connection in Claude Code using /mcp or inspect the MCP status indicator inside Cursor. 4. Direct your AI client to start debugging your application at runtime.Part of MCP Servers
MCP Node.js Debugger is an Model Context Protocol server that gives AI coding environments access to Node.js applications at runtime. It interfaces with the Node.js inspector protocol to set breakpoints, read variables, evaluate expressions, and capture error contexts directly from an active process.
You can install it in Claude Code by running claude mcp add nodejs-debugger npx @hyperdrive-eng/mcp-nodejs-debugger. For Cursor, add a new server definition to ~/.cursor/mcp.json pointing command to npx and args to the @hyperdrive-eng/mcp-nodejs-debugger package name.
The project documentation specifically supports and demonstrates setup with Cursor and Claude Code. Any Model Context Protocol client capable of spawning Node.js processes using stdio or npx can also communicate with this server.
You must start your Node.js application in debug mode using the inspect flag. In your terminal, run node --inspect followed by your script name. This opens the default Node.js inspector WebSocket port so the MCP server can attach.
Based on runtime usage examples, the server provides tools including set_breakpoint to attach to target files and lines, list_breakpoints to see existing breakpoints, and nodejs_inspect to evaluate JavaScript expressions inside the running process context.