Skip to content

chore(mcp): remove support for extension protocol v1#41857

Open
yury-s wants to merge 1 commit into
microsoft:mainfrom
yury-s:remove-extension-protocol-v1
Open

chore(mcp): remove support for extension protocol v1#41857
yury-s wants to merge 1 commit into
microsoft:mainfrom
yury-s:remove-extension-protocol-v1

Conversation

@yury-s

@yury-s yury-s commented Jul 17, 2026

Copy link
Copy Markdown
Member

All clients use protocol v2 by now. Remove the v1 handlers on both the relay and the extension side and collapse the abstractions that only existed to support two protocol versions:

  • Relay: drop ExtensionProtocolV1 and the ExtensionProtocolHandler interface, always use ExtensionProtocolV2.
  • Extension: fold the v2 protocol handler into RelayConnection, drop the eager (v1) pending connection path and the protocolVersion plumbing. The connect page now rejects clients requesting protocol version < 2.

All clients use protocol v2 by now. Remove the v1 handlers on both the
relay and the extension side and collapse the abstractions that only
existed to support two protocol versions:

- Relay: drop ExtensionProtocolV1 and the ExtensionProtocolHandler
  interface, always use ExtensionProtocolV2.
- Extension: fold the v2 protocol handler into RelayConnection, drop
  the eager (v1) pending connection path and the protocolVersion
  plumbing. The connect page now rejects clients requesting protocol
  version < 2.
@github-actions

Copy link
Copy Markdown
Contributor

Test results for "MCP"

7760 passed, 1249 skipped


Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants