Postgres Mcp

PostgreSQL MCP server - query, schema introspection, explain, and health checks for AI assistants

LLM Mart 3 views 167 listing impressions

User SQL runs inside a BEGIN READ ONLY transaction by default, blocking writes to the database; writes only become possible when ALLOW_WRITES=1 is set. It is read-only by default, with writes opt-in via a single environment variable, so an agent cannot silently drop tables. The server sends all user SQL over the extended query protocol, restricting each request to a single statement and closing the stacked-query injection class found in the deprecated reference server.

It is licensed under the MIT license and published on npm. The server is intended for anyone pointing an agent at a Postgres database and wanting it to be a daily driver rather than a demo.

Summary drafted from the project's own website. Every sentence is backed by text on that page and was reviewed before publishing.

Related servers

Universal MCP Server with advanced AI memory capabilities and semantic search.

30 views

Let Codex orchestrate external coding agents through their native harnesses.

28 views

Portable, vendor-neutral home for agent skills, MCP servers, personas, and memory.

28 views

MCP server for MikroTik routers: firewall, NAT, routing, DHCP, DNS, WireGuard and more via SSH.

28 views