Update latest protocol version to 2025-06-18#1036
Merged
Conversation
felixweinberger
approved these changes
Jun 26, 2025
cbcoutinho
added a commit
to cbcoutinho/python-sdk
that referenced
this pull request
Nov 13, 2025
This commit brings the URL mode elicitation implementation into full compliance with the SEP 1036 specification as defined in PR modelcontextprotocol#887 of the specification repository. Changes include: 1. Added elicitation completion notifications - New ElicitCompleteNotification type and parameters - send_elicit_complete() method in ServerSession - Handler in ClientSession for processing completion notifications - Servers can now notify clients when URL mode elicitations complete 2. Corrected error code to match specification - Changed from -32000 to -32042 per spec - Renamed ELICITATION_REQUIRED to URL_ELICITATION_REQUIRED - Error code now in MCP-specific range [-32000, -32099] 3. Added comprehensive test coverage - Test for completion notification sending and receiving - Test for correct error code value - All tests passing (13/13 elicitation tests) The implementation now supports all aspects of SEP 1036: - URL mode elicitation requests with proper parameters - Completion notifications for async workflows - Correct error handling with spec-compliant error codes - Full backward compatibility with form mode elicitation Github-Issue:modelcontextprotocol#1036
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All the features from the spec revision 2025-06-18 are done. Now it's time to update the latest protocol versoin
Closes 923