Skip to content
VS Code

prinfer for VS Code

io.github.clockblocker/prinfer

TypeScript inferred types, completions and type errors for AI coding agents

client:VS Code transport:stdio runtime:npm

Install prinfer in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "prinfer-backend",
      "description": "PRINFER_BACKEND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "prinfer-include-timing",
      "description": "PRINFER_INCLUDE_TIMING",
      "password": true
    }
  ],
  "servers": {
    "prinfer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "prinfer"
      ],
      "env": {
        "PRINFER_BACKEND": "${input:prinfer-backend}",
        "PRINFER_INCLUDE_TIMING": "${input:prinfer-include-timing}"
      }
    }
  }
}

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

prinfer in other clients