fix(SEP-2663): specify -32003 error for missing client capability#2756
Open
LucaButBoring wants to merge 6 commits into
Open
fix(SEP-2663): specify -32003 error for missing client capability#2756LucaButBoring wants to merge 6 commits into
LucaButBoring wants to merge 6 commits into
Conversation
9 tasks
LucaButBoring
commented
May 22, 2026
Contributor
Author
|
Converted backwards-compatibility section into a matrix and moved the note about |
pja-ant
requested changes
May 26, 2026
Co-authored-by: Peter Alexander <pja@anthropic.com>
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.
Adds error-handling requirements to #2663 specify that
-32003is the correct error for servers to return when a server supports the Tasks extension and a client that does not declare the extension capability attempts to calltasks/get,tasks/update, ortasks/cancel- with an additional carveout for servers supporting both the extension and the2025-11-25version of tasks.The backwards-compatibility section has been converted into a matrix for readability.
Motivation and Context
Currently, the Tasks extension specification does not declare a specific error for servers to return if a client invokes a Task-related method without supporting the extension. It does declare that servers must return
-32003(Missing Required Client Capability) if they require a client to support receivingCreateTaskResult, but this does not imply any behavior regarding other task methods, liketasks/update.The current spec is ambiguous on this point, and both
-32601and-32003are reasonable errors to return in this scenario, but we will require-32003as it more accurately reflects the server's state.-32601would imply that it does not support Tasks at all, while-32003clarifies that the server does, but the client does not.How Has This Been Tested?
N/A
Breaking Changes
N/A
Types of changes
Checklist
Additional context
Identified in modelcontextprotocol/conformance#262 (comment)