Class RecentRequestsContribution

java.lang.Object
org.apache.sling.mcp.server.impl.contribs.RecentRequestsContribution
All Implemented Interfaces:
org.apache.sling.mcp.server.spi.McpServerContribution

public class RecentRequestsContribution extends Object implements org.apache.sling.mcp.server.spi.McpServerContribution
  • Constructor Summary

    Constructors
    Constructor
    Description
    RecentRequestsContribution(org.apache.sling.engine.RequestInfoProvider requestInfoProvider, io.modelcontextprotocol.json.McpJsonMapperSupplier jsonMapperSupplier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification>
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.sling.mcp.server.spi.McpServerContribution

    getSyncCompletionSpecification, getSyncPromptSpecification, getSyncResourceSpecification, getSyncResourceTemplateSpecification
  • Constructor Details

    • RecentRequestsContribution

      public RecentRequestsContribution(org.apache.sling.engine.RequestInfoProvider requestInfoProvider, io.modelcontextprotocol.json.McpJsonMapperSupplier jsonMapperSupplier)
  • Method Details

    • getSyncToolSpecification

      public List<io.modelcontextprotocol.server.McpStatelessServerFeatures.SyncToolSpecification> getSyncToolSpecification()
      Specified by:
      getSyncToolSpecification in interface org.apache.sling.mcp.server.spi.McpServerContribution