+The MCP Java SDK, however does not yet have equivalent annotation classes (e.g. @Tool, @ToolParam, @ToolAnnotation, etc). ECF's [new bundle project](https://github.com/eclipse-ecf/ecf/tree/master/framework/bundles/org.eclipse.ecf.ai.mcp.tools), provides these annotation classes in Java. Although this bundle has *no* external dependencies other than Java 17 (not on other ECF classes nor any other framework), it would be better if these or some annotations were part of the MCP itself, and so we are in the process of [getting annotation classes added to the MCP Java SDK itself](https://github.com/modelcontextprotocol/java-sdk/pull/235) through [this pull request](https://github.com/modelcontextprotocol/java-sdk/pull/235). If the annotation classes are standardized and in the Java SDK itself in future MCP releases, the references in all ECF code will be updated to depend upon the sdk-provided versions.
0 commit comments