类 McpServerToolFactory

java.lang.Object
com.github.codeboyzhou.mcp.declarative.server.component.AbstractMcpServerComponentFactory<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification>
com.github.codeboyzhou.mcp.declarative.server.component.McpServerToolFactory
所有已实现的接口:
McpServerComponentFactory<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification>

public class McpServerToolFactory extends AbstractMcpServerComponentFactory<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification>
  • 构造器详细资料

    • McpServerToolFactory

      @Inject protected McpServerToolFactory(com.google.inject.Injector injector, Boolean i18nEnabled)
  • 方法详细资料

    • create

      public io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification create(Class<?> clazz, Method method)
    • register

      public void register(io.modelcontextprotocol.server.McpSyncServer server)