Skip to content

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

@JHWang-1997

Description

@JHWang-1997

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions