89
/ 100
11 days ago
npm

HenkDz/postgresql-mcp-server

A Model Context Protocol (MCP) server that provides comprehensive PostgreSQL database management capabilities for AI assistants

HenkDz/postgresql-mcp-server· npm: @henkey/postgres-mcp-server· listed on npm
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: 1 critical
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
// known CVEs in dependencies1 critical

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

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

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

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.
configPOSTGRES_CONNECTION_STRINGexport ="postgresql://user:pass@localhost:5432/db"
configPOSTGRES_MCP_AUDIT_FILE/path/to/postgres-mcp-audit.jsonl
configPOSTGRES_MCP_CONNECTION_TIMEOUT_MS
configPOSTGRES_MCP_DEBUG_SQLtrue to opt into verbose pg-monitor SQL tracing. This may log raw SQL and bind values, so leave it disabled unless you are debugging a trusted local database.
configPOSTGRES_MCP_IDLE_IN_TRANSACTION_SESSION_TIMEOUT_MS
configPOSTGRES_MCP_IDLE_TIMEOUT_MS
configPOSTGRES_MCP_INTEGRATION_CONNECTION_STRING
configPOSTGRES_MCP_LOCK_TIMEOUT_MS
configPOSTGRES_MCP_MAX_CONNECTIONS
configPOSTGRES_MCP_MAX_FILE_BYTES
configPOSTGRES_MCP_QUERY_TIMEOUT_MS
configPOSTGRES_MCP_STATEMENT_TIMEOUT_MS
configPOSTGRES_MCP_WORKSPACE_DIR/path/to/mcp-workspace
// 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 4 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/npm-https-github-com-henkdz-postgresql-mcp-server)](https://m8ven.ai/mcp/npm-https-github-com-henkdz-postgresql-mcp-server)
commit: 366a98f942422166b92496f728b66a9e90c1ff40
code hash: 57e35593b5a820dee00cd25ba87e96a8a265ba6e322848293e2ef8f0a6d1a87f
verified: 7/20/2026, 9:29:10 AM
view raw JSON →