Interface McpAsyncClientCustomizer
public interface McpAsyncClientCustomizer
Interface for customizing asynchronous MCP client configurations.
This interface allows for customization of MCP client behavior through Spring's customizer pattern. Implementations can modify the client's configuration before it is used in the application.
- Since:
- 1.0.0
- Author:
- Christian Tzolov
- See Also:
-
McpClient.AsyncSpec
-
Method Summary
-
Method Details
-
customize
Customizes an asynchronous MCP client configuration.This method is called for each async MCP client being created, allowing for client-specific customizations based on the client's name and specification.
- Parameters:
name
- the name of the MCP client being customizedspec
- the async specification to customize
-