MCP Postgres Server
@MCP-Mirror
About MCP Postgres Server
Mirror of
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.
Frequently asked questions
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`.
Basic information
More Databases MCP servers
Multi Database MCP Server
FreePeakA powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
mcp_mysql_server
xwb602625136Model Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
MCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB

nuzur
nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi
Elasticsearch/OpenSearch MCP Server
cr7258A Model Context Protocol (MCP) server implementation that provides Elasticsearch and OpenSearch interaction.
Comments