Skip to content
VS Code

pg checkup for VS Code

io.github.pgcheckup/pg-checkup

Read-only PostgreSQL checkups for your AI assistant. Lists what to fix, in order, with the SQL.

client:VS Code transport:stdio runtime:npm

Install pg checkup in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "database-url",
      "description": "DATABASE_URL",
      "password": true
    }
  ],
  "servers": {
    "pg-checkup": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pg-checkup-mcp"
      ],
      "env": {
        "DATABASE_URL": "${input:database-url}"
      }
    }
  }
}

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

pg checkup in other clients