[
https://issues.apache.org/jira/browse/CAMEL-27246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-27246 started by Federico Mariani.
------------------------------------------------
> camel-spring-ai-chat - streamableHttp transport for the MCP servers of the
> mcpServer option
> -------------------------------------------------------------------------------------------
>
> Key: CAMEL-27246
> URL: https://issues.apache.org/jira/browse/CAMEL-27246
> Project: Camel
> Issue Type: Improvement
> Components: camel-spring-ai
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
>
> The {{mcpServer.<name>.transportType}} of spring-ai-chat supports {{stdio}}
> and {{sse}}. The HTTP+SSE transport was replaced by Streamable HTTP in the
> MCP specification 2025-03-26, and its client,
> {{HttpClientSseClientTransport}}, is deprecated in MCP Java SDK 2.2.0, which
> Camel uses. camel-mcp-server serves Streamable HTTP. camel-openai
> ({{streamableHttp}}) and langchain4j-agent ({{http}}) already support it.
> h3. Proposal
> * Add {{streamableHttp}}, named as in camel-openai, with the same {{url}} and
> {{oauthProfile}} properties, using {{HttpClientStreamableHttpTransport}}.
> * Keep {{sse}} and mark it deprecated in the documentation.
> This does not need Spring AI 2.1.0.
> _Claude Code on behalf of Croway_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)