cosmic-mcp

All servers

pgwarden

io.github.B0yko/pgwarden · version 0.1.1

Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.

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

https://github.com/B0yko/pgwarden

Quick facts

  • Listing: Community
  • Published Nov 21, 09:47 UTC
  • Transport: streamable-http
  • Package: oci ghcr.io/b0yko/pgwarden:0.1.1
  • Listed by cosmic-mcp: Nov 23, 04:25 UTC
  • Repository: https://github.com/B0yko/pgwarden
  • Needs settings: PGWARDEN_CONFIG PGWARDEN_TARGET_DSN PGWARDEN_STATE_DSN PGWARDEN_ROLE_SECRET_FILE PGWARDEN_SIGNING_KEY_FILE PGWARDEN_SESSION_SECRET_FILE PGWARDEN_OIDC_CLIENT_SECRET_FILE

Databases

Setup snippets

Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.

Run it locally (oci)

docker run -i --rm -e 'PGWARDEN_CONFIG' -e 'PGWARDEN_OIDC_CLIENT_SECRET_FILE' -e 'PGWARDEN_ROLE_SECRET_FILE' -e 'PGWARDEN_SESSION_SECRET_FILE' -e 'PGWARDEN_SIGNING_KEY_FILE' -e 'PGWARDEN_STATE_DSN' -e 'PGWARDEN_TARGET_DSN' 'ghcr.io/b0yko/pgwarden:0.1.1'

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pgwarden": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PGWARDEN_CONFIG",
        "-e",
        "PGWARDEN_OIDC_CLIENT_SECRET_FILE",
        "-e",
        "PGWARDEN_ROLE_SECRET_FILE",
        "-e",
        "PGWARDEN_SESSION_SECRET_FILE",
        "-e",
        "PGWARDEN_SIGNING_KEY_FILE",
        "-e",
        "PGWARDEN_STATE_DSN",
        "-e",
        "PGWARDEN_TARGET_DSN",
        "ghcr.io/b0yko/pgwarden:0.1.1"
      ],
      "command": "docker",
      "env": {
        "PGWARDEN_CONFIG": "<your pgwarden config>",
        "PGWARDEN_OIDC_CLIENT_SECRET_FILE": "<your pgwarden oidc client secret file>",
        "PGWARDEN_ROLE_SECRET_FILE": "<your pgwarden role secret file>",
        "PGWARDEN_SESSION_SECRET_FILE": "<your pgwarden session secret file>",
        "PGWARDEN_SIGNING_KEY_FILE": "<your pgwarden signing key file>",
        "PGWARDEN_STATE_DSN": "<your pgwarden state dsn>",
        "PGWARDEN_TARGET_DSN": "<your pgwarden target dsn>"
      }
    }
  }
}

Claude Code

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

Cursor (.cursor/mcp.json)

{
  "mcpServers": {
    "pgwarden": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PGWARDEN_CONFIG",
        "-e",
        "PGWARDEN_OIDC_CLIENT_SECRET_FILE",
        "-e",
        "PGWARDEN_ROLE_SECRET_FILE",
        "-e",
        "PGWARDEN_SESSION_SECRET_FILE",
        "-e",
        "PGWARDEN_SIGNING_KEY_FILE",
        "-e",
        "PGWARDEN_STATE_DSN",
        "-e",
        "PGWARDEN_TARGET_DSN",
        "ghcr.io/b0yko/pgwarden:0.1.1"
      ],
      "command": "docker",
      "env": {
        "PGWARDEN_CONFIG": "<your pgwarden config>",
        "PGWARDEN_OIDC_CLIENT_SECRET_FILE": "<your pgwarden oidc client secret file>",
        "PGWARDEN_ROLE_SECRET_FILE": "<your pgwarden role secret file>",
        "PGWARDEN_SESSION_SECRET_FILE": "<your pgwarden session secret file>",
        "PGWARDEN_SIGNING_KEY_FILE": "<your pgwarden signing key file>",
        "PGWARDEN_STATE_DSN": "<your pgwarden state dsn>",
        "PGWARDEN_TARGET_DSN": "<your pgwarden target dsn>"
      }
    }
  }
}

VS Code (.vscode/mcp.json)

{
  "servers": {
    "pgwarden": {
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "PGWARDEN_CONFIG",
        "-e",
        "PGWARDEN_OIDC_CLIENT_SECRET_FILE",
        "-e",
        "PGWARDEN_ROLE_SECRET_FILE",
        "-e",
        "PGWARDEN_SESSION_SECRET_FILE",
        "-e",
        "PGWARDEN_SIGNING_KEY_FILE",
        "-e",
        "PGWARDEN_STATE_DSN",
        "-e",
        "PGWARDEN_TARGET_DSN",
        "ghcr.io/b0yko/pgwarden:0.1.1"
      ],
      "command": "docker",
      "env": {
        "PGWARDEN_CONFIG": "<your pgwarden config>",
        "PGWARDEN_OIDC_CLIENT_SECRET_FILE": "<your pgwarden oidc client secret file>",
        "PGWARDEN_ROLE_SECRET_FILE": "<your pgwarden role secret file>",
        "PGWARDEN_SESSION_SECRET_FILE": "<your pgwarden session secret file>",
        "PGWARDEN_SIGNING_KEY_FILE": "<your pgwarden signing key file>",
        "PGWARDEN_STATE_DSN": "<your pgwarden state dsn>",
        "PGWARDEN_TARGET_DSN": "<your pgwarden target dsn>"
      },
      "type": "stdio"
    }
  }
}

Related servers

  • Ekwo OS — open source accounting: ledger, invoices and VAT on your own Supabase or Postgres Verified domain
    Double-entry books an agent keeps as the user: invoices, VAT returns, 174 country packs.
  • dbmcp Verified domain
    Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
  • RoboSystems Verified domain
    The open-source knowledge graph for finance: your ledger and 8,000+ public companies' XBRL filings
  • Druks Verified domain
    Run, approve and inspect durable agent runs on your Druks Cloud instance.
  • spotdb Verified domain
    Ephemeral data sandbox for AI workflows with guardrails and security
  • Counterparts Verified domain
    Local-first memory for AI: it interprets, forgets on purpose, and keeps a self across sessions.