PostgreSQL MCP Server
The official PostgreSQL MCP Server connects LLM agents like Claude Desktop and Cursor directly to your PostgreSQL database instances. It provides tools for read-only schema inspection, table metadata discovery, and controlled query execution with strict safety boundaries.
MCP Architecture & Specifications
| Protocol Specification | Model Context Protocol (MCP v1.0) |
| Transport Architecture | stdio (Standard Input/Output) / SSE |
| Supported AI Clients | Claude DesktopCursorZedAntigravity |
| Repository | github.com/modelcontextprotocol/servers/tree/main/src/postgres |
| License | MIT |
| Execution Sandbox | Isolated local subprocess with explicit tool call permission gating |
| Security Verification | MCP Schema & Protocol Audited |
Claude Desktop & Cursor Configuration
claude_desktop_config.json{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
}
}
}Exposed Tools & Capabilities
4 Verified CapabilitiesVerified User Reviews & Ratings
Authentic community ratings calculated dynamically across security, workflow, and pricing.
Based on 0 verified reviews & research benchmarks
Similar MCP Servers & AI Plugins
Extend agent capabilities with verified Model Context Protocol tools
Semgrep SAST MCP Plugin
MCP ProtocolScans codebases for OWASP Top 10 vulnerabilities, leaked secrets, and unsafe cryptography directly from AI chat sessions.
SecurityHeaders MCP Server
MCP ProtocolMCP server connecting Claude and ChatGPT to analyze CSP headers, HSTS enforcement, and TLS configuration audits in real time.
Filesystem MCP Server
MITProvides AI agents with scoped file read, write, directory search, and tree traversal within designated folders.