Provides a Model Context Protocol server for securely querying PostgreSQL databases with robust tools for data retrieval and schema inspection.
Sponsored
The Postgres server is a Model Context Protocol (MCP) implementation designed to provide a secure and efficient interface for interacting with PostgreSQL databases. It offers a suite of tools for executing safe SELECT queries, inspecting database schemas, and listing tables. Unlike some alternative MCP PostgreSQL servers, this Python-based solution emphasizes security with built-in SQL injection protection and includes connection pooling for improved performance and resource management, making it a reliable choice for integrating PostgreSQL data into MCP-compatible clients like Cursor IDE.
주요 기능
01Execute SELECT queries with SQL injection protection
02Built-in connection pooling via asyncpg
03Retrieve detailed table schema information and constraints
04Secure environment-based configuration for database credentials
050 GitHub stars
06List all accessible database tables
사용 사례
01Securely querying and retrieving data from PostgreSQL instances
02Integrating PostgreSQL databases with Model Context Protocol clients
03Programmatically inspecting PostgreSQL database schemas and table structures