类 McpServerPromptFactory

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

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

    • McpServerPromptFactory

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

    • create

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

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