Postgres
CreatedMadeByNando
Enables Cursor to utilize a PostgreSQL database for storing model contexts.
About
Postgres enables Cursor to leverage a PostgreSQL database as a storage solution for model contexts, using the Model Context Protocol (MCP). It exposes tools for running SQL queries, listing database tables, and describing table schemas, allowing Cursor to explore and securely query the database. The server is designed for easy setup using Docker and Docker Compose.
Key Features
- Provides `postgres_list_tables` tool to list all database tables
- Offers `postgres_describe_table` tool to obtain specific table schemas
- Exposes `postgres_query` tool for read-only SQL queries
- 0 GitHub stars
Use Cases
- Exploring PostgreSQL database structure and data directly within Cursor
- Executing safe SQL queries from Cursor against a PostgreSQL database
- Using PostgreSQL as the backend database for Cursor model context storage