72
/ 100
13 days ago
glama

mcp-postgres

Read-only PostgreSQL MCP server that enables running SELECT queries, listing tables and schemas, and describing columns, with built-in protection against writes and malicious SQL attacks.

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.
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 3 credentials: PG_PASSWORD, PG_SSH_PASSWORD, PG_SSH_PRIVATE_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 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.0.0GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.0.0GHSA-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.
configPG_DATABASE✅ — Database name
configPG_HOST✅ — Server hostname or IP
🔐 secretPG_PASSWORD✅ — PostgreSQL password
configPG_PORT5432 TCP port
configPG_SSH_HOSTSet to activate the tunnel. Authentication requires either a private key file or a password.
configPG_SSH_KEY_PASSPHRASEPassphrase for the private key (if encrypted)
🔐 secretPG_SSH_PASSWORD✅ or key — SSH password (used when no key file is provided)
configPG_SSH_PORT22 SSH server port
🔐 secretPG_SSH_PRIVATE_KEY✅ or password — Path to private key file (e.g. ~/.ssh/id_rsa)
configPG_SSH_REMOTE_HOSTPG_HOST Postgres host as seen from the SSH server
configPG_SSH_USER✅ (if tunnel) — SSH username
configPG_SSLfalse Enable SSL (true/false)
configPG_SSL_REJECT_UNAUTHORIZEDtrue Reject self-signed certs
configPG_USER✅ — PostgreSQL username
// 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/gbfeliped-mcp-postgres-readonly-j6raey)](https://m8ven.ai/mcp/gbfeliped-mcp-postgres-readonly-j6raey)
commit: 5bbdd74582fddea89b9f44bfc5f775182c0397ff
code hash: 3cc6577047bb98b260ab642ae7b558371060f2cfb09a6ba458cf16f857eaeae9
verified: 6/19/2026, 10:57:59 AM
view raw JSON →