chore: retire xmcp runtime surface - #5994
Conversation
|
|
Running ultrareview automatically — This cross-cutting 62-file refactor retires the /x/mcp runtime surface and touches OAuth, consent, token, and authn-challenge flows plus cached-state validation; a missed route reference or stale-state edge case could break MCP authentication and hosted serving.. I'll post findings when complete. |
7a8f31b to
c276b63
Compare
There was a problem hiding this comment.
Ultrareview completed in 9m 47s
All reported issues were addressed
Heads up: you’re close to your included review allowance. Set a flex budget so reviews don’t pause.
Reply with feedback, questions, or to request a fix.
Fix all with cubic | Re-trigger cubic
c276b63 to
53e3899
Compare
Linear: AIM-10
Summary
server/internal/xmcppackage and remove its server registration/x/mcpruntime, OAuth, callback, install, and well-known routes without redirects/mcp/{slug}the sole hosted surface in route telemetry, security checks, OAuth state, generated API descriptions, and remote-session registrationMotivation
/mcp/{slug}now serves every MCP backend throughmcp_endpoints, so the experimental parallel runtime is redundant. Removing it also eliminates the legacy toolset fallback exposed through its OAuth handlers and prevents new clients or cached flows from continuing on the retired surface.Summary by cubic
Retires the experimental
/x/mcpruntime surface for AIM-10, making/mcp/{slug}the sole hosted MCP path. The old runtime, OAuth, callback, install, and well-known routes now return 404 without redirects.server/internal/xmcppackage and removes its server registration.Written for commit 53e3899. Summary will update on new commits.