Class McpSyncToolsChangeEventEmmiter

java.lang.Object
org.springframework.ai.mcp.client.common.autoconfigure.McpSyncToolsChangeEventEmmiter
All Implemented Interfaces:
org.springframework.ai.mcp.customizer.McpSyncClientCustomizer

public class McpSyncToolsChangeEventEmmiter extends Object implements org.springframework.ai.mcp.customizer.McpSyncClientCustomizer
Emits McpToolsChangedEvent when the MCP Tools have changed for a given MCP connection.
Author:
Christian Tzolov
  • Constructor Details

    • McpSyncToolsChangeEventEmmiter

      public McpSyncToolsChangeEventEmmiter(org.springframework.context.ApplicationEventPublisher applicationEventPublisher)
  • Method Details

    • customize

      public void customize(String connectionName, io.modelcontextprotocol.client.McpClient.SyncSpec spec)
      Specified by:
      customize in interface org.springframework.ai.mcp.customizer.McpSyncClientCustomizer