@@ -91,8 +91,10 @@ instructions: You are a helpful AI assistant
9191request-timeout : 20000
9292capabilities :
9393 resource : true
94+ subscribe-resource : true
9495 prompt : true
9596 tool : true
97+ completion : true
9698change-notification :
9799 resource : true
98100 prompt : true
@@ -221,34 +223,36 @@ streamable:
221223
222224### Configuration Properties
223225
224- | Property | Description | Default |
225- |-----------------------------------|-----------------------------------------------------------------|----------------|
226- | ` enabled` | Enable/disable MCP server | `true` |
227- | `mode` | Server mode : ` STDIO` , `SSE` (deprecated), `STREAMABLE` | `STREAMABLE` |
228- | `name` | Server name | `mcp-server` |
229- | `version` | Server version | `1.0.0` |
230- | `type` | Server type : ` SYNC` , `ASYNC` | `SYNC` |
231- | `instructions` | Instructions for the LLM client | (empty) |
232- | `request-timeout` | Request timeout in milliseconds | `20000` |
233- | `capabilities.resource` | Enable resource support | `true` |
234- | `capabilities.subscribe-resource` | Enable resource subscription | `true` |
235- | `capabilities.prompt` | Enable prompt support | `true` |
236- | `capabilities.tool` | Enable tool support | `true` |
237- | `capabilities.completion` | Enable completion support | `true` |
238- | `change-notification.resource` | Notify clients on resource change | `true` |
239- | `change-notification.prompt` | Notify clients on prompt change | `true` |
240- | `change-notification.tool` | Notify clients on tool change | `true` |
241- | `sse.message-endpoint` | SSE POST message path *(deprecated, for removal since 0.16.0)* | `/mcp/message` |
242- | `sse.endpoint` | SSE stream path *(deprecated, for removal since 0.16.0)* | `/sse` |
243- | `sse.base-url` | Public base URL for the SSE server *(deprecated)* | *(empty)* |
244- | `sse.port` | HTTP port for SSE mode *(deprecated, for removal since 0.16.0)* | `8080` |
245- | `streamable.mcp-endpoint` | Streamable HTTP MCP path | `/mcp/message` |
246- | `streamable.disallow-delete` | Reject HTTP DELETE on session | `false` |
247- | `streamable.keep-alive-interval` | Keep-alive interval (ms) | `20000` |
248- | `streamable.port` | HTTP port for STREAMABLE mode | `8080` |
226+ | Property | Description | Default |
227+ |-----------------------------------|-----------------------------------------------------------------|------------------------------ |
228+ | ` enabled` | Enable/disable MCP server | `true` |
229+ | `mode` | Server mode : ` STDIO` , `SSE` (deprecated), `STREAMABLE` | `STREAMABLE` |
230+ | `name` | Server name | `mcp-server` |
231+ | `version` | Server version | `1.0.0` |
232+ | `type` | Server type : ` SYNC` , `ASYNC` | `SYNC` |
233+ | `instructions` | Instructions for the LLM client | Required (non-blank in YAML) |
234+ | `request-timeout` | Request timeout in milliseconds | `20000` |
235+ | `capabilities.resource` | Enable resource support | `true` |
236+ | `capabilities.subscribe-resource` | Enable resource subscription | `true` |
237+ | `capabilities.prompt` | Enable prompt support | `true` |
238+ | `capabilities.tool` | Enable tool support | `true` |
239+ | `capabilities.completion` | Enable completion support | `true` |
240+ | `change-notification.resource` | Notify clients on resource change | `true` |
241+ | `change-notification.prompt` | Notify clients on prompt change | `true` |
242+ | `change-notification.tool` | Notify clients on tool change | `true` |
243+ | `sse.message-endpoint` | SSE POST message path *(deprecated, for removal since 0.16.0)* | `/mcp/message` |
244+ | `sse.endpoint` | SSE stream path *(deprecated, for removal since 0.16.0)* | `/sse` |
245+ | `sse.base-url` | Public base URL for the SSE server *(deprecated)* | Required when `mode : SSE` |
246+ | `sse.port` | HTTP port for SSE mode *(deprecated, for removal since 0.16.0)* | `8080` |
247+ | `streamable.mcp-endpoint` | Streamable HTTP MCP path | `/mcp/message` |
248+ | `streamable.disallow-delete` | Reject HTTP DELETE on session | `false` |
249+ | `streamable.keep-alive-interval` | Keep-alive interval (ms) | `20000` |
250+ | `streamable.port` | HTTP port for STREAMABLE mode | `8080` |
249251
250252# ## Profile-based Configuration
251253
254+ Set `profile` in the base file to load `mcp-server-{profile}.yml` from the classpath. Profile values are merged into the base configuration with Jackson deep merge; nested objects such as `capabilities` and `streamable` are merged field-by-field. The `profile` name always comes from the base file. After merge, transport settings that do not match the resolved `mode` are cleared (for example, `streamable` is removed when `mode` is `STDIO`).
255+
252256You can use profiles for different environments :
253257
254258` ` ` yaml
0 commit comments