类 McpServerPromptFactory

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

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

    • McpServerPromptFactory

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

    • create

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

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