PostgreSQL MCP server
Run SQL against a Postgres database.
What it does
Read-only if you use a read-only DB user — do that. A write-capable URL lets the model DROP TABLE.
Install
Typical Claude Desktop / Cursor command:
npx -y @modelcontextprotocol/server-postgres postgresql://user:pass@localhost/db
Secrets it wants: DATABASE_URL in the connection string
Works with
Claude Desktop, Cursor, Windsurf — any host that can launch a local MCP stdio server.