PgProd

•

Provides secure, read-only access to PostgreSQL databases via an SSH tunnel, enforcing query timeouts and connection pooling.

PgProd is a robust Model Context Protocol (MCP) server designed to offer secure, read-only access to PostgreSQL databases. It establishes connections through encrypted SSH tunnels, ensuring data privacy and integrity. The server enforces read-only transactions, implements efficient connection pooling, and includes a 15-second query timeout to prevent runaway operations. It provides a comprehensive suite of tools for querying, schema inspection, data analysis, and relationship discovery, making it ideal for controlled database interaction without risking data modification.

主要功能

010 GitHub stars
02Comprehensive tools for SQL querying, table listing, and schema description.
03Strict read-only transaction enforcement for all queries.
04Secure SSH Tunneling for encrypted database connections.
05Efficient database connection pooling and 15-second query timeouts.
06Robust shared SSH tunnel management with automatic reconnection.

使用案例

01Enabling safe schema inspection and data querying for developers on production environments.
02Integrating secure, limited database access into applications or services requiring data insights without write capabilities.
03Providing controlled, read-only access to PostgreSQL databases for analytical tools or reporting.