74
/ 100
1 month ago
glama

PostgreSQL MCP Server

An open-source MCP server for PostgreSQL schema introspection and guarded read-only queries. It enables MCP clients to discover schemas, tables, columns, indexes, relationships, and safe queryable data from a configured PostgreSQL database.

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.
// 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.4GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.0.4GHSA-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.
configCACHE_ENABLED
configCACHE_TTL
configDATABASE_URLpostgresql://app_user:app_user_password@localhost:5432/app_db
configDB_SCHEMAPostgreSQL schema support with defaulting to public
configLOG_FILE
configLOG_LEVEL
configQUERY_ACCESS_CONFIGTo enable execute_query, set SCHEMA_ONLY_MODE=false and provide .
// 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/eltonf-postgres-mcp-server-16bvr3)](https://m8ven.ai/mcp/eltonf-postgres-mcp-server-16bvr3)
commit: 3d6aa66314843bafdbd7fee7fd922d3c7d690beb
code hash: 74e265fff95f11a16583291f27ff569a5ed26782b4c24b8e54854ebda64c627d
verified: 6/18/2026, 10:46:11 AM
view raw JSON →