pgmoat for VS Code
io.github.kitalon-labs-llc/pgmoat
Governed, read-only Postgres access for AI agents: SQL safety, RLS, budgets, tamper-evident audit.
client:VS Code
transport:stdio
runtime:npm
Install pgmoat in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "pgmoat-database-url",
"description": "PGMOAT_DATABASE_URL",
"password": true
}
],
"servers": {
"pgmoat": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pgmoat"
],
"env": {
"PGMOAT_DATABASE_URL": "${input:pgmoat-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