Class McpReadOnlyToolReconciler

java.lang.Object
com.xebialabs.xlrelease.mcp.config.McpReadOnlyToolReconciler

public class McpReadOnlyToolReconciler extends Object
Keeps the MCP server's advertised tools/list in sync with the "read-only mode" feature setting, cluster-wide and without a restart.
  • Constructor Details

    • McpReadOnlyToolReconciler

      public McpReadOnlyToolReconciler(io.modelcontextprotocol.server.McpSyncServer server, List<io.modelcontextprotocol.server.McpServerFeatures.SyncToolSpecification> allSpecs)
  • Method Details

    • start

      @PostConstruct public void start()
    • onMcpFeatureCreate

      public void onMcpFeatureCreate(com.xebialabs.xlrelease.domain.distributed.events.DistributedConfigurationCreatedEvent event)
    • onMcpFeatureUpdate

      public void onMcpFeatureUpdate(com.xebialabs.xlrelease.domain.distributed.events.DistributedConfigurationUpdatedEvent event)