What are the prerequisites to run MCP Postgres Server?
Docker and Docker Compose must be installed on your system.
@MadeByNando
Basic information
No overview available yet
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-postgres-server-madebynando": {
"command": "docker",
"args": [
"logs",
"mcp-postgres-server"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
MCP Postgres Server implements the Model Context Protocol (MCP) for Cursor, letting you use a PostgreSQL database as storage for model contexts. It is designed for developers who want to securely query and explore PostgreSQL databases directly from Cursor.
Clone the repository and start the server with Docker Compose (docker-compose up -d). Then configure a new MCP connection in Cursor (Settings > MCP) using the command docker exec -i mcp-postgres-server node dist/index.js.
postgres_query executes read-only SQL queries.postgres_list_tables lists all database tables.postgres_describe_table returns a table’s schema.Docker and Docker Compose must be installed on your system.
In Cursor, go to Settings > MCP, add a new connection with the command `docker exec -i mcp-postgres-server node dist/index.js`.
It exposes three tools: `postgres_query` (read-only SQL), `postgres_list_tables` (list all tables), and `postgres_describe_table` (describe a table’s schema).
Yes, `postgres_query` is explicitly read-only, so it cannot modify data.
Check the container logs with `docker logs mcp-postgres-server` or restart the server with `docker-compose restart`.
Zero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.

Local database MCP server: your agent sees a migration's impact before it runs, for PostgreSQL, MySQL, SQL Server and SQLite, with no database credentials.

Model Context Protocol Servers
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
Local MCP server for DuckDB and MotherDuck
Comments