MCP Postgres
io.github.dockndevai/mcp-postgres
v0.1.0Updated Nov 23, 2026stdio · npm
PostgreSQL schema exploration, read-only SQL & governed changes for AI agents.
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add mcp-postgres -e 'POSTGRES_URL=<your-postgres-url>' -- npx -y @dockndevai/[email protected]Configuration
3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
POSTGRES_URLEnv var· required· secretlibpq connection string, e.g. postgresql://user:pass@host:5432/db (or use PGHOST/PGUSER/PGPASSWORD/PGDATABASE).POSTGRES_MODEEnv var· optionalAccess mode: read-only | read-write | admin.POSTGRES_SCHEMA_ALLOWLISTEnv var· optionalComma-separated schemas the agent may touch (empty = all).
Links
Listed in the official MCP Registry since Nov 23, 2026. Mirrored daily; last checked Nov 26, 2026.