Skip to content
Cline

pgwarden for Cline

io.github.b0yko/pgwarden

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

client:Cline transport:stdio runtime:oci

Install pgwarden in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

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

{
  "mcpServers": {
    "pgwarden": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/b0yko/pgwarden:0.1.1"
      ],
      "env": {
        "PGWARDEN_CONFIG": "<PGWARDEN_CONFIG>",
        "PGWARDEN_TARGET_DSN": "<PGWARDEN_TARGET_DSN>",
        "PGWARDEN_STATE_DSN": "<PGWARDEN_STATE_DSN>",
        "PGWARDEN_ROLE_SECRET_FILE": "<PGWARDEN_ROLE_SECRET_FILE>",
        "PGWARDEN_SIGNING_KEY_FILE": "<PGWARDEN_SIGNING_KEY_FILE>",
        "PGWARDEN_SESSION_SECRET_FILE": "<PGWARDEN_SESSION_SECRET_FILE>",
        "PGWARDEN_OIDC_CLIENT_SECRET_FILE": "<PGWARDEN_OIDC_CLIENT_SECRET_FILE>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

pgwarden in other clients