Commit 9949657c authored by Christian Tzolov's avatar Christian Tzolov
Browse files

fix: add backward compatibility for MCP servers returning older protocol versions



- Add ProtocolVersions interface with version constants
- Change protocolVersion() to protocolVersions() returning List<String>
- Streamable HTTP clients now support both 2024-11-05 and 2025-03-26
- Fixes compatibility with MCP servers that return 2024-11-05 instead of 2025-03-26

Resolves #436
Related to #438

Signed-off-by: default avatarChristian Tzolov <christian.tzolov@broadcom.com>
parent 5681f1ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment