Home › Databases & Data › pgwarden
pgwarden
Give AI assistants access to Postgres with per-user permissions and human approval for writes.
Connect
Review any command before running it. Package names and URLs come from the server's own registry entry.
Package (oci)
Package: oci ghcr.io/b0yko/pgwarden:0.1.1
PGWARDEN_CONFIGrequired — Path to pgwarden.yaml inside the container.PGWARDEN_TARGET_DSNrequired — Target Postgres 16+ DSN: host, port and database, no user or password.PGWARDEN_STATE_DSNrequired secret — State database DSN, connecting as the pgwarden_app role that `pgwarden db init` creates.PGWARDEN_ROLE_SECRET_FILErequired — File with the secret that derives each login role's SCRAM password.PGWARDEN_SIGNING_KEY_FILErequired — File with the Ed25519 key that signs access tokens.PGWARDEN_SESSION_SECRET_FILErequired — File with the browser session secret.PGWARDEN_OIDC_CLIENT_SECRET_FILErequired — File with the client secret your identity provider issued for pgwarden.
This server takes extra arguments — see its repository.
Related servers
metabase/metabase
Lets AI clients search, explore, query, and visualize data in a Metabase instance.
context-mode
Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in…
dbx
Query databases from AI agents using connections configured in DBX.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
convex-backend
Convex database integration to introspect tables and functions and run one-off queries.
instant
Create, manage, and update applications on InstantDB, the modern Firebase.
Data from the Official MCP Registry