Say every MCP list is complete, so current clients accept it - #170
Merged
Conversation
Claude Code now speaks protocol revision 2026-07-28, which requires a
list result to carry resultType. The server already announces that
revision through server/discover, but answered tools/list and
resources/list without the field, so the client rejected both
("missing required resultType") and showed the server as connected
with no tools. Every list here is answered whole, so each one now says
resultType: 'complete'. A legacy client ignores the extra field.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JdYPdDEK8VXHzQKj8Ppp2g
ralyodio
marked this pull request as ready for review
September 3, 2026 16:36
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.
Why
Claude Code now speaks MCP protocol revision 2026-07-28, which requires a list result to carry
resultType. The server already announces that revision throughserver/discover, but answeredtools/listandresources/listwithout the field, so the client rejected both and/mcpshowed rssamplifier as connected · tools fetch failed. The client log:What
Every list this server answers is answered whole, so
tools/list,resources/list,resources/templates/listandprompts/listnow sayresultType: 'complete'. A legacy client ignores the extra field. A test covers all four.Verified
node --test test/mcp.test.jsin apps/web: 25 pass, 0 fail.resultType.🤖 Generated with Claude Code
https://claude.ai/code/session_01JdYPdDEK8VXHzQKj8Ppp2g