davsclaus commented on code in PR #1871:
URL:
https://github.com/apache/camel-spring-boot/pull/1871#discussion_r3713422176
##########
components-starter/camel-mcp-server-starter/src/main/docs/mcp-server.json:
##########
@@ -0,0 +1,35 @@
+{
+ "groups": [
+ {
+ "name": "camel.mcp-server",
+ "type":
"org.apache.camel.springboot.mcp.server.McpServerConfigurationProperties",
+ "sourceType":
"org.apache.camel.springboot.mcp.server.McpServerConfigurationProperties"
+ }
+ ],
+ "properties": [
+ {
+ "name": "camel.mcp-server.enabled",
+ "type": "java.lang.Boolean",
+ "description": "Whether to expose ai-tool routes as MCP tools through
the Spring AI MCP server. Enabled by default when the starter is on the
classpath.",
+ "sourceType":
"org.apache.camel.springboot.mcp.server.McpServerConfigurationProperties",
+ "defaultValue": true
+ },
+ {
+ "name": "camel.mcp-server.tags",
+ "type": "java.lang.String",
+ "description": "Comma-separated list of ai-tool tags to expose as MCP
tools. Only tools registered under one of these tags are exposed; the untagged
default pool is never exposed. When not set, no tools are exposed.",
+ "sourceType":
"org.apache.camel.springboot.mcp.server.McpServerConfigurationProperties"
+ },
+ {
+ "name": "camel.mcp-server.tool-timeout",
+ "type": "java.lang.Long",
+ "description": "Per-call tool execution timeout in milliseconds. A call
exceeding the timeout returns an error result to the MCP client; the underlying
route keeps running until it completes on its own.",
+ "sourceType":
"org.apache.camel.springboot.mcp.server.McpServerConfigurationProperties",
+ "defaultValue": 20000
+ }
+ ],
+ "hints": [],
+ "ignored": {
+ "properties": []
+ }
+}
Review Comment:
Non-blocking: missing trailing newline at end of file.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]