MCP directory
MP

Mcp Postgres

by github.com/dockndevai · v0.1.0 · updated Nov 23, 2026

PostgreSQL schema exploration, read-only SQL & governed changes for AI agents.

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @dockndevai/[email protected]

Environment variables

  • POSTGRES_URLrequiredsecret

    libpq connection string, e.g. postgresql://user:pass@host:5432/db (or use PGHOST/PGUSER/PGPASSWORD/PGDATABASE).

  • POSTGRES_MODE

    Access mode: read-only | read-write | admin.

  • POSTGRES_SCHEMA_ALLOWLIST

    Comma-separated schemas the agent may touch (empty = all).

More from github.com/dockndevai

More MCP servers