pgsql-mcp-server

pgsql-mcp-server

3.2

If you are the rightful owner of pgsql-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A powerful tool server based on the Model Context Protocol (MCP), enabling interaction with PostgreSQL databases via MCP calls.

The PgSQL MCP Server is a robust server solution built on the FastMCP framework, designed to facilitate seamless interaction with PostgreSQL databases through MCP calls. It leverages the power of SQLAlchemy and asyncpg libraries to provide high-performance asynchronous database operations. This ensures that database requests are handled efficiently and responsively. The server is designed to be easily deployable and supports transactional safety, ensuring that all database operations are executed within transactions with proper error handling and rollback mechanisms.

Features

  • Asynchronous & Efficient: Fully asynchronous implementation based on asyncio, utilizing asyncpg for a high-performance asynchronous PostgreSQL driver.
  • Transactional Safety: DDL, DML, and DCL operations are executed within transactions with error handling and rollback mechanisms.
  • Easy Deployment: Start the server with a simple command line interface.