ramu11 commented on PR #30671:
URL: https://github.com/apache/camel/pull/30671#issuecomment-7105381975

   Hi @Croway ,
   
   Yes, your understanding is correct, and that is essentially the use case 
described in CAMEL-26686.
   
   The Jira was raised to address a limitation developers face when working 
with Camel integrations in shared development environments, typically 
Kubernetes:
   
   - Integrations run in pods alongside systems such as SAP, databases and 
brokers, which may not be accessible directly from developers' laptops.
   - The embedded MCP server in each integration provides a reduced tool 
surface.
   - Running a separate `camel mcp` server for every integration provides the 
full functionality but introduces an additional JVM per integration.
   
   The requested capability is to have one shared Camel MCP server that remote 
integrations connect to, allowing developers to access those runtimes from 
their laptops using Claude Code or other MCP clients.
   
   **What this PR implements:**
   
   - Introduces a transport-independent `RuntimeAccess` abstraction, preserving 
existing local file-based runtime access.
   - Adds an authenticated WebSocket endpoint (`/connect`) to `camel-jbang-mcp`.
   - Reuses the existing `camel-cli-connector` WebSocket protocol rather than 
introducing another integration protocol.
   - Adds remote runtime registration, discovery, connection lifecycle and 
snapshot handling.
   - Integrates remote runtimes with the existing MCP runtime tools, so the 
same tools can operate on local and remote integrations.
   
   So the implementation is intended to deliver the architecture described in 
the Jira, while keeping the runtime tools independent of the underlying 
transport.
   
   I agree with your security concerns. The current implementation is 
deliberately limited to an opt-in, single shared trust domain. It does not 
provide per-developer authorization or tenant isolation, and I would not 
consider it a production multi-tenant control plane.
   
   The intention is to support controlled development environments, with 
separate MCP server deployments for separate trust domains as documented. I 
agree that the security boundary and ownership model need to be clearly 
established.
   
   I don't think the implementation is fundamentally misaligned with the Jira. 
However, I would appreciate your guidance on whether this capability belongs in 
`camel-jbang-mcp` with this clearly defined development-time scope, or whether 
you would prefer a different architectural direction.
   
   Happy to adjust the implementation based on your feedback.


-- 
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]

Reply via email to