Skip to content

Fix: Remove unsupported 2024-11-05 protocol version from Streamable HTTP transport#847

Open
rameshreddy-adutla wants to merge 1 commit intomodelcontextprotocol:mainfrom
rameshreddy-adutla:fix/750-streamable-protocol-version
Open

Fix: Remove unsupported 2024-11-05 protocol version from Streamable HTTP transport#847
rameshreddy-adutla wants to merge 1 commit intomodelcontextprotocol:mainfrom
rameshreddy-adutla:fix/750-streamable-protocol-version

Conversation

@rameshreddy-adutla
Copy link

Summary

Removes MCP_2024_11_05 from the protocolVersions() list in HttpServletStreamableServerTransportProvider.

Problem

The MCP 2024-11-05 protocol specification predates Streamable HTTP transport — it only defines stdio and SSE transports. As confirmed by @chemicL, listing it in the Streamable HTTP transport provider is incorrect since that transport cannot handle sessions initialized via the 2024-11-05 protocol.

Fix

Removed ProtocolVersions.MCP_2024_11_05 from the list, keeping only the versions that support Streamable HTTP:

  • 2025-03-26
  • 2025-06-18
  • 2025-11-25

The SSE transport provider (HttpServletSseServerTransportProvider) correctly lists only MCP_2024_11_05, so this fix aligns the transports with their respective protocol capabilities.

Fixes #750

…TTP transport

The MCP 2024-11-05 protocol predates the Streamable HTTP transport and
only defines stdio and SSE transports. Listing it in
HttpServletStreamableServerTransportProvider.protocolVersions() is
incorrect since the transport cannot actually handle sessions
initialized via that protocol version.

Fixes modelcontextprotocol#750

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

HttpServletStreamableServerTransportProvider does not implement protocol version 2024-11-05

1 participant