Skip to content

Releases: codeboyzhou/mcp-declarative-java-sdk

v0.9.0

13 Nov 13:08

Choose a tag to compare

Features

  • Enhance i18n support with configurable resource bundle base name.
  • Change default metadata values to use name attribute instead of Not specified.
  • Add profile support for multi-environments development.
  • Refactor configuration loading and validation.
  • Add builder pattern support for configuration record classes.
  • Add subscribe-resource capability support in McpServerCapabilities.
  • Add getDefault() methods for configuration record classes.
  • Add prompt and resource completion support with annotations and server components.

Dependencies

  • Update official MCP Java SDK from 0.14.0 to 0.16.0

Full Changelog

v0.8.6...v0.9.0

v0.8.6

08 Oct 16:08

Choose a tag to compare

Bug Fixes

  • Mcp tools params type is Number will error. (#8)
  • Mcp tools params type is double or Double will error. (#8)

Features

  • Add support for outputSchema and structuredContent in MCP tools. (#9)

Full Changelog

v0.8.5...v0.8.6

v0.8.5

05 Oct 07:42

Choose a tag to compare

Dependencies

  • Update official MCP Java SDK from 0.13.1 to 0.14.0
  • Update org.junit.jupiter:junit-jupiter from 5.13.4 to 6.0.0

Full Changelog

v0.8.4...v0.8.5

v0.8.4

27 Sep 03:53

Choose a tag to compare

Docs

  • Add Java doc for all classes

Dependencies

  • Update official MCP Java SDK from 0.13.0 to 0.13.1
  • Update org.jetbrains:annotations from 26.0.2 to 26.0.2-1
  • Update org.eclipse.jetty.ee10:jetty-ee10-servlet from 12.1.0 to 12.1.1
  • Update org.mockito:mockito-core from 5.19.0 to 5.20.0

Full Changelog

v0.8.3...v0.8.4

v0.8.3

21 Sep 13:24

Choose a tag to compare

Enhancement

  • IllegalArgumentException: object is not an instance of declaring class (when split the tool methods into different classes) (#7)

Dependencies

  • Update official MCP Java SDK from 0.12.1 to 0.13.0

Full Changelog

v0.8.2...v0.8.3

v0.8.2

18 Sep 15:48

Choose a tag to compare

Bug Fix

  • Tools calls are getting mixed up (Streamable Http). Wrong tool method is invoked. (#5)

Enhancement

  • NullPointerException for tools that return void. (#6)

Dependencies

  • Update official MCP Java SDK from 0.11.3 to 0.12.1

Full Changelog

v0.8.1...v0.8.2

v0.8.1

29 Aug 05:44

Choose a tag to compare

What's Changed

  • Update official MCP Java SDK version to 0.11.3 for integrating some bug fixes.

Full Changelog

v0.8.0...v0.8.1

v0.8.0

27 Aug 14:12

Choose a tag to compare

Feature

  • Add default mcp-server configuration file with streamable settings.

Dependencies

  • Update org.jetbrains:annotations from 24.0.0 to 26.0.2
  • Update com.google.inject:guice from 6.0.0 to 7.0.0
  • Update com.fasterxml.jackson.dataformat:jackson-dataformat-yaml from 2.18.3 to 2.19.2
  • Update org.eclipse.jetty.ee10:jetty-ee10-servlet from 12.0.18 to 12.1.0
  • Update org.junit.jupiter:junit-jupiter from 5.10.2 to 5.13.4
  • Update org.mockito:mockito-core from 5.18.0 to 5.19.0

Breaking Changes

Warning

The deprecated APIs in v0.7.0 have been removed in this version, new APIs are recommended to use.
Also see https://github.com/codeboyzhou/mcp-declarative-java-sdk/releases/tag/v0.7.0 for more details.

Deprecated & Removed

@Deprecated(since = "0.8.0", forRemoval = true)
public @interface McpResources {}
@Deprecated(since = "0.8.0", forRemoval = true)
public @interface McpPrompts {}
@Deprecated(since = "0.8.0", forRemoval = true)
public @interface McpTools {}

Full Changelog

v0.7.0...v0.8.0

v0.7.0

16 Aug 05:28

Choose a tag to compare

Features

  • Add support for Streamable HTTP server.
  • Add SpotBugs plugin for static code analysis.

Dependencies

  • Update native MCP Java SDK from 0.11.1 to 0.11.2

Breaking Changes

Warning

The deprecated APIs in v0.6.0 have been removed in this version, new APIs are recommended to use.
Also see https://github.com/codeboyzhou/mcp-declarative-java-sdk/releases/tag/v0.6.0 for more details.

Deprecated

public record McpServerConfiguration(
    @Deprecated(since = "0.7.0", forRemoval = true)
    @JsonProperty("stdio") boolean stdio // use new field `mode` instead
)

Full Changelog

v0.6.0...v0.7.0

v0.6.0

09 Aug 18:05

Choose a tag to compare

Features

  • Introduce google-java-format to unify code style.
  • Add project documents and site powered by Material for MkDocs.
  • Add title attribute to MCP prompt, resource and tool specifications.
  • Introduce McpI18nEnabled annotation to enable/disable i18n support.
  • Introduce McpServerApplication annotation to replace McpComponentScan annotation.

Dependencies

  • Add spotless-maven-plugin 2.46.1
  • Add maven-compiler-plugin 3.14.0
  • Update native MCP Java SDK from 0.10.0 to 0.11.1

Breaking Changes

Warning

The deprecated APIs in v0.5.0 have been removed in this version, new APIs are recommended to use.
Also see https://github.com/codeboyzhou/mcp-declarative-java-sdk/releases/tag/v0.5.0 for more details.

Deprecated

@Deprecated(since = "0.6.0", forRemoval = true)
public @interface McpComponentScan // Use @McpServerApplication instead
@Deprecated(since = "0.6.0", forRemoval = true)
String descriptionI18nKey() default StringHelper.EMPTY; // Use description() instead

Full Changelog

v0.5.0...v0.6.0