关于
This Go-based server implements the Model Context Protocol (MCP) to provide secure and efficient access to PostgreSQL databases specifically for AI agents. It offers versatile operation through both `stdio` and HTTP server modes, catering to diverse integration needs. Emphasizing robust control and security, the server includes features like read-only mode to prevent unintended data modifications, query validation, and efficient connection pooling. Further customization is available via configurable limits on returned rows, request timeouts, and overall request size, making it an ideal solution for managing AI interactions with your PostgreSQL data.
主要功能
- Supports multiple operational modes: stdio and HTTP server
- Enhanced security with read-only mode and query validation
- Efficient PostgreSQL connection pooling
- Configurable limits for rows, timeouts, and request size controls
- 0 GitHub stars
使用案例
- Enabling AI agents to query PostgreSQL databases securely
- Providing read-only access for large language models (LLMs) to structured data
- Integrating PostgreSQL data with AI applications via a standardized protocol