pgwarden
Give AI assistants access to Postgres with per-user permissions and human approval for writes.
The current version, v0.1.1, was published to the official MCP registry on 2026-11-21. It is distributed as the Docker image ghcr.io/b0yko/pgwarden:0.1.1, filed under Databases by this index, and declares 7 environment variables. Removals and unreachable sources are measured across every server this index tracks, contract drift across the servers that answer in consecutive snapshots; the index's current counts put this record in context.
Using pgwarden in Claude, Cursor, Gemini CLI, Cline, or Zed?
MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).
Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less
uv tool install mcpindex-gate && mcpindex-config-wireVerdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands. The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.
Own this server? Test a description on the public screen → It is a separate check from the verdict above, so the two can differ.
That verdict was true at screening time (snapshot 2026-11-26).
Contracts can change after screening, with no version bump. The gate pins pgwarden’s tool contracts on first sight and holds any silent change before your agent acts - the check that keeps being true on Tuesday.
See your first HOLD in 2 minutes →
Related: how to trust an MCP server · screen before install · silent contract drift
PGWARDEN_CONFIGPath to pgwarden.yaml inside the container.
PGWARDEN_TARGET_DSNTarget Postgres 16+ DSN: host, port and database, no user or password.
PGWARDEN_STATE_DSNState database DSN, connecting as the pgwarden_app role that `pgwarden db init` creates.
PGWARDEN_ROLE_SECRET_FILEFile with the secret that derives each login role's SCRAM password.
PGWARDEN_SIGNING_KEY_FILEFile with the Ed25519 key that signs access tokens.
PGWARDEN_SESSION_SECRET_FILEFile with the browser session secret.
PGWARDEN_OIDC_CLIENT_SECRET_FILEFile with the client secret your identity provider issued for pgwarden.
Browse, query, and administer your managed WaveHouse + ClickHouse projects (schema, pipes, policy).
Paste an error from a Supabase, Lovable or Bolt app and get the matching step-by-step fix guide.
Persistent, verified, cross-session memory for AI agents. 26 tools. SQLite + sync.