✨ Feature Request: Java Stream HTTP Support for MCP SDK

Expected Behavior

It would be great if the MCP SDK could provide support for the Java version of the Stream HTTP interface, similar to the functionality already available in other language SDKs.

For example:

StreamResponse response = mcpClient.stream(request);
response.onData(chunk -> handleChunk(chunk));

This would allow Java developers to work with real-time streaming responses naturally and efficiently in AI-driven applications.

Current Behavior

The MCP Java SDK currently does not support Stream HTTP interfaces.

As a result, Java developers cannot receive partial or incremental outputs from MCP in real time.

Developers must resort to polling or waiting for full responses, which leads to:

⏱️ Increased latency

🛠️ More complex implementation logic

❌ Poorer user experience compared to other platforms (e.g., Node.js, Python)

Context

We are building real-time AI applications using MCP in a Java backend environment. Typical use cases include:

🗨️ Intelligent chat agents with real-time streaming replies

🎙️ Voice recognition or speech-to-text transcription

📊 Real-time data analysis or content recommendation

For these use cases, streaming responses are essential to ensure fast feedback, responsiveness, and low latency. Without Java SDK support for Stream HTTP:

We are forced to use workarounds such as polling

These approaches introduce unnecessary complexity and degrade performance

There's an inconsistency across language SDKs, creating platform fragmentation

Request

Is Stream HTTP support for Java on the MCP SDK roadmap?

If yes, is there any estimated release schedule or beta version available?

We would appreciate your consideration of this feature. It would greatly improve the developer experience and make real-time use cases more accessible in Java.

Thanks for your support!

Comment From: ilayaperumalg

@ityangs Are you referring to Streamable HTTP at MCP?

If so, Streamable HTTP support in MCP Java SDK is in progress.

MCP Client side transport implementation for Streamable HTTP transport is already available via https://github.com/modelcontextprotocol/java-sdk/pull/337

MCP server side transport implementation for Streamable HTTP transport is in progress.