Configuration Reference
Extension configuration reference
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
If set to Environment variable: |
boolean |
|
Whether to use the SchemaGenerator’s Jackson Module. If this module is not present as a dependency, this module won’t be enabled. Environment variable: |
boolean |
|
Corresponds to If enabled, the order of properties in the generated schema will respect the order defined in a Environment variable: |
boolean |
|
Corresponds to If enabled, a property will be marked as "required" in the schema if its corresponding field or method is annotated with Environment variable: |
boolean |
|
Corresponds to If enabled, the schema for an enum will be a simple array of values (e.g., strings) derived from the method annotated with Environment variable: |
boolean |
|
Corresponds to If enabled, the schema for an enum will be derived from Environment variable: |
boolean |
|
Corresponds to If enabled, only methods explicitly annotated with Environment variable: |
boolean |
|
Corresponds to If enabled, any configured Environment variable: |
boolean |
|
Corresponds to If enabled, subtypes in a polymorphic hierarchy will always be represented by a Environment variable: |
boolean |
|
Corresponds to A specialized option for handling subtypes that have been transformed. Environment variable: |
boolean |
|
Corresponds to If enabled, subtype resolution via Environment variable: |
boolean |
|
Corresponds to If enabled, the transformation of the schema based on a Environment variable: |
boolean |
|
Corresponds to If enabled, properties referencing an object that has an ID (via Environment variable: |
boolean |
|
Whether to use the SchemaGenerator’s Jakarta Validation Module. If this module is not present as a dependency, this module won’t be enabled. Environment variable: |
boolean |
|
Corresponds to If enabled, a field annotated with a "not-nullable" constraint (e.g., Environment variable: |
boolean |
|
Corresponds to If enabled, a method (typically a getter) annotated with a "not-nullable" constraint (e.g., Environment variable: |
boolean |
|
Corresponds to If enabled, for properties annotated with Environment variable: |
boolean |
|
Corresponds to If enabled, for properties annotated with Environment variable: |
boolean |
|
Whether to use the SchemaGenerator’s Swagger 2 Module. If this module is not present as a dependency, this module won’t be enabled. Environment variable: |
boolean |
|
The strategy used when server features, such as tools, prompts, and resources, reference an non-existent server name. Environment variable: |
|
|
Maximum length of a tool name. Environment variable: |
int |
|
The name of the server is included in the response to an By default, the value of the Environment variable: |
string |
|
The version of the server is included in the response to an By default, the value of the Environment variable: |
string |
|
The human-readable name of the server is included in the response to an Environment variable: |
string |
|
The URI pointing to an icon resource. Environment variable: |
string |
required |
The mime type. Environment variable: |
string |
|
The list of sizes in WxH format. Environment variable: |
list of string |
required |
The theme. Environment variable: |
|
|
The human-readable description of the server. Environment variable: |
string |
|
The URL of the website for this implementation. Environment variable: |
||
The instructions describing how to use the server and its features. These are hints for the clients. Environment variable: |
string |
|
If set to Environment variable: |
boolean |
|
The number of characters of a text message which will be logged if traffic logging is enabled. Environment variable: |
int |
|
The default log level. Environment variable: |
|
|
The interval after which, when set, the server sends a ping message to the connected client automatically. Ping messages are not sent automatically by default. Environment variable: |
||
If the number of resources exceeds the page size then pagination is enabled and the given page size is used. The pagination is disabled if set to a value less or equal to zero. Environment variable: |
int |
|
If the number of resource templates exceeds the page size then pagination is enabled and the given page size is used. The pagination is disabled if set to a value less or equal to zero. Environment variable: |
int |
|
If the number of tools exceeds the page size then pagination is enabled and the given page size is used. The pagination is disabled if set to a value less or equal to zero. Environment variable: |
int |
|
If set to Environment variable: |
boolean |
|
The strategy used for input validation errors. Environment variable: |
|
|
If the number of prompts exceeds the page size then pagination is enabled and the given page size is used. The pagination is disabled if set to a value less or equal to zero. Environment variable: |
int |
|
The default timeout for a sampling request. Negative and zero durations imply no timeout. Environment variable: |
|
|
The default timeout to list roots. Negative and zero durations imply no timeout. Environment variable: |
|
|
The default timeout for an elicitation request. Negative and zero durations imply no timeout. Environment variable: |
|
|
If set to Environment variable: |
boolean |
|
The amount of time that a connection can be inactive. The connection might be automatically closed when the timeout expires. Negative and zero durations imply no timeout. The Environment variable: |
|
|
If collection of metrics is enabled when the Micrometer extension is present. Environment variable: |
boolean |
|
|
About the Duration format
To write duration values, use the standard You can also use a simplified format, starting with a number:
In other cases, the simplified format is translated to the
|
STDIO Transport
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
Flag to specify whether the MCP server should be automatically initialized. This can be useful in case where the MCP server should be conditionally started. For example: from a CLI that provides multiple commands including one for starting the MCP server. Environment variable: |
boolean |
|
If set to Keep in mind that console logging is still automatically redirected to the standard error. You will need to set the
Environment variable: |
boolean |
|
If set to Environment variable: |
boolean |
|
HTTP Transport
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
The MCP endpoint (as defined in the specification The SSE endpoint (as defined in the specification Environment variable: |
string |
|
If set to true then the query params from the initial HTTP request should be included in the message endpoint. Environment variable: |
boolean |
|
If set to Dummy initialization can be used to simulate stateless communication. However, it’s not efficient and some features may not work properly. This config property will be deprecated once the stateless mode is codified in the MCP specification. Environment variable: |
boolean |
|
WebSocket Transport
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
|---|---|---|
The WebSocket MCP endpoint is exposed at Environment variable: |
string |
|