72
/ 100
23 days ago
glama

mcp-server-postgres

Provides a secure, schema-aware PostgreSQL database agent for LLMs, enabling natural language queries and validated SQL execution with strong security guardrails.

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
⚠️
Known vulnerabilities in dependencies: 2 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
// known CVEs in dependencies2 high1 low

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@0.6.0GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@0.6.0GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

lowuuid@9.0.1GHSA-w5hq-g745-h8pq

uuid: Missing buffer bounds check in v3/v5/v6 when buf is provided

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configAUDIT_LOG_PATH
configDATABASE_URLPrimary PostgreSQL DSN Required
configDB_POOL_MAX
configDB_POOL_MIN
configDEFAULT_SCHEMA
configLOG_LEVEL
configMASKED_COLUMNSComma-separated list of columns to redact null
configMAX_ROWSHard upper limit for result pages 100
configPERMISSION_TIERREAD_ONLY \ READ_WRITE \ DDL_ALLOWED \ ADMIN READ_ONLY
configREAD_REPLICA_URLOptional replica DSN for read routing null
configSLOW_QUERY_THRESHOLD_MSWarning threshold for latency 500
// 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/ismail-2001-mcp-server-postgres-f5div9)](https://m8ven.ai/mcp/ismail-2001-mcp-server-postgres-f5div9)
commit: 2f5e9bdf8fe7149a54e52b17db8cd7fdd39b2c24
code hash: 4d2eeb05aefb99074f3d0435b8e459db984a13c14b18543c13fdc2f0a57994a9
verified: 6/11/2026, 11:58:09 AM
view raw JSON →