Skip to content

Conversation

@ihrpr
Copy link
Contributor

@ihrpr ihrpr commented Jun 26, 2025

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 ihrpr requested a review from dsp-ant June 26, 2025 08:47
@ihrpr ihrpr merged commit 4b65963 into main Jun 26, 2025
20 of 21 checks passed
@ihrpr ihrpr deleted the ihrpr/spec-rev-2025-06-18 branch June 26, 2025 09:02
saqadri pushed a commit to saqadri/stdio-fixes that referenced this pull request Aug 6, 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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants