Class McpSseClientProperties

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

@ConfigurationProperties("spring.ai.mcp.client.sse") public class McpSseClientProperties extends Object
Configuration properties for Server-Sent Events (SSE) based MCP client connections.

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

Example configuration:

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

  • Constructor Details

    • McpSseClientProperties

      public McpSseClientProperties()
  • Method Details