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,16 @@
# Two 2026-07-28 instances behind plain round-robin: no affinity, no handshake, no state to lose
# PART A: six tools/call, no initialize, no session id, one URL.
call 1 -> M1: 200 order A-102 is DELIVERED (answered by instance M1)
call 2 -> M2: 200 order A-102 is DELIVERED (answered by instance M2)
call 3 -> M1: 200 order A-102 is DELIVERED (answered by instance M1)
call 4 -> M2: 200 order A-102 is DELIVERED (answered by instance M2)
call 5 -> M1: 200 order A-102 is DELIVERED (answered by instance M1)
call 6 -> M2: 200 order A-102 is DELIVERED (answered by instance M2)
succeeded: 6 of 6
# PART B: M1 is stopped, as in a rolling deploy. The client changes nothing.
call 1 -> M2: 200 order A-102 is DELIVERED (answered by instance M2)
call 2 -> M2: 200 order A-102 is DELIVERED (answered by instance M2)
call 3 -> M2: 200 order A-102 is DELIVERED (answered by instance M2)
call 4 -> M2: 200 order A-102 is DELIVERED (answered by instance M2)
succeeded: 4 of 4