FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update latest protocol version to 2025-06-18 by ihrpr · Pull Request #1036 · modelcontextprotocol/python-sdk · GitHub

Update latest protocol version to 2025-06-18 - #1036

Merged
ihrpr merged 1 commit into
mainfrom
ihrpr/spec-rev-2025-06-18
Jun 26, 2025
Merged

Update latest protocol version to 2025-06-18#1036
ihrpr merged 1 commit into
mainfrom
ihrpr/spec-rev-2025-06-18

Conversation

ihrpr commented Jun 26, 2025

Copy link
Copy Markdown
Contributor

All the features from the spec revision 2025-06-18 are done. Now it's time to update the latest protocol versoin

Closes 923

ihrpr requested a review from dsp-ant June 26, 2025 08:47
ihrpr merged commit 4b65963 into main Jun 26, 2025
ihrpr deleted the ihrpr/spec-rev-2025-06-18 branch June 26, 2025 09:02
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update latest version in SDK

2 participants


Back | FazBrowse Home | New Git URL