The Node.js Runtime Debugger is an MCP server that provides Cursor or Claude Code with access to Node.js at runtime, enabling real-time debugging. This tool is designed to help developers debug Node.js applications more efficiently by integrating directly with popular code editors and AI-powered coding assistants.
~/.cursor/mcp.json
file:json
{
"mcpServers": {
"nodejs-debugger": {
"command": "npx",
"args": ["@hyperdrive-eng/mcp-nodejs-debugger"]
}
}
}
shell
claude mcp add nodejs-debugger npx @hyperdrive-eng/mcp-nodejs-debugger
shell
node --inspect {file.js}
shell
claude
shell
node --inspect {file.js}
shell
node --inspect ./bin/www
localhost:3000/catalog/book/create
.shell
node --inspect index.js
shell
> I'm getting a runtime error connecting to mongoose. Please help me debug by checking the value of the mongodb configs at runtime using the nodejs-debugger mcp.