Interface McpBuildTimeConfiguration
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
@ConfigMapping(prefix="quarkus.langchain4j.mcp")
public interface McpBuildTimeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionclients()Configured MCP clientsFile containing the MCP servers configuration in the Claude Desktop format.Whether the MCP extension should automatically generate a ToolProvider that is wired up to all the configured MCP clients.booleanWhether the MCP extension should automatically register a health check for configured MCP clients.
-
Method Details
-
clients
@ConfigDocSection @ConfigDocMapKey("client-name") @WithParentName Map<String,McpClientBuildTimeConfig> clients()Configured MCP clients -
generateToolProvider
-
configFile
File containing the MCP servers configuration in the Claude Desktop format. This configuration can only be used to configurestdiotransport type MCP servers.This file is read at build time which means that which MCP servers the client will use, is determined at build time. However, specific configuration of each MCP server can be overridden at runtime.
-
mpHealthEnabled
@WithName("health.enabled") @WithDefault("true") boolean mpHealthEnabled()Whether the MCP extension should automatically register a health check for configured MCP clients. The default is true if at least one MCP client is configured, false otherwise.
-