postgres-mcp-legacy
Provides tools for interacting with PostgreSQL databases, enabling management of database operations, queries, and schema manipulation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@postgres-mcp-legacylist all tables in the database"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⚠️ DEPRECATED - PostgreSQL MCP Server (Python)
This repository has been deprecated. Please use the new TypeScript version instead.
🔄 Migration
The PostgreSQL MCP Server has been completely rewritten in TypeScript with significant improvements:
Old (Python) | New (TypeScript) | |
Tools | 63 | 203 |
Resources | 10 | 20 |
Prompts | 10 | 19 |
Transport | stdio only | stdio + HTTP/SSE |
Auth | None | OAuth 2.1 |
Features | Basic | Code Mode, Tool Filtering |
Related MCP server: Simple PostgreSQL MCP Server
📦 New Repository
GitHub: https://github.com/neverinfamous/postgresql-mcp
Docker:
docker pull writenotenow/postgres-mcp:latestnpm:
npm install -g @neverinfamous/postgres-mcpMCP Registry: io.github.neverinfamous/postgres-mcp
⚠️ Notice
This repository will no longer receive updates
Security patches will NOT be applied
Please migrate to the new TypeScript version
For documentation and support, visit: https://github.com/neverinfamous/postgresql-mcp
Last Python version: v1.2.0 (December 2025)
This server cannot be deployed
Maintenance
Related MCP Connectors
- SupabaseOAuthcom.supabase
MCP server for interacting with the Supabase platform
Hosted MCP server for PostgreSQL diagnostics: slow queries, missing indexes, connection pressure.
The official MCP Server for the Mux API
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server implementation that provides a simple interface to interact with PostgreSQL databases, enabling SQL queries, database operations, and schema management through MCP.-
- AlicenseBqualityFmaintenanceA minimal MCP server that allows executing SQL queries on PostgreSQL databases with configurable read-only or write permissions.117 npm13MIT
- AlicenseNot gradedqualityFmaintenanceArchived MCP server for PostgreSQL health monitoring; functionality merged into pg-dash.MIT
- AlicenseNot gradedqualityDmaintenanceAn open-source MCP server for PostgreSQL schema introspection and guarded read-only queries. It enables MCP clients to discover schemas, tables, columns, indexes, relationships, and safe queryable data from a configured PostgreSQL database.6 npmMIT