Federico Mariani created CAMEL-27249:
----------------------------------------
Summary: 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-spring-ai, camel-openai
Reporter: Federico Mariani
Assignee: Federico Mariani
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)