69
/ 100
7 days ago
glama

postgres-mcp

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.

Is this your MCP?

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.

// key findings
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configDATABASE_URI"args": ["run", "-i", "--rm", "-e", "", "-e", "PG_MCP_ACCESS_MODE", "postgres-mcp"],
configDATABASE_URLDATABASE_URI — postgresql://user:pass@host:5432/db (also )
configPG_MCP_ACCESS_MODE"args": ["run", "-i", "--rm", "-e", "DATABASE_URI", "-e", "", "postgres-mcp"],
configPG_MCP_STATEMENT_TIMEOUT_MS15000 Per-statement timeout
configPG_MCP_MAX_ROWS1000 Hard cap on returned rows
configPG_MCP_POOL_MAX4 Max pooled connections
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 5 concrete improvements we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/gabriel-herencia-postgres-mcp-1oij82)](https://m8ven.ai/mcp/gabriel-herencia-postgres-mcp-1oij82)
commit: 3c6140d9e96b121ef181392af2522a173d3aeddb
code hash: 02b1852a667b97c97c1373a8d9fd8dfa2d5e71e2b05b5f3038b04c9343bd9549
verified: 6/21/2026, 10:32:54 AM
view raw JSON →