PostgreSQL Database
Enables secure, read-only access to PostgreSQL databases for AI assistants through the Model Context Protocol (MCP).
This tool acts as a secure Model Context Protocol (MCP) server, offering read-only access to PostgreSQL databases specifically for AI assistants. It ensures data integrity and operational safety by rejecting all write and DDL operations through parse-based protection, implementing per-transaction safeguards like statement and lock timeouts, and enforcing hard row caps. Designed for flexibility, it supports multiple connection environments (e.g., local, staging, production) with dedicated connection pools, allowing AI clients to query different database instances without server restarts. It also provides structured tools for listing tables, inspecting schemas, and running `SELECT`/`WITH` queries.