Local-first MCP debug memory for recording incidents, commands, failed attempts, fixes, diagnostics, and searchable session history in SQLite for reproducible developer troubleshooting.
Setup
Choose your client, copy the config, then fill in any required environment variables.
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>"
}
}
}
}Environment variables
DEBUG_RECORDER_HTTP_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.