postgres-mcp-legacy
Provides tools for interacting with PostgreSQL databases, enabling management of database operations, queries, and schema manipulation.
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA 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.11613MIT
- Alicense-qualityFmaintenanceArchived MCP server for PostgreSQL health monitoring; functionality merged into pg-dash.MIT
- Alicense-qualityDmaintenanceAn 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.13MIT
Related MCP Connectors
MCP server for managing Prisma Postgres.
MCP server for interacting with the Supabase platform
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/neverinfamous/postgres-mcp-legacy'
If you have feedback or need assistance with the MCP directory API, please join our Discord server