Micronaut MCP Configuration Reference

Every documented configuration property of Micronaut MCP, with types, descriptions, and defaults.

Micronaut MCP documentation

23 properties across 2 sections

Micronaut Mcp Client Langchain4j Config Properties

Configuration properties for StdioMcpTransportConfigurationProperties

PropertyTypeDescription
langchain4j.mcp.client.transport.stdio.commandsjava.util.List

Micronaut Mcp Config Properties

Configuration properties for ClasspathPrompt

PropertyTypeDescription
micronaut.mcp.classpath-prompts.*.namejava.lang.StringPrompt name
micronaut.mcp.classpath-prompts.*.name-qualifierjava.lang.StringName Qualifier
micronaut.mcp.classpath-prompts.*.titlejava.lang.StringPrompt Title
micronaut.mcp.classpath-prompts.*.descriptionjava.lang.StringPrompt Description
micronaut.mcp.classpath-prompts.*.argumentsjava.util.ListPrompt arguments
micronaut.mcp.classpath-prompts.*.pathjava.lang.Stringpath to the prompt resource. Don’t include the classpath: prefix

Configuration properties for McpClientConfigurationProperties

PropertyTypeDescription
micronaut.mcp.client.enabledboolean
micronaut.mcp.client.transportTransportSet the MCP Transport. It defaults to HTTP.

Configuration properties for McpClientHttpConfigurationProperties

PropertyTypeDescription
micronaut.mcp.client.http.*.urljava.net.URIThe MCP Server URL
micronaut.mcp.client.http.*.timeoutjava.time.DurationThe duration to wait for server responses before timing out requests.
micronaut.mcp.client.http.*.log-requestsbooleanWhether to log requests. Default value false .
micronaut.mcp.client.http.*.log-responsesbooleanWhether to log responses. Default value false .

Configuration properties for McpServerConfigurationProperties

PropertyTypeDescription
micronaut.mcp.server.enabledboolean
micronaut.mcp.server.endpointjava.lang.StringThe MCP Server endpoint. It applies to MCP Servers using HTTP transport. It defaults to /mcp .
micronaut.mcp.server.transportTransportSet the MCP Transport. It defaults to HTTP.
micronaut.mcp.server.reactivebooleanWhether you want to define MCP Primitive handlers using reactive code. Default value {@value #DEFAULT_REACTIVE}

Configuration properties for McpServerInfoConfigurationProperties

PropertyTypeDescription
micronaut.mcp.server.info.namejava.lang.String
micronaut.mcp.server.info.versionjava.lang.String

Configuration properties for PromptsConfigurationProperties

PropertyTypeDescription
micronaut.mcp.server.prompts.list-changedbooleanwhether the server will emit notifications when the list of available prompts changes. Default value false .

Configuration properties for ResourcesConfigurationProperties

PropertyTypeDescription
micronaut.mcp.server.resources.subscribebooleanwhether the client can subscribe to be notified of changes to individual resources. Default value false .
micronaut.mcp.server.resources.list-changedbooleanwhether the server will emit notifications when the list of available resources changes. Default value false .

Configuration properties for ToolsConfigurationProperties

PropertyTypeDescription
micronaut.mcp.server.tools.list-changedbooleanwhether the server will emit notifications when the list of available tools changes. Default value false .