PG Pool

•

Manage connections to multiple PostgreSQL databases from a single Model Context Protocol (MCP) server.

PG Pool streamlines your workflow by allowing you to define and access all your PostgreSQL database connections through a single Model Context Protocol (MCP) server. Instead of configuring a separate MCP entry for each database, you can consolidate all your connection details in one configuration file, enabling easy querying of any database by name without restarts or config juggling. It offers features like lazy connection pooling, read-only transaction defaults, query timeouts, and environment variable interpolation for secure credential management.

Key Features

01Lazy connection pooling for efficient resource use
02Environment variable interpolation for secure configuration
03Read-only transactions by default for safety
04One MCP server for multiple PostgreSQL databases
05Configurable query timeouts to prevent long-running queries
060 GitHub stars

Use Cases

01Managing development, staging, and production databases from a single interface
02Securely handling database credentials using environment variables
03Switching between different project databases without reconfiguring the MCP server