java-sdk/mcp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jordan Zimmerman a14ef425d6 If a handler throws McpError, use its values for the RPC error
Handlers should be able to throw RPC errors and `McpError` is the
right exception for that.

Improve `DefaultMcpStatelessServerHandler` error handler to check if the
exception is `McpError` and, if so, use it to build the RPC error
result instead of re-writing as `INTERNAL_ERROR`.
2025-08-08 10:20:53 +02:00
..
src If a handler throws McpError, use its values for the RPC error 2025-08-08 10:20:53 +02:00
pom.xml Next development version 2025-07-31 03:34: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.