MCP NodeJS Debugger
local-only server
The server can only run on the client’s local machine because it depends on local resources.
Integrations
Enables runtime inspection of MongoDB connection configurations and states to diagnose connection issues with MongoDB Atlas or local MongoDB instances.
Provides runtime inspection of Mongoose ORM configurations, connection states, and version information to help debug database connectivity issues.
Provides runtime debugging capabilities for NodeJS applications, allowing examination of variable values, setting breakpoints, listing breakpoints, and executing custom JavaScript code during program execution.
MCP Node.js Debugger
An MCP server that gives Cursor or Claude Code access to Node.js at runtime to help you debug: @hyperdrive-eng/mcp-nodejs-debugger
.
Demo
Cursor
https://github.com/user-attachments/assets/c193a17e-b0e6-4c51-82aa-7f3f0de17e1a
Claude Code
https://github.com/user-attachments/assets/adb7321b-3a6a-459b-a5c9-df365710d4d8
Quick start
Cursor
- Add to Cursor (
~/.cursor/mcp.json
)Copy - Run a Node.js server in debug mode (i.e. with the
--inspect
flat)Copy - Ask Cursor to debug your Node.js server at runtime
Claude Code
- Add to Claude CodeCopy
- Start Claude CodeCopy
- Run a Node.js server in debug mode (i.e. with the
--inspect
flat)Copy - Ask Claude Code to debug your Node.js server at runtimeCopy
Usage
Claude Code
- Add to Claude CodeCopy
- Verify connectionCopy
- Remove from Claude CodeCopy
Cursor
- Add to Cursor (
~/.cursor/mcp.json
)Copy - Verify connection:
- Remove from Cursor (
~/.cursor/mcp.json
):Copy
Example
Cursor
- Run this simple Node.js app: github.com/mdn/express-locallibrary-tutorial:Copy
- Ask Cursor to set a breakpoint
- Create a book at
localhost:3000/catalog/book/create
- Watch Cursor capture runtime state
Claude Code
- Here is a buggy Node.js server:Copy
- Claude Code debugs the Node.js server at runtime:Copy
This server cannot be installed
Allows Claude to directly debug a NodeJS server by setting breakpoints, inspecting variables and stepping through code.