I think I’m starting to see the potential.. So I could MPC cursor to my local Postgres (or, after some practice to build confidence, prod Postgres). Then use cursor to help debug.
This sounds risky but very useful if it works as intended!
Yes, I have used that workflow to fix a tricky data corruption issue earlier this week.
A buggy feature left DB in invalid state, I described the issue to Claude + Postgres MCP to both query the DB to analyze and then generate SQL scripts to fix, and validation and rollback scripts. Easy enough to do without the tooling... but with the tooling, it took probably a quarter or less of the time.
Example use case: https://news.ycombinator.com/item?id=43466434