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)