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 replaceMcpComponentScan
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