Skip to content
VS Code

perf mcp for VS Code

io.github.perf-ai/perf-mcp

Fact-check and fix AI outputs. Hallucination detection, schema validation, auto-repair.

client:VS Code transport:stdio runtime:npm

Install perf mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "perf-api-key",
      "description": "PERF_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "perf-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "perf-mcp"
      ],
      "env": {
        "PERF_API_KEY": "${input:perf-api-key}"
      }
    }
  }
}

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

perf mcp in other clients