A self-hostable PostgreSQL MCP server for exploring database schemas and running guarded read/write queries with selectable access modes (readonly, readwrite, admin), plus a dry-run confirm workflow for safety.
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find.
Install from
M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.
process.env. You'll be asked to provide them before it can run.DATABASE_URI— "args": ["run", "-i", "--rm", "-e", "", "-e", "PG_MCP_ACCESS_MODE", "postgres-mcp"],DATABASE_URL— DATABASE_URI — postgresql://user:pass@host:5432/db (also )PG_MCP_ACCESS_MODE— "args": ["run", "-i", "--rm", "-e", "DATABASE_URI", "-e", "", "postgres-mcp"],PG_MCP_STATEMENT_TIMEOUT_MS— 15000 Per-statement timeoutPG_MCP_MAX_ROWS— 1000 Hard cap on returned rowsPG_MCP_POOL_MAX— 4 Max pooled connections[](https://m8ven.ai/mcp/gabriel-herencia-postgres-mcp-1oij82)