74
/ 100
1 month ago
glama

PostgreSQL MCP

Read-only MCP server for PostgreSQL, enabling schema discovery, table metadata, and safe SELECT queries via READ ONLY transactions.

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 critical
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
🔐
You'll be asked for 1 credential: MCP_API_KEY
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 critical

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

criticalvitest@3.0.0GHSA-5xrq-8626-4rwp

When Vitest UI server is listening, arbitrary file can be read and executed

criticalvitest@3.0.0GHSA-9crc-q9x8-hgqq

Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening

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_URLexport ="postgresql://mcp_reader:password@localhost:5432/devstrom"
configHOST/ MCP_HOST HTTP bind address (default 0.0.0.0)
🔐 secretMCP_API_KEYexport ="your-long-random-secret"
configMCP_HOSTHOST / HTTP bind address (default 0.0.0.0)
configMCP_HTTP_PATHHTTP MCP path (default /mcp)
configMCP_MAX_ROWSMax rows per query (default 100, max 1000)
configMCP_PORTPORT / HTTP port (default 3000)
configMCP_POSTGRES_URLAlias for DATABASE_URL
configMCP_TRANSPORTstdio (default) or http
configPORT/ MCP_PORT HTTP port (default 3000)
configPOSTGRES_URL
// 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/vallaksa-postgresql-mcp-140r6g)](https://m8ven.ai/mcp/vallaksa-postgresql-mcp-140r6g)
commit: 35d5bcc8990f66409179a3ff2e0f9513519a706d
code hash: 17a228264629f0716a371800ee4ee9d97948022fd6bd1fec01e62f4a9ba210b4
verified: 7/1/2026, 9:54:56 AM
view raw JSON →