MCP Node.js 调试器
MCP 服务器允许 Cursor 或 Claude Code 在运行时访问 Node.js 以帮助您调试: @hyperdrive-eng/mcp-nodejs-debugger
。
演示
光标
https://github.com/user-attachments/assets/c193a17e-b0e6-4c51-82aa-7f3f0de17e1a
克劳德·科德
https://github.com/user-attachments/assets/adb7321b-3a6a-459b-a5c9-df365710d4d8
快速启动
光标
添加到光标(
~/.cursor/mcp.json
)在调试模式下运行 Node.js 服务器(即使用
--inspect
flat)让 Cursor 在运行时调试你的 Node.js 服务器
克劳德·科德
添加到克劳德代码
启动克劳德代码
在调试模式下运行 Node.js 服务器(即使用
--inspect
flat)使用 Claude Code 在运行时调试你的 Node.js 服务器
用法
克劳德·科德
添加到克劳德代码
验证连接
从克劳德法典中删除
光标
添加到光标(
~/.cursor/mcp.json
)验证连接:
从 Cursor 中删除(
~/.cursor/mcp.json
):
例子
光标
运行这个简单的 Node.js 应用程序: github.com/mdn/express-locallibrary-tutorial :
要求 Cursor 设置断点
在
localhost:3000/catalog/book/create
创建一本书Watch Cursor 捕获运行时状态
克劳德·科德
这是一个有缺陷的 Node.js 服务器:
Claude Code 在运行时调试 Node.js 服务器:
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
允许 Claude 通过设置断点、检查变量和单步执行代码来直接调试 NodeJS 服务器。
Related Resources
Related MCP Servers
- -securityAlicense-qualityThe Claude Dev Server enables direct interaction with the file system within a specified workspace, allowing users to perform file and directory operations and implement code artifacts in software development using natural language commands.Last updated -2MIT License
- AsecurityFlicenseAqualityThe server facilitates natural language interactions for exploring and understanding codebases, providing insights into data models and system architecture using a cost-effective, simple setup with support for existing Claude Pro subscriptions.Last updated -419
- AsecurityAlicenseAqualityThis project aims to build a Claude Code MCP server and implement its associated tools (explain\_code, review\_code, fix\_code, edit\_code, test\_code, simulate\_command, your\_own\_query). The server is implemented using Node.js and the MCP SDK. It receives tool requests from clients via Stdio, dynamicallyLast updated -73130MIT License
- AsecurityFlicenseAqualityProvides GDB debugging functionality for use with Claude or other AI assistants, allowing users to manage debugging sessions, set breakpoints, examine variables, and execute GDB commands through natural language.Last updated -162753