Read-only PostgreSQL MCP server that enables running SELECT queries, listing tables and schemas, and describing columns, with built-in protection against writes and malicious SQL attacks.
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
process.env. You'll be asked to provide them before it can run.PG_DATABASE— ✅ — Database namePG_HOST— ✅ — Server hostname or IPPG_PASSWORD— ✅ — PostgreSQL passwordPG_PORT— 5432 TCP portPG_SSH_HOST— Set to activate the tunnel. Authentication requires either a private key file or a password.PG_SSH_KEY_PASSPHRASE— Passphrase for the private key (if encrypted)PG_SSH_PASSWORD— ✅ or key — SSH password (used when no key file is provided)PG_SSH_PORT— 22 SSH server portPG_SSH_PRIVATE_KEY— ✅ or password — Path to private key file (e.g. ~/.ssh/id_rsa)PG_SSH_REMOTE_HOST— PG_HOST Postgres host as seen from the SSH serverPG_SSH_USER— ✅ (if tunnel) — SSH usernamePG_SSL— false Enable SSL (true/false)PG_SSL_REJECT_UNAUTHORIZED— true Reject self-signed certsPG_USER— ✅ — PostgreSQL username[](https://m8ven.ai/mcp/gbfeliped-mcp-postgres-readonly-j6raey)