Blog

Giving AI agents safe access to Postgres.

Notes from the team building Midplane. RSS feed

  1. 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.

  2. 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.

Get access

Which AI will query your database?

Pick all that apply (optional).

Where does your Postgres database run?

Pick one (optional).

We use your details only to reply. Privacy policy