Repository navigation
Unify MCP and run integration grants with OAuth step-up - #407
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements GEN-2924.
OAuth MCP connections and vendor-authenticated runs now resolve to tenant-owned agent identities and share integration authorization and credential-injected forwarding. Tenant policies provide immediate baseline access, per-connection requestable access, and durable approval invalidation on disable or disconnect. MCP returns HTTP OAuth scope challenges before upstream requests, preserves narrowed token scopes, and supports identity-bound retained responses with reauthorized chunk reads and maintenance cleanup.
Adds owner policy controls, readable consent labels, individual connection revocation, documented REST contracts and generated client updates. Migration 0054 follows main's runtime-launch migration; existing VM URLs and streaming behavior are preserved.
Validation: the complete root suite is running against the rebased commit using the pinned validation image, Node 24.12.0, npm 11.19.0, and isolated local PostgreSQL. The new workerd/browser/OAuth/upstream/R2 acceptance scenario and focused grant tests passed during implementation. This PR will be marked ready after final validation.