74
/ 100
17 days ago
glama

postgres-mcp-readonly

A secure, read-only PostgreSQL MCP server that provides safe database introspection and querying capabilities.

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.
configAUDIT_LOG✗ false Set to true to write JSON audit events to stderr
configDATABASE_URLexport ="postgres://user:password@localhost:5432/dbname"
configDATABASE_URLSConditional - Multiple PostgreSQL URLs as alias=url pairs or JSON
configDEFAULT_DATABASE✗ default Default alias used when tool input omits database
configMAX_ROWS✗ 500 Default maximum rows returned
configMAX_STATEMENTS✗ 10 Maximum semicolon-separated statements per multi-statement tool call
configSTATEMENT_TIMEOUT_MS"": "5000",
// 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/mahin1995-postgres-mcp-readonly-1kxgz4)](https://m8ven.ai/mcp/mahin1995-postgres-mcp-readonly-1kxgz4)
commit: 4f253f750043b0771cba1b0e077da817a39c2ea0
code hash: d1951ea7c65cd394bd68158830f8d56e5d740b056f9b7783abb280288034bd4f
verified: 6/23/2026, 10:34:39 AM
view raw JSON →