Skip to content

v0.10.0

Latest
Compare
Choose a tag to compare
@tzolov tzolov released this 13 May 02:19
· 5 commits to main since this release

MCP Java SDK Release Notes

Features

  • URI Template Support (PR #208): Added URI template functionality for MCP resources, allowing dynamic resource URIs with variables in the format {variableName}. This enables:

    • More flexible resource definitions
    • Automatic extraction of variable values from request URIs
    • Validation of template arguments in completions
    • Matching of request URIs against templates
  • Completion Feature (PR #173): Added support for the completion feature according to the MCP specification, enabling auto-completion suggestions in client applications.

  • JSON Schema Improvements (PR #146): Added support for $defs and definitions properties in JsonSchema record to handle JSON Schema references properly, enabling more complex schema structures with reusable components.

  • Server Instructions Access (PR #148): Enabled the MCP Client to read the Server instructions, exposing optional instruction data defined in the MCP specification.

Bug Fixes

  • Context Propagation (PR #154): Fixed context propagation to transport, ensuring reactor context is properly propagated up to the transport layer.
  • Code Cleanup (PR #228): Removed temporary delegate implementation from McpAsyncServer that was left after deprecation.
  • Error Messages (PR #171): Fixed "method not found" error message for server, improving error reporting.
  • Documentation (PR #149): Fixed javadoc errors for improved API documentation.

Contributors

We'd like to thank the following contributors for their work on this release: