Class McpClientCommonProperties

java.lang.Object
org.springframework.ai.autoconfigure.mcp.client.properties.McpClientCommonProperties

@ConfigurationProperties("spring.ai.mcp.client") public class McpClientCommonProperties extends Object
Common Configuration properties for the Model Context Protocol (MCP) clients shared for all transport types.
Since:
1.0.0
Author:
Christian Tzolov
  • Field Details

  • Constructor Details

    • McpClientCommonProperties

      public McpClientCommonProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getVersion

      public String getVersion()
    • setVersion

      public void setVersion(String version)
    • isInitialized

      public boolean isInitialized()
    • setInitialized

      public void setInitialized(boolean initialized)
    • getRequestTimeout

      public Duration getRequestTimeout()
    • setRequestTimeout

      public void setRequestTimeout(Duration requestTimeout)
    • getType

    • setType

      public void setType(McpClientCommonProperties.ClientType type)
    • isRootChangeNotification

      public boolean isRootChangeNotification()
    • setRootChangeNotification

      public void setRootChangeNotification(boolean rootChangeNotification)