@yawlabs/postgres-mcp - a maintained Postgres MCP server, since Anthropic's reference one is deprecated (and has an unpatched SQLi) (opens in new tab)
Read-only-by-default MCP server for PostgreSQL. Query, introspect schemas, explain plans, health checks. - YawLabs/postgres-mcp
Read the original article