Skip to content

Conversation

CodeWithKyrian
Copy link
Contributor

Changes

  • Protocol version negotiation: Server now responds with client's requested version if supported, otherwise falls back to latest version
  • Session storage: Store negotiated protocol version in session for future use
  • Test coverage: Added test cases for both supported and unsupported version scenarios

Fixes #34

- Server now responds with client's requested version if supported
- Falls back to latest version only when client requests unsupported version
- Follows MCP specification for version negotiation correctly
- Add test cases for both supported and unsupported version scenarios

Fixes issue where server always responded with latest version regardless of client request
@CodeWithKyrian CodeWithKyrian linked an issue Jun 26, 2025 that may be closed by this pull request
@CodeWithKyrian CodeWithKyrian merged commit 6d1b138 into main Jun 26, 2025
8 checks passed
@CodeWithKyrian CodeWithKyrian deleted the 34-version-negotiation-is-wrongly-implemented branch June 26, 2025 08:42
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.

Version negotiation is wrongly implemented
1 participant