java-sdk/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dariusz Jędrzejczyk 95df67ec05 Fix non-OK HTTP POST responses handling (#374)
Currently, JDK HttpClient SSE implementation incorrectly handles a
non-2xx HTTP response code for POST. Instead of immediately failing the
caller, it ignores the issue and the user awaits until the timeout kicks
in.

Set HttpClient to use HTTP/1.1 version explicitly for tests

A related problem happened with the WebClient Streamable HTTP
implementation, where the error was swallowed for non-400 responses.

Signed-off-by: Dariusz Jędrzejczyk <dariusz.jedrzejczyk@broadcom.com>
2025-07-11 08:21:01 +02:00
..
src Fix non-OK HTTP POST responses handling (#374) 2025-07-11 08:21:01 +02:00
pom.xml feat: implement Streamable HTTP HttpClient transport and improve error handling (#337) 2025-07-03 21:55:02 +02:00
README.md clean the Readme 2025-02-13 20:44:34 +01:00

Java MCP SDK

Java SDK implementation of the Model Context Protocol, enabling seamless integration with language models and AI tools. For comprehensive guides and API documentation, visit the MCP Java SDK Reference Documentation.