Skip to content
VS Code

MCP Debug Recorder for VS Code

io.github.oaslananka/debug-recorder-mcp

Record debug sessions, commands, failed attempts, and successful fixes in local SQLite storage.

client:VS Code transport:stdio runtime:npm

Install MCP Debug Recorder in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "debug-recorder-db",
      "description": "DEBUG_RECORDER_DB",
      "password": true
    },
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fuzzy-threshold",
      "description": "FUZZY_THRESHOLD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "debug-recorder-redact-before-store",
      "description": "DEBUG_RECORDER_REDACT_BEFORE_STORE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "host",
      "description": "HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "port",
      "description": "PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "debug-recorder-http-token",
      "description": "DEBUG_RECORDER_HTTP_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "debug-recorder-allowed-hosts",
      "description": "DEBUG_RECORDER_ALLOWED_HOSTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "debug-recorder-allowed-origins",
      "description": "DEBUG_RECORDER_ALLOWED_ORIGINS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "debug-recorder-max-body-bytes",
      "description": "DEBUG_RECORDER_MAX_BODY_BYTES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "debug-recorder-remote-http",
      "description": "DEBUG_RECORDER_REMOTE_HTTP",
      "password": true
    }
  ],
  "servers": {
    "debug-recorder-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "debug-recorder-mcp"
      ],
      "env": {
        "DEBUG_RECORDER_DB": "${input:debug-recorder-db}",
        "LOG_LEVEL": "${input:log-level}",
        "FUZZY_THRESHOLD": "${input:fuzzy-threshold}",
        "DEBUG_RECORDER_REDACT_BEFORE_STORE": "${input:debug-recorder-redact-before-store}",
        "HOST": "${input:host}",
        "PORT": "${input:port}",
        "DEBUG_RECORDER_HTTP_TOKEN": "${input:debug-recorder-http-token}",
        "DEBUG_RECORDER_ALLOWED_HOSTS": "${input:debug-recorder-allowed-hosts}",
        "DEBUG_RECORDER_ALLOWED_ORIGINS": "${input:debug-recorder-allowed-origins}",
        "DEBUG_RECORDER_MAX_BODY_BYTES": "${input:debug-recorder-max-body-bytes}",
        "DEBUG_RECORDER_REMOTE_HTTP": "${input:debug-recorder-remote-http}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

MCP Debug Recorder in other clients