Federico Mariani created CAMEL-24310:
----------------------------------------

             Summary: camel-mcp-server module: bootstrap and streamable HTTP 
transport
                 Key: CAMEL-24310
                 URL: https://issues.apache.org/jira/browse/CAMEL-24310
             Project: Camel
          Issue Type: Sub-task
          Components: camel-ai
            Reporter: Federico Mariani


Create the {{camel-mcp-server}} module under components/camel-ai following the 
camel-a2a pattern:

* Discover a {{RestConsumerFactory}} (typically platform-http) at startup and 
register the MCP endpoint with {{useStreaming=true}} (see {{A2AConsumer}}).
* Implement a streamable HTTP transport provider for the official MCP Java SDK 
bridging to an A2A-style queue-backed {{InputStream}} emitter (see 
{{SseQueueInputStream}} / {{A2AStreamEmitter}}): POST answering 
{{application/json}} or {{text/event-stream}}, long-lived GET SSE channel for 
server notifications, {{Mcp-Session-Id}} session management, DELETE for session 
termination.
* Register the new module in {{MojoHelper.getComponentPath()}} for the camel-ai 
parent folder.

----
_This issue was drafted by Claude Code on behalf of Federico Mariani._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to