MCP Node.js 调试工具

MCP Node.js 调试工具

一个为 Cursor 或 Claude Code 提供运行时 Node.js 调试支持的 MCP 服务器。

快速入门

使用 Cursor

  1. 配置 ~/.cursor/mcp.json 文件:
    + {
    +   "mcpServers": {
    +   "nodejs-debugger": {
    +      "command": "npx",
    +       "args": ["@hyperdrive-eng/mcp-nodejs-debugger"]
    +     }
    +   }
    + }
    
  2. 启动 Node.js 应用(需启用调试模式):
    node --inspect {file.js}
    
  3. 在 Cursor 中请求调试。

使用 Claude Code

  1. 添加调试工具:
    claude mcp add nodejs-debugger npx @hyperdrive-eng/mcp-nodejs-debugger
    
  2. 启动 Claude Code 并运行 Node.js 应用。
  3. 请求运行时调试。