Commit 1f347a3
Fix: Remove unsupported 2024-11-05 protocol version from Streamable HTTP 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 #750
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 26304a7 commit 1f347a3
File tree
1 file changed
+2
-2
lines changed- mcp-core/src/main/java/io/modelcontextprotocol/server/transport
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | | - | |
172 | | - | |
| 171 | + | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
0 commit comments