Skip to content

Conversation

@mattt
Copy link
Contributor

@mattt mattt commented May 7, 2025

Resolves #106

@mattt mattt changed the title Implement client version negotiation in server initialization Implement client protocol version negotiation in server initialization May 7, 2025
@mattt
Copy link
Contributor Author

mattt commented May 7, 2025

Just tested this against real-world clients, and this fixed the issues I was running into previously. Merging this in now and cutting a new patch release. 1

Footnotes

  1. https://github.com/modelcontextprotocol/swift-sdk/pull/107/commits/eb683955c5a479e8b7d0d88ca8d0aaf4b7c73763 walks back a change that would otherwise make this a SemVer minor change. I intend to make these public in a follow-up

@mattt mattt merged commit 720a810 into main May 7, 2025
6 checks passed
@mattt mattt deleted the mattt/version-negotiation branch May 7, 2025 12:58
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.

Server doesn't negotiate protocol version with connecting clients

2 participants