Add mcp-stateless module: migrate an MCP server from the 2025 stateful protocol to 2026-07-28 on Spring AI 2.1.0

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4tJPXfq5UyiLSFr49
This commit is contained in:
Ankur
2026-11-22 02:18:48 +05:30
co-authored by Claude Sonnet 5.5
parent 3aa20a1dce
commit 26e0a3875a
34 changed files with 1922 additions and 0 deletions
@@ -0,0 +1,10 @@
# A 2025-era SDK client and a 2026-07-28 SDK client, one router URL, split on MCP-Protocol-Version
2025-era client: order A-101 is SHIPPED (answered by instance L1)
2026-07-28 client: order A-101 is SHIPPED (answered by instance M2)
What the router saw (HTTP method and Mcp-Method header; '-' means the header is absent):
1 x DELETE -
1 x GET -
3 x POST -
1 x POST tools/call
1 x POST tools/list