Add managed MCP support across SDKs - #2436
Draft
mattdholloway wants to merge 3 commits into
Draft
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mattdholloway
force-pushed
the
mattdholloway-managed-mcp-sdk
branch
from
August 28, 2026 10:01
fa950ff to
bf1592a
Compare
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1aa90135-4c64-4faa-8006-b5605338176a
Auto-committed by java-codegen-check workflow.
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.
Summary
managedMcpServerssession create/resume contract across Node.js, Python, Go, .NET, Rust, and Java.ttlMs, and the explicit broker-error result.Compatibility
This is additive. Existing
mcpServers, MCP OAuth handlers and storage, local stdio, SSE, arbitrary HTTP servers, static headers, and low-level RPC APIs remain unchanged. Managed catalog entries use a separate field so the runtime establishessource: "managed"provenance without changing transport semantics.The branch is merged with the current
mainbase and preserves upstream ask-user variants, runtime artifact resolution, and the generated contract changes introduced since the PR was opened.Validation
@github/copilot@1.0.83-0schemas plus the focused agent-runtime managed-MCP schema delta.Dependency and rollout
Depends on github/copilot-agent-runtime#17210 (
35f85a07ce50b547cb282036cae87096c92c3caf). The currently pinned@github/copilot@1.0.83-0package still does not contain this contract, so the repository's default package-based codegen freshness check remains externally blocked until a CLI package containing the runtime change is published. This PR does not bypass that limitation: its generated files use the canonical runtime schemas with only the managed-MCP nodes overlaid on the currently pinned package schema.Catalog implementation, token-broker implementation, and CLI rollout are intentionally out of scope.
Closes github/copilot-mcp-core#2140