postgres-mcp

postgres-mcp

3.3

If you are the rightful owner of postgres-mcp 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 Model Control Protocol (MCP) server implementation for PostgreSQL databases, providing a simple HTTP interface for read-only queries and resource exploration.

Postgres MCP is a research project that implements a Model Control Protocol (MCP) server for PostgreSQL databases. It offers a straightforward HTTP interface to interact with PostgreSQL databases, allowing users to execute read-only SQL queries and explore database resources. The server is built using the Go programming language and the Gin web framework, ensuring a robust and efficient implementation. The project supports configuration through environment variables, making it flexible and easy to set up. It is designed to be MCP-compliant, ensuring compatibility with other MCP tools and resources. The server is intended for developers and researchers who need a simple and effective way to interact with PostgreSQL databases using MCP.

Features

  • MCP-compliant HTTP server
  • Read-only SQL query execution
  • Database resource listing
  • Environment variable support through .env files
  • Built with Go and Gin web framework