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