mcp-postgres-server
0
The MCP Postgres Server is designed to implement the Model Context Protocol for the Cursor platform, utilizing a PostgreSQL database to store model contexts. It facilitates secure exploration and querying of the database.
MCP Postgres Server
This server implements the Model Context Protocol (MCP) for Cursor, allowing the use of a PostgreSQL database as storage for model contexts.
Prerequisites
- Docker
- Docker Compose
Installation and Start
- Clone this repository
- Start the server with Docker Compose
Configuration in Cursor
- Open Cursor
- Go to Settings > MCP
- Add a new connection with the specified settings
Server Features
The MCP PostgreSQL server exposes the following tools for Cursor:
- Execute read-only SQL queries
- List all tables in the database
- Describe the schema of a specific table