Skip to content
VS Code

SelfHeal MCP for VS Code

io.github.carsonroell-debug/selfheal-mcp

Self-healing proxy for MCP servers with retry, circuit breaker, and observability

client:VS Code transport:stdio runtime:npm

Install SelfHeal MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "selfheal-config",
      "description": "SELFHEAL_CONFIG",
      "password": true
    },
    {
      "type": "promptString",
      "id": "selfheal-max-retries",
      "description": "SELFHEAL_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "selfheal-circuit-threshold",
      "description": "SELFHEAL_CIRCUIT_THRESHOLD",
      "password": true
    }
  ],
  "servers": {
    "selfheal-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "selfheal-mcp"
      ],
      "env": {
        "SELFHEAL_CONFIG": "${input:selfheal-config}",
        "SELFHEAL_MAX_RETRIES": "${input:selfheal-max-retries}",
        "SELFHEAL_CIRCUIT_THRESHOLD": "${input:selfheal-circuit-threshold}"
      }
    }
  }
}

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

SelfHeal MCP in other clients