Detect protected branch
Either with the MCP server or neon CLI, I need to detect if a branch is protected. I'm using cursor hooks to prevent certain actions from being taken on protected branches. Currently, I have to manually list the protected branches. I would like MCP or CLI support to dynamically detect protection status and block actions accordingly.
https://cursor.com/docs/agent/hooks
https://cursor.com/docs/agent/hooks
