pgwarden
by github.com/B0yko · v0.1.1 · updated Nov 21, 2026
Give AI assistants access to Postgres with per-user permissions and human approval for writes.
Run it locally
Install the package and point your AI client at it.
Docker
docker run -i --rm ghcr.io/b0yko/pgwarden:0.1.1Environment variables
PGWARDEN_CONFIGrequiredPath to pgwarden.yaml inside the container.
PGWARDEN_TARGET_DSNrequiredTarget Postgres 16+ DSN: host, port and database, no user or password.
PGWARDEN_STATE_DSNrequiredsecretState database DSN, connecting as the pgwarden_app role that `pgwarden db init` creates.
PGWARDEN_ROLE_SECRET_FILErequiredFile with the secret that derives each login role's SCRAM password.
PGWARDEN_SIGNING_KEY_FILErequiredFile with the Ed25519 key that signs access tokens.
PGWARDEN_SESSION_SECRET_FILErequiredFile with the browser session secret.
PGWARDEN_OIDC_CLIENT_SECRET_FILErequiredFile with the client secret your identity provider issued for pgwarden.
More MCP servers
B2BHint MCP Server
github.com/B2BHint
Search and resolve companies/officers in B2BHint's global registry data. Requires a paid API key.
B4n1Web
github.com/B4N1-com
Ultra-lightweight browser engine for AI agents. 33 MCP tools, 4 SDKs, cross-platform.
Maxential Thinking Mcp
github.com/BAM-DevCrew
11 focused tools for structured thinking, branching, revision, and navigation.
Witnessed
github.com/BARRYPMARSHALL
Signed, reproducible market facts for agents, verifiable without trust.
Total Recall
github.com/BAS-More
Persistent, verified, cross-session memory for AI agents. 26 tools. SQLite + sync.
Solumbe
github.com/BASHBOP
Deterministic local repository context, impact analysis, and merge-readiness evidence for AI agents.