modelcontextprotocol/java-sdk

In streamable mode, a tool on my MCP server responds with SSE streams, and the MCP client only handles the first SSE event.

Opened this issue · 0 comments

Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested.

Expected Behavior

When my MCP server tool responds to consecutive events, the MCP client should correctly receive all events

Current Behavior

In streamable mode, a tool on my MCP server responds with SSE streams, and the MCP client only handles the first SSE event.

Context
openjdk version: 21.0.2
mcp sdk: 0.12.0

HttpClientStreamableHttpTransport