[
https://issues.apache.org/jira/browse/CAMEL-27249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27249.
---------------------------------
Resolution: Fixed
Merged on main in https://github.com/apache/camel/pull/30669 (c53a044cfedd),
fix version 4.24.0. The 4.22.x backport is
https://github.com/apache/camel/pull/30670 (open); add its fix version when it
is merged.
_Claude Code on behalf of davsclaus_
> camel-openai, camel-spring-ai-chat - the description of the mcpServer option
> loses its <name> placeholders
> ----------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-27249
> URL: https://issues.apache.org/jira/browse/CAMEL-27249
> Project: Camel
> Issue Type: Bug
> Components: camel-openai, camel-spring-ai
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
> Fix For: 4.24.0
>
>
> The {{@UriParam}} description of the {{mcpServer}} option writes its
> placeholders in angle brackets: {{mcpServer.<name>.transportType}},
> {{<cmd>}}, {{<comma-separated>}}, {{<url>}}, {{<profile>}}. The generated
> metadata drops everything between angle brackets, so the catalog JSON
> ({{openai.json}}, {{spring-ai-chat.json}}), the option table of the
> documentation and the Javadoc of the endpoint DSL read:
> {noformat}
> mcpServer..transportType=stdio|sse|streamableHttp, (Note that sse is
> deprecated) mcpServer..command= (stdio), mcpServer..args= (stdio),
> mcpServer..url= (sse/streamableHttp)
> {noformat}
> Users and AI tools that read the catalog cannot tell how to name a server.
> h3. Fix
> Write the placeholders without angle brackets, for example
> {{mcpServer.myServer.transportType=streamableHttp}} and
> {{mcpServer.myServer.url=http://localhost:8080/mcp}}, in camel-openai and
> camel-spring-ai-chat, and regenerate.
> _Claude Code on behalf of Croway_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)