60
/ 100
1 month ago
glama

mcp-postgresql

A production-oriented MCP server for PostgreSQL that exposes database operations like query execution, schema introspection, and table metadata to MCP clients such as Claude Desktop and VS Code.

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 1 credential: 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.12.0GHSA-345p-7cg4-v4c7

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

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

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.12.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.
configPGDATABASE(or POSTGRES_DB) No postgres Default database
configPGHOST(or POSTGRES_HOST) No localhost PostgreSQL host or IP
configPGPASSWORD(or POSTGRES_PASSWORD) Yes — Database password
configPGPOOL_IDLE_TIMEOUT_MSNo 30000 Pool idle timeout (ms)
configPGPOOL_MAXNo 10 Max pool connections
configPGPORT(or POSTGRES_PORT) No 5432 PostgreSQL TCP port
configPGSSL(or POSTGRES_SSL) No false Enables SSL/TLS
configPGUSER(or POSTGRES_USER) Yes — Database user
configPOSTGRES_DBPGDATABASE (or ) No postgres Default database
configPOSTGRES_HOSTPGHOST (or ) No localhost PostgreSQL host or IP
🔐 secretPOSTGRES_PASSWORDPGPASSWORD (or ) Yes — Database password
configPOSTGRES_PORTPGPORT (or ) No 5432 PostgreSQL TCP port
configPOSTGRES_SSLPGSSL (or ) No false Enables SSL/TLS
configPOSTGRES_USERPGUSER (or ) Yes — Database 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 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/ferronicardoso-mcp-postgresql-183tg0)](https://m8ven.ai/mcp/ferronicardoso-mcp-postgresql-183tg0)
commit: d2d8ad46e53e8b4ede3d9bbb9d7d21f68c31e2d9
code hash: 6fdae32f29f678a5a33ca96045cb419b32e5a5cfc0047db4d0106ef5c5e63798
verified: 7/1/2026, 10:01:11 AM
view raw JSON →