Enables AI assistants to query PostgreSQL databases, inspect schemas, and retrieve complete DDL with built-in read-only protection. It supports multiple database connections and allows for secure database interaction and exploration via the Model Context Protocol.
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.DATABASE_URL— "": "postgres://user:pass@localhost:5432/mydb"PGDATABASE— With DATABASE_URL or PGHOST/ set, the server auto-connects as "default" on startup.PGHOST— With DATABASE_URL or /PGDATABASE set, the server auto-connects as "default" on startup.PG_MCP_READ_ONLY— Set =false in env to allow write operations (read-only by default).[](https://m8ven.ai/mcp/shedyhs-pg-mcp-if75u6)