Revert "Serve MCP spec 2026-07-28 and consolidate onto SDK v2" (#1611) - #1690
Merged
Conversation
Reverts 0b1739b. Restores the SDK v1 stack and the Cloudflare Agents McpAgent bridge for /mcp. Dependent work is reverted with it, since it patched code that only exists under the v2 stack: the dead-session negative cache (#1627) and its tests, and the standalone-listener/keepalive changes (#1622, #1629, #1632) that live in the deleted v2 modules. Kept on top of the revert: the passthrough proxies at the Worker entry (#1678), version stamping and dispatch spans (#1664), and MCP request tracing, rewired through traceCloudMcpRequest since the v1 handler takes no traceRequest option. Dependencies: agents is pinned to 0.17.3 so patchedDependencies applies (a floating ^0.17.3 resolved to 0.17.4 and silently dropped the patch). bun.lock is reconciled from main rather than reverted wholesale, which otherwise split ajv across 8.18/8.20 and broke codemode-core typecheck.
Contributor
Cloudflare previewTorn down — the PR is closed. |
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.
No description provided.