Skip to content
Verified official

pgwarden MCP

v0.1.1

io.github.b0yko/pgwarden

Give AI assistants access to Postgres with per-user permissions and human approval for writes.

transport:stdio runtime:oci

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add pgwarden -e PGWARDEN_CONFIG=<PGWARDEN_CONFIG> -e PGWARDEN_TARGET_DSN=<PGWARDEN_TARGET_DSN> -e PGWARDEN_STATE_DSN=<PGWARDEN_STATE_DSN> -e PGWARDEN_ROLE_SECRET_FILE=<PGWARDEN_ROLE_SECRET_FILE> -e PGWARDEN_SIGNING_KEY_FILE=<PGWARDEN_SIGNING_KEY_FILE> -e PGWARDEN_SESSION_SECRET_FILE=<PGWARDEN_SESSION_SECRET_FILE> -e PGWARDEN_OIDC_CLIENT_SECRET_FILE=<PGWARDEN_OIDC_CLIENT_SECRET_FILE> -- docker run -i --rm ghcr.io/b0yko/pgwarden:0.1.1

setup guides: Claude Code Claude Desktop Cursor VS Code Zed Windsurf Cline Gemini CLI Grok LangChain

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.