71
/ 100
10 days ago
glama

mcp-postgres

Enables AI agents to query and explore PostgreSQL databases with tools for executing SQL queries, listing tables, and describing table structures.

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.
🔐
You'll be asked for 1 credential: POSTGRES_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configPOSTGRES_HOSTlocalhost PostgreSQL host
configPOSTGRES_PORT5432 PostgreSQL port
configPOSTGRES_USERpostgres Database user
🔐 secretPOSTGRES_PASSWORDDatabase password
configPOSTGRES_DBpostgres Database name
configPOSTGRES_READONLYtrue Enforce read-only queries
configMCP_RESOURCES
configMCP_TRANSPORThttp Transport: http, stdio
configMCP_PORT8080 Server port (http only)
configMCP_HOST
configGIT_COMMIT_SHORT
// 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 4 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/mgcrea-mcp-postgres-3q487i)](https://m8ven.ai/mcp/mgcrea-mcp-postgres-3q487i)
commit: ec1379f13756321f3016b070c00eef8905943be9
code hash: 2f8cb9238ba681aa7d0c0f2c9c408c3becd36147c678751a15ca89d75d12c5ef
verified: 6/22/2026, 1:31:37 PM
view raw JSON →