60
/ 100
1 month ago
glama

Postgres MCP Server

A Model Context Protocol (MCP) server that provides secure database access to PostgreSQL through Kysely ORM, enabling Claude Desktop to interact with PostgreSQL databases using natural language.

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: 5 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 1 credential: DB_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies5 high

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

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

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@0.6.0GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

highkysely@0.27.3GHSA-8cpq-38p9-67gx

Kysely has a MySQL SQL Injection via Insufficient Backslash Escaping in `sql.lit(string)` usage or similar methods that append string literal values into the compiled SQL strings

highkysely@0.27.3GHSA-pv5w-4p9q-p3v2

Kysely: JSON-path traversal injection via unsanitized path-leg metacharacters in `JSONPathBuilder.key()` / `.at()`

highkysely@0.27.3GHSA-wmrf-hv6w-mr66

SQL Injection via unsanitized JSON path keys when ignoring/silencing compilation errors or using `Kysely<any>`.

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.
configALLOW_DDL
configDB_CONNECTION_TIMEOUT
configDB_HOST"": "127.0.0.1",
configDB_IDLE_TIMEOUT
configDB_NAME"": "your_database_name",
🔐 secretDB_PASSWORDyour_password_here
configDB_POOL_MAX
configDB_PORT"": "5432",
configDB_QUERY_TIMEOUT
configDB_SSL"": "true"
configDB_SSL_ALLOW_SELF_SIGNED
configDB_SSL_CA_CERT
configDB_SSL_REJECT_UNAUTHORIZED
configDB_USER"": "postgres",
configDEFAULT_PAGE_SIZE100 Default page size when not specified
configMAX_PAGE_SIZE500 Maximum rows per page
configREAD_ONLYSecurity: Parameterized queries prevent SQL injection, mode by default
// 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/abiswas97-postgres-mcp-1ns9tf)](https://m8ven.ai/mcp/abiswas97-postgres-mcp-1ns9tf)
commit: 031512476bc5812bd28b282664b3b99180e5baa2
code hash: da7dea620ae659e2ac4690b2f85888599419e6e50c4c683cb5fafe2f98a14ccb
verified: 6/23/2026, 10:35:36 AM
view raw JSON →