Skip to content

io.helidon.integrations.langchain4j.McpClientConfig

Description

Configuration for LangChain4j MCP (Model Context Protocol) clients

Configuration options

KeyTypeDescription
ping-timeoutDurationThe timeout to apply when waiting for a ping response
client-versionStringSets the version string that the client will use to identify itself to the MCP server in the initialization message
protocol-versionStringSets the protocol version that the client will advertise in the initialization message
log-responsesBooleanWhether to log response traffic
reconnect-intervalDurationThe delay before attempting to reconnect after a failed connection
uriURIThe URL of the MCP server
prompts-timeoutDurationThe timeout for prompt-related operations (listing prompts as well as rendering the contents of a prompt)
client-nameStringSets the name that the client will use to identify itself to the MCP server in the initialization message
resources-timeoutDurationSets the timeout for resource-related operations (listing resources as well as reading the contents of a resource)
log-requestsBooleanWhether to log request traffic
tlsTlsTLS configuration for the MCP server connection
tool-execution-timeout-error-messageStringThe error message to return when a tool execution times out
keyStringSets a unique identifier for the client
tool-execution-timeoutDurationSets the timeout for tool execution
initialization-timeoutDurationSets the timeout for initializing the client

Deprecated Options

KeyTypeDescription
sse-uriURIThe initial URI where to connect to the server and request an SSE channel

See the manifest for all available types.