MCP Postgres Server
@MCP-Mirror
About MCP Postgres Server
Mirror of
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"MadeByNando_mcp-postgres-server": {
"command": "docker",
"args": [
"logs",
"mcp-postgres-server"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Postgres Server?
This server implements the Model Context Protocol (MCP) for Cursor, using a PostgreSQL database as storage for model contexts. It is intended for developers who need to query and explore PostgreSQL databases directly from Cursor.
How to use MCP Postgres Server?
Clone the repository and start the server with Docker Compose using docker-compose up -d. Then configure a new MCP connection in Cursor settings with type command and command docker exec -i mcp-postgres-server node dist/index.js. Troubleshoot by checking container logs with docker logs mcp-postgres-server or restarting with docker-compose restart.
Key features of MCP Postgres Server
postgres_query– execute read‑only SQL queriespostgres_list_tables– list all tables in the databasepostgres_describe_table– get the schema of a specific table- Docker & Docker Compose based setup
- Integrates with Cursor’s MCP settings
Use cases of MCP Postgres Server
- Querying a PostgreSQL database directly from Cursor during development
- Exploring database schemas without leaving the editor
- Listing tables and describing table structures for code generation
- Running read‑only SQL checks as part of an MCP‑powered workflow
FAQ from MCP Postgres Server
What are the prerequisites?
Docker and Docker Compose must be installed on your system.
How do I start the server?
Clone the repository and run docker-compose up -d to start the container.
How do I configure it in Cursor?
Go to Cursor Settings > MCP, add a new connection with name “MCP Postgres Server”, type “command”, and command docker exec -i mcp-postgres-server node dist/index.js.
How do I troubleshoot if the server fails?
Check the container logs with docker logs mcp-postgres-server or restart the service with docker-compose restart.
What tools does the server expose?
It exposes three tools: postgres_query, postgres_list_tables, and postgres_describe_table.
More Databases MCP servers
Neon MCP Server
neondatabaseMCP server for interacting with Neon Management API and databases
Sail MCP Server for Spark SQL
lakehqDrop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
Elasticsearch/OpenSearch MCP Server
cr7258A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
Multi Database MCP Server
FreePeakA powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
Comments