Blog
Giving AI agents safe access to Postgres.
Notes from the team building Midplane. RSS feed
MCP server-postgres is deprecated: what to use instead
@modelcontextprotocol/server-postgres is archived, deprecated on npm, and its read-only mode can be escaped. What each alternative enforces, and how to switch.
sql_safe_updates for Postgres: UPDATE and DELETE need WHERE
Postgres has no sql_safe_updates. What pg-safeupdate, triggers and a gateway each stop when UPDATE or DELETE has no WHERE, tested on Postgres 17.