60
/ 100
1 month ago
glama

MCP PostgreSQL Server

Enables secure read-only access to PostgreSQL databases, allowing users to list tables, query schemas, execute SELECT statements, and inspect table structures through natural language interactions.

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: 3 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.
🔐
You'll be asked for 2 credentials: DB_PASSWORD, POSTGRES_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies3 high

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

high@modelcontextprotocol/sdk@1.18.1GHSA-345p-7cg4-v4c7

@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse

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

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

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

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

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.
configDATABASE_URLAlternative using :
configDB_HOST"": "localhost",
configDB_NAME"": "your_database",
🔐 secretDB_PASSWORD"": "your_password",
configDB_PORT"": "5432",
configDB_READ_ONLYtrue # Optional: disables all write and DDL tools server-side
configDB_SSL_MODE"": "require"
configDB_STATEMENT_TIMEOUT30000 # Optional: query timeout in ms (default: 30000)
configDB_USER"": "postgres",
configPOSTGRES_DByour_database
configPOSTGRES_HOST
🔐 secretPOSTGRES_PASSWORDyour_password
configPOSTGRES_PORT
configPOSTGRES_SSL_MODErequire # Optional: require, disable, or omit for default
configPOSTGRES_USER
// 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 3 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/kristofer84-mcp-postgres-ddmaun)](https://m8ven.ai/mcp/kristofer84-mcp-postgres-ddmaun)
commit: 9fb1848f5aecda3c7cd512eb496dbb133bb44c2a
code hash: 279eefb3bc036e04f0e09d5cf7ae35f6afa6c3b04f7b4bca43d60d039c4b0e67
verified: 6/17/2026, 12:31:37 PM
view raw JSON →