Neon's official MCP server lets an agent list projects, create branches, inspect schema, run SQL and explain slow queries. Neon branches are cheap copies, which is what makes its migration tools safe: the change is prepared on a temporary branch and only applied to the main one after you confirm.
This setup uses Neon's hosted endpoint with readonly set in the URL. You sign in through OAuth in the browser, so no key goes into the config. In read-only mode each query runs in a read-only transaction and the transaction and migration tools are not offered. Take the readonly parameter out of the URL once you are ready for the agent to make changes.