atiaomar1978-hub opened a new pull request, #25203: URL: https://github.com/apache/camel/pull/25203
## Summary - Adds `camel.mcp.*` configuration and an MCP Streamable HTTP endpoint on the embedded **management HTTP server** (`/mcp` by default), wired through `EmbeddedMcpRequestHandler`. - Adds `camel run` / `camel dev` `--mcp` (and `camel.jbang.mcp`) to enable embedded MCP with JBang `ToolRegistry` tools against the local process (management server bound to `127.0.0.1` by default). - Includes unit tests for the JSON-RPC engine, management HTTP wiring, and CLI flag parsing; documents the feature in Camel Main / JBang docs and the 4.22 upgrade guide. ## Test plan - [x] `mvn test -pl components/camel-platform-http-main,dsl/camel-jbang/camel-jbang-core -am -Dtest=StreamableMcpJsonRpcEngineTest,EmbeddedMcpHttpServerTest,RunMcpOptionTest` - [ ] Manual: `camel run hello.yaml --mcp` then POST JSON-RPC `tools/list` to `http://127.0.0.1:8080/mcp` https://issues.apache.org/jira/browse/CAMEL-23853 _AI-generated PR description on behalf of atiaomar1978-hub_ Made with [Cursor](https://cursor.com) -- 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]
