类 McpServerToolFactory

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

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

    • McpServerToolFactory

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

    • create

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

      public void registerTo(io.modelcontextprotocol.server.McpAsyncServer server)