AI projects Inference, tokens and infrastructure Unclear business value Demos that never reach a real user canceled by the end of 2027 Inadequate risk controls No permissions, audit or rollback Gartner, June 2025
public class RaceTools { 1 1 A regular class No base class to implement @McpServer(McpServer.DEFAULT) @McpServer("admin") @Tool(name = "get_race_state", description = "The current race: status, teams, distances") 2 The contract 2 What the model reads RaceState getRaceState() { return race.state(); } 3 @McpServer("admin") @Tool(name = "boost_team", description = "Secretly boosts or sabotages a team") Uni<String> boostTeam(int team, Double multiplier) { return game.sendModifier(team, multiplier); } } Guarded 3 Admin path checks token and role
To configure in this deployment MCP latency and errors Probe Scrape Input / output token counts Race ops Director + A2A clients Deployment Rollout and replica count CPU and memory limits Reconcile 1 replica Health gauge: last game call Inject Secrets + identity Model key Agents use SPIFFE identities
SPIFFE JWT-SVID Keycloak OIDC provider SPIFFE X.509 SVID LIFETIME 5 min Renewed every 60 seconds, mid-race included * SPIFFE client authentication is still a preview in Keycloak Analyst + Creative A2A over mTLS LIFETIME 1 hour