This PostgreSQL MCP server enables AI assistants to interact with PostgreSQL databases through SQL queries. Built with Node.js and the Model Context Protocol SDK, it provides tools for listing database tables, retrieving schema information, and executing custom SQL queries with retry logic for improved reliability. The implementation includes robust error handling, connection pooling, and flexible configuration options that support both environment variables and shell config files for database credentials. It's particularly useful for data analysis, database exploration, and executing complex queries directly from AI workflows.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Execute SQL queries with retry logic.