Local-first MCP debug memory for recording incidents, commands, failed attempts, fixes, diagnostics, and searchable session history in SQLite for reproducible developer troubleshooting.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add debug-recorder --env DEBUG_RECORDER_HTTP_TOKEN='<DEBUG_RECORDER_HTTP_TOKEN>' -- npx -y debug-recorder-mcp~/.codex/config.toml
[mcp_servers.debug-recorder]
command = "npx"
args = ["-y", "debug-recorder-mcp"]
env = { DEBUG_RECORDER_HTTP_TOKEN = "<DEBUG_RECORDER_HTTP_TOKEN>" }
# codex mcp add debug-recorder --env DEBUG_RECORDER_HTTP_TOKEN='<DEBUG_RECORDER_HTTP_TOKEN>' -- npx -y debug-recorder-mcp~/.cursor/mcp.json
{
"mcpServers": {
"debug-recorder": {
"command": "npx",
"args": [
"-y",
"debug-recorder-mcp"
],
"env": {
"DEBUG_RECORDER_HTTP_TOKEN": "<DEBUG_RECORDER_HTTP_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"debug-recorder": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"debug-recorder-mcp"
],
"env": {
"DEBUG_RECORDER_HTTP_TOKEN": "<DEBUG_RECORDER_HTTP_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"debug-recorder": {
"command": "npx",
"args": [
"-y",
"debug-recorder-mcp"
],
"env": {
"DEBUG_RECORDER_HTTP_TOKEN": "<DEBUG_RECORDER_HTTP_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"debug-recorder": {
"command": "npx",
"args": [
"-y",
"debug-recorder-mcp"
],
"env": {
"DEBUG_RECORDER_HTTP_TOKEN": "<DEBUG_RECORDER_HTTP_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"debug-recorder": {
"command": "npx",
"args": [
"-y",
"debug-recorder-mcp"
],
"env": {
"DEBUG_RECORDER_HTTP_TOKEN": "<DEBUG_RECORDER_HTTP_TOKEN>"
}
}
}
}需要的环境变量
DEBUG_RECORDER_HTTP_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。