CodexSpot
P

PostgreSQL MCP Server

Enables AI assistants to query and manage PostgreSQL databases through MCP with read-only or read-write access modes.

stdioLocalNo Authnpm

What This Server Exposes

Tools

query · list_tables · describe_table · explain_query

Environment Variables

DATABASE_URL
PostgreSQL connection string
Required🔒 Secret
READ_ONLY
Set to true for read-only mode

Server Manifest

No official server.json manifest found. Generate one with our MCP server.json Generator →

Compatibility

Claude Desktop · Cursor · Cline

Safety Notes

Always use read-only mode in production. Never connect with superuser credentials. Use connection pooling for performance.

This listing is for informational purposes only. CodexSpot is not affiliated with PostgreSQL MCP Server.