Releases: codeboyzhou/mcp-declarative-java-sdk
v0.5.0
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 ofMcpSyncServer
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
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
Contributors
We'd like to thank the following contributors for their work on this release:
- steveGuRen (@steveGuRen)
- Jason Ryan (@codeboyzhou)
v0.3.0
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
v0.2.0
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
v0.1.0
Features
- A preliminary implementation of annotation-driven MCP Java SDK
Full Changelog
https://github.com/codeboyzhou/mcp-declarative-java-sdk/commits/v0.1.0