Repository navigation
InitializeRequest doesn't accept non-empty Elicitation, violating 2025-11-25 spec #724
Description
Activity
- added a commit that references this issue
on Dec 13, 2025 Hello,
I don't know if it may help to have a scenario, but I experienced this error after trying in VSCode the McpStatelessAsyncServer through HTTP protocol.
CheersSame for me, VSCode appears to be using the new spec already, but servers using this SDK can't handle it.
In my case I was trying to include the SonarQube MCP server.
Reacted by He-Pin(kerr), Francesco Ansanelli and Uladzislau AI know that maybe the proper fix is to implement the newer spec, but in the meantime this problem is blocking. Any chance to get the fix upstream?
@overheadhunter SQ MCP Server developer here - I'll provide a fix for our next version, the JSON mapper should not fail on unknown properties.
Reacted by Duta AndreiReacted by Sebastian Stenzel- added a commit that references this issue
on Dec 20, 2025 I've opened a PR to address this: #731
I've opened a PR to address this: #731
do you want to add your changes to the existing PR? there has been some activity on it already.
Reacted by RohitI had missed your original PR. I'm not sure if I can merge mine to your PR, I will let maintainers decide
Can you get this fixed :) as its a huge blocker of our daily workflow. Thank you for the great work tool tho!
I'm not sure if I can merge mine to your PR, I will let maintainers decide
@rhtnr You can create a PR against this branch: https://github.com/overheadhunter/mcp-java-sdk/tree/fix-724. The combined changes should then show up on PR #725
- added a commit that references this issue
on Jan 7, 2026 @overheadhunter
I've opened a PR against your branch with additional field modeling forformandurl: overheadhunter#1This combines your
@JsonIgnorePropertiesapproach with explicit field support, giving us both future-proofing and proper parsing/serialization of the spec fields.Reacted by Sebastian StenzelI resolved this issue by using a servlet filter. (on spring-ai)
dependency: spring-ai-starter-mcp-server-webmvc:1.1.2
- added a commit that references this issue
on Jan 8, 2026 - added a commit that references this issue
on Jan 8, 2026 - added a commit that references this issue
on Jan 8, 2026 - added a commit that references this issue
on Jan 13, 2026 In which version this fix will be released?
nvm, github does not show the minor release with the fix in the main page of the project- added a commit that references this issue
on Jan 15, 2026 - added a commit that references this issue
on Jun 25, 2026
Bug description
An initialize request with
"capabilities":{"elicitation":{"form":{}}}causes this error:This violates the
2025-11-25spec.Environment
N/A
Steps to reproduce
run test shown below
Expected behavior
test succeeds
Minimal Complete Reproducible example