Can Your Agent Execute Anything? Authorization for Backstage MCP Actions
summary
Backstage currently exposes its actions registry over MCP so AI agents and IDEs can invoke any exposed action; authentication work (CIMD/DCR and Device Authorization) is advancing but authorization remains uncontrolled, letting any authenticated agent run whatever the user can, including destructive calls. The proposed fix adds an execute permission separate from visibility, registry-enforced checks, token changes to carry client_id scope and audience across hops, and policy rules that list writable agents plus scope checks, designed to fail-closed on destructive ones and integrate with Backstage permissions; the design is a sketch and not yet upstream.
AI-written summary · about
