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.
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.
Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
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
Kysely: JSON-path traversal injection via unsanitized path-leg metacharacters in `JSONPathBuilder.key()` / `.at()`
SQL Injection via unsanitized JSON path keys when ignoring/silencing compilation errors or using `Kysely<any>`.
process.env. You'll be asked to provide them before it can run.ALLOW_DDLDB_CONNECTION_TIMEOUTDB_HOST— "": "127.0.0.1",DB_IDLE_TIMEOUTDB_NAME— "": "your_database_name",DB_PASSWORD— your_password_hereDB_POOL_MAXDB_PORT— "": "5432",DB_QUERY_TIMEOUTDB_SSL— "": "true"DB_SSL_ALLOW_SELF_SIGNEDDB_SSL_CA_CERTDB_SSL_REJECT_UNAUTHORIZEDDB_USER— "": "postgres",DEFAULT_PAGE_SIZE— 100 Default page size when not specifiedMAX_PAGE_SIZE— 500 Maximum rows per pageREAD_ONLY— Security: Parameterized queries prevent SQL injection, mode by default[](https://m8ven.ai/mcp/abiswas97-postgres-mcp-1ns9tf)