MCP Node.js Debugger
Demo
Cursor
Claude Code
Quick start
Cursor
- Add to Cursor (
~/.cursor/mcp.json) image
- Run a Node.js server in debug mode (i.e. with the
--inspectflat)
- Ask Cursor to debug your Node.js server at runtime image
Claude Code
- Add to Claude Code
- Start Claude Code
- Run a Node.js server in debug mode (i.e. with the
--inspectflat)
- Ask Claude Code to debug your Node.js server at runtime
Usage
Claude Code
- Add to Claude Code
- Verify connection
- Remove from Claude Code
Cursor
- Add to Cursor (
~/.cursor/mcp.json)
- Verify connection: image
- Remove from Cursor (
~/.cursor/mcp.json):
Example
Cursor
- Run this simple Node.js app: github.com/mdn/express-locallibrary-tutorial:
- Ask Cursor to set a breakpoint image image
- Create a book at `localhost:3000/catalog/book/create` image
- Watch Cursor capture runtime state image
Claude Code
- Here is a buggy Node.js server:
- Claude Code debugs the Node.js server at runtime:
MCP Node.js Debugger
Demo
Cursor
Claude Code
Quick start
Cursor
- Add to Cursor (
~/.cursor/mcp.json) image
- Run a Node.js server in debug mode (i.e. with the
--inspectflat)
- Ask Cursor to debug your Node.js server at runtime image
Claude Code
- Add to Claude Code
- Start Claude Code
- Run a Node.js server in debug mode (i.e. with the
--inspectflat)
- Ask Claude Code to debug your Node.js server at runtime
Usage
Claude Code
- Add to Claude Code
- Verify connection
- Remove from Claude Code
Cursor
- Add to Cursor (
~/.cursor/mcp.json)
- Verify connection: image
- Remove from Cursor (
~/.cursor/mcp.json):
Example
Cursor
- Run this simple Node.js app: github.com/mdn/express-locallibrary-tutorial:
- Ask Cursor to set a breakpoint image image
- Create a book at `localhost:3000/catalog/book/create` image
- Watch Cursor capture runtime state image
Claude Code
- Here is a buggy Node.js server:
- Claude Code debugs the Node.js server at runtime: