mcp-postgres

mcp-postgres

3.1

If you are the rightful owner of mcp-postgres 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 Context Protocol (MCP) server that provides PostgreSQL database operations through MCP tools.

The MCP PostgreSQL Server is a robust server designed to facilitate database operations using the Model Context Protocol (MCP). It leverages PostgreSQL for database management and utilizes Prisma for type-safe database operations. The server is built with TypeScript, ensuring type safety and reliability. It supports CRUD operations for User and Post entities, making it a versatile tool for managing database interactions. The server is designed to be MCP-compatible, providing a seamless interface for MCP tools. This makes it an ideal choice for developers looking to integrate MCP technology with PostgreSQL databases.

Features

  • CRUD operations for User and Post entities
  • Type-safe database operations using Prisma
  • MCP-compatible tool interface
  • Built with TypeScript for type safety

Tools

  1. getData

    Retrieve user data from PostgreSQL

  2. addUserData

    Add new users to the database

  3. deleteUserData

    Delete a user by ID, email, or name

  4. updateUserData

    Update user information