Files
java-ai-agents/mcp-stateless/output/08-sdk-modern-client.txt
T

24 lines
935 B
Plaintext

# The 2.2.0 modern SDK client against two 2026-07-28 instances behind round-robin
discover: supportedVersions=[2026-07-28] ttlMs=300000 cacheScope=PUBLIC
tools: [cancel_order, order_status]
order_status #1: order A-100 is PACKED (answered by instance M1)
order_status #2: order A-100 is PACKED (answered by instance M2)
order_status #3: order A-100 is PACKED (answered by instance M1)
order_status #4: order A-100 is PACKED (answered by instance M2)
cancel_order (the client answered the confirmation itself): order A-102 cancelled (answered by instance M2)
What the balancer saw, in order:
POST server/discover
POST tools/list
POST tools/call
POST tools/call
POST tools/call
POST tools/call
POST tools/call
POST tools/call
total requests: 8
# Same client and balancer, but the instances have no shared request-state-secret:
cancel_order: io.modelcontextprotocol.modern.McpException
Invalid or expired requestState