Skip to content

Releases: codeboyzhou/mcp-declarative-java-sdk

v0.5.0

12 Jun 02:08
Compare
Choose a tag to compare

Features

  • Add support for hot-reload on configuration file changed.
  • Add i18n support for MCP server component description.

Bug Fixes

  • Avoid Sinks.EmitResult.FAIL_NON_SERIALIZED during message transmission in the low-level MCP SDK.

Enhancements

  • Introduce Guice framework to enhance dependency injection and reduce explicit reflections.
  • Use McpAsyncServer instead of McpSyncServer in MCP server components registration.
  • Avoid HTTP port occupation in unit tests.

Breaking Changes

Warning

The deprecated APIs in v0.4.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.4.0 for more details.

Deprecated

The following APIs in McpServers are no longer recommended for use.

@Deprecated(since = "0.5.0", forRemoval = true)
public void startSyncStdioServer(McpServerInfo serverInfo)
@Deprecated(since = "0.5.0", forRemoval = true)
public void startSyncSseServer(McpSseServerInfo serverInfo, McpHttpServerStatusListener<McpSyncServer> listener)
@Deprecated(since = "0.5.0", forRemoval = true)
public void startSyncSseServer(McpSseServerInfo serverInfo)

Full Changelog

v0.4.0...v0.5.0

v0.4.0

21 May 09:30
Compare
Choose a tag to compare

Features

  • Add support for MCP server requestTimeout option.
  • Add support for MCP server yaml configuration.
  • Add support for complex JSON schema definitions.
  • Add new API McpServers.startServer().

Bug Fixes

  • Parameters Display Order (PR #2): Fixed the parameters display order issue in MCP Inspector v0.12.0.

Dependencies

  • Update native MCP Java SDK from 0.9.0 to 0.10.0

Deprecated

The following APIs in McpServers are no longer recommended for use due to some new features of MCP Java SDK 0.10.0.

@Deprecated(since = "0.4.0")
public void startSyncStdioServer(String name, String version, String instructions)

Full Changelog

0.3.x...0.4.x

Contributors

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

v0.3.0

20 Apr 05:13
Compare
Choose a tag to compare

Features

  • MCP prompt is now supported

Breaking Changes

Warning

The deprecated APIs in v0.2.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.2.0 for more details.

Full Changelog

0.2.x...0.3.x

v0.2.0

19 Apr 21:28
Compare
Choose a tag to compare

Features

  • Add sortpom-maven-plugin for dependency sorting.
  • Add unit tests for MCP component scanning.
  • Add Maven build workflow for CI integration.
  • Refactor and add unit tests for McpServers.

Dependencies

  • Update native MCP Java SDK from 0.8.1 to 0.9.0

Deprecated

The following APIs in McpServers are no longer recommended for use due to some new features of MCP Java SDK 0.9.0.

@Deprecated(since = "0.2.0")
public void startSyncStdioServer(String name, String version)
@Deprecated(since = "0.2.0")
public void startSyncSseServer(String name, String version, String messageEndpoint, String sseEndpoint, int port)
@Deprecated(since = "0.2.0")
public void startSyncSseServer(String name, String version, int port)
@Deprecated(since = "0.2.0")
public void startSyncSseServer(String name, String version)

Full Changelog

0.1.x...0.2.x

v0.1.0

06 Apr 02:15
b4cfe8c
Compare
Choose a tag to compare

Features

  • A preliminary implementation of annotation-driven MCP Java SDK

Full Changelog

https://github.com/codeboyzhou/mcp-declarative-java-sdk/commits/v0.1.0