Debugs Node.js and TypeScript programs with breakpoints, variable inspection and execution control.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add debugger --env NODE_ENV='<NODE_ENV>' -- npx -y @ai-capabilities-suite/mcp-debugger-server~/.codex/config.toml
[mcp_servers.debugger]
command = "npx"
args = ["-y", "@ai-capabilities-suite/mcp-debugger-server"]
env = { NODE_ENV = "<NODE_ENV>" }
# codex mcp add debugger --env NODE_ENV='<NODE_ENV>' -- npx -y @ai-capabilities-suite/mcp-debugger-server~/.cursor/mcp.json
{
"mcpServers": {
"debugger": {
"command": "npx",
"args": [
"-y",
"@ai-capabilities-suite/mcp-debugger-server"
],
"env": {
"NODE_ENV": "<NODE_ENV>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"debugger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ai-capabilities-suite/mcp-debugger-server"
],
"env": {
"NODE_ENV": "<NODE_ENV>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"debugger": {
"command": "npx",
"args": [
"-y",
"@ai-capabilities-suite/mcp-debugger-server"
],
"env": {
"NODE_ENV": "<NODE_ENV>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"debugger": {
"command": "npx",
"args": [
"-y",
"@ai-capabilities-suite/mcp-debugger-server"
],
"env": {
"NODE_ENV": "<NODE_ENV>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"debugger": {
"command": "npx",
"args": [
"-y",
"@ai-capabilities-suite/mcp-debugger-server"
],
"env": {
"NODE_ENV": "<NODE_ENV>"
}
}
}
}需要的环境变量
NODE_ENV
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。