Class McpStdioClientProperties
java.lang.Object
org.springframework.ai.autoconfigure.mcp.client.properties.McpStdioClientProperties
@ConfigurationProperties("spring.ai.mcp.client.stdio")
public class McpStdioClientProperties
extends Object
Configuration properties for the Model Context Protocol (MCP) stdio client.
This class manages configuration settings for MCP stdio client connections, including server parameters, timeouts, and connection details. It supports both direct configuration through properties and configuration through external resource files.
- Since:
- 1.0.0
- Author:
- Christian Tzolov
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Record representing the parameters for an MCP server connection. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.core.io.Resource
void
setServersConfiguration
(org.springframework.core.io.Resource stdioConnectionResources)
-
Field Details
-
CONFIG_PREFIX
- See Also:
-
-
Constructor Details
-
McpStdioClientProperties
public McpStdioClientProperties()
-
-
Method Details
-
getServersConfiguration
public org.springframework.core.io.Resource getServersConfiguration() -
setServersConfiguration
public void setServersConfiguration(org.springframework.core.io.Resource stdioConnectionResources) -
getConnections
-
toServerParameters
-