io.helidon.integrations.langchain4j.McpClientConfig
Description
Configuration for LangChain4j MCP (Model Context Protocol) clients
Configuration options
| Key | Type | Description |
|---|---|---|
ping- | Duration | The timeout to apply when waiting for a ping response |
client- | String | Sets the version string that the client will use to identify itself to the MCP server in the initialization message |
protocol- | String | Sets the protocol version that the client will advertise in the initialization message |
log- | Boolean | Whether to log response traffic |
reconnect- | Duration | The delay before attempting to reconnect after a failed connection |
uri | URI | The URL of the MCP server |
prompts- | Duration | The timeout for prompt-related operations (listing prompts as well as rendering the contents of a prompt) |
client- | String | Sets the name that the client will use to identify itself to the MCP server in the initialization message |
resources- | Duration | Sets the timeout for resource-related operations (listing resources as well as reading the contents of a resource) |
log- | Boolean | Whether to log request traffic |
tls | Tls | TLS configuration for the MCP server connection |
tool- | String | The error message to return when a tool execution times out |
key | String | Sets a unique identifier for the client |
tool- | Duration | Sets the timeout for tool execution |
initialization- | Duration | Sets the timeout for initializing the client |
Deprecated Options
| Key | Type | Description |
|---|---|---|
sse- | URI | The initial URI where to connect to the server and request an SSE channel |
See the manifest for all available types.