Skip to content

Conversation

kapunga
Copy link

@kapunga kapunga commented Sep 6, 2025

Great library! I am super excited to start making use of it. I did run into a problem that I was able to fix here that works locally. Claude Code does not always send the listChanged field during the handshake. This can prevent a server built with this library to fail during startup. I made this field optional and defaulted to false.

Here is the original error from Claude Code:

[DEBUG] MCP server "deckbuilder-mcp-shell": Connection failed after 521ms: MCP error -32700: DecodingFailure at .capabilities.roots.listChanged: Missing required field

Claude Code does not always send the `listChanged` field during the
handshake. This can prevent a server built with this library to fail
during startup.
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.

1 participant