Your Agent Shouldn't Log in as You: Identity for MCP in Backstage
summary
Backstage ships scoped short‑lived MCP tokens but many teams still hand agents static admin creds; the talk demonstrates three concrete modes: ungated user token passthrough, user‑permission checks per resource, and agent‑own‑identity with scoped, revocable grants. Implementation uses Backstage 1.56, OIDC/OAuth 2.1, an MCP actions backend, a custom retirement plugin and a simulated token exchange (RFC 8693) because native support is missing. Demo shows the custom exchange works, produces auditable records, prevents the prompt‑injection case from deleting the payments API (see Backstage issue 34617).
AI-written summary · about
chapters (12)
- 0:00Introduction and speakers
- 1:23What is an agent
- 3:07MCP identity problem
- 6:56Why agent identity matters
- 9:07Three identity problems
- 11:59Backstage identity primitives
- 15:10Three execution modes
- 19:04Demo: Ungated lab
- 21:10Demo: User permission
- 22:35Demo: Agent identity
- 24:44Backstage today and future
- 25:13Q&A
