Humans type use postgres. Agents call the same verb and get the same locator back. Then they use psql.
Install the CLI, run use login, then add the server to Cursor, Claude Code, or anything that speaks MCP.
That writes ~/.cursor/mcp.json. Or paste this yourself:
If a tool says you are not signed in, run use login.
Mint tools return a locator. Prefer a name for anything that should persist. Destroy is permanent.
whoamiSigned-in email and teampostgresUnnamed database, postgres:// locatornew_postgresNamed database, idempotent on (team, name)list_postgresNames for this teamdestroy_postgresDrop a named databaseredisUnnamed instance, rediss:// locatornew_redisNamed instance, idempotent on (team, name)list_redisNames for this teamdestroy_redisDrop a named instance