Annotation Interface McpI18nEnabled
This annotation is used to mark a class as i18n enabled.
When the main class of MCP (Model Context Protocol) server application is annotated with
@McpI18nEnabled, it indicates that the server application supports internationalization
(i18n) for tool/prompt/resource methods. This allows for the translation of tool/prompt/resource
titles and descriptions into different languages.
Note: This annotation is only applicable to the main class of the MCP server application.
Example usage:
@McpI18nEnabled
public class MyMcpServerApplication {
// Application logic...
}
- 作者:
- codeboyzhou