feat(mcp): add dual-era 2026-07-28 transport support - #1562
Draft
Schreezer wants to merge 2 commits into
Draft
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.
Summary
executeandskillsImplementation
@modelcontextprotocol/sdkv1 for the existing legacy server and MCP Apps surfaceclient,core, andserverpackages only at the migration seamscreateMcpHandler(..., { legacy: "reject" })for the modern pathMCP_2026_07_28_ENABLED=falseas an inbound-only rollback switch; modern discovery returns a non-5xx protocol error so v2 auto negotiation can fall back to legacyReview loop
The same review sub-agent reviewed and re-reviewed the implementation through four rounds:
Verification
bun run lintbun run format:check@executor-js/host-mcp: typecheck and full package tests from the original implementation pass; focused envelope suite 12/12 after review fixes@executor-js/plugin-mcp: typecheck and 128 tests, 29 skipped live-server cases@executor-js/cloudflare: typecheck and full package tests from the original implementation pass; focused Durable Object suite 14/14 after review fixesinput_required, and real v2-client rollback fallback to legacyThe workspace-wide typecheck is currently blocked in the untouched
@executor-js/integrations-registrypackage by missing Node type declarations. The workspace-wide test run reached 30 successful packages before the MCP Apps browser suite failed because/usr/bin/google-chromeis unavailable in the environment.Current draft boundary
executeandskillssurfaceReferences