Class McpStreamableHttpClientProperties

java.lang.Object
org.springframework.ai.mcp.client.common.autoconfigure.properties.McpStreamableHttpClientProperties

@ConfigurationProperties("spring.ai.mcp.client.streamable-http") public class McpStreamableHttpClientProperties extends Object
Configuration properties for Streamable Http client connections.

These properties allow configuration of multiple named Streamable Http connections to MCP servers. Each connection is configured with a URL endpoint for communication.

Example configuration:

 spring.ai.mcp.client.streamable-http:
   connections:
     server1:
       url: http://localhost:8080/events
     server2:
       url: http://otherserver:8081/events
 
Author:
Christian Tzolov
See Also:
  • Field Details

  • Constructor Details

    • McpStreamableHttpClientProperties

      public McpStreamableHttpClientProperties()
  • Method Details