gnodet opened a new pull request, #21964:
URL: https://github.com/apache/camel/pull/21964

   ## Summary
   - Add explicit `camel-catalog` dependency to `camel-jbang-mcp` module's 
pom.xml
   - The MCP server's `CatalogTools` class uses `DefaultCamelCatalog` (from 
`camel-catalog`) directly, but the dependency was only available transitively 
through `camel-jbang-core` -> `camel-kamelet-main` -> `camel-catalog`, which 
was not being included in the Quarkus uber-jar at runtime
   - This caused a `ClassNotFoundException` for 
`org.apache.camel.catalog.impl.AbstractCamelCatalog` when calling the 
`camel_catalog_components` MCP tool
   
   ## Test plan
   - Build the module with `mvn install -B -pl dsl/camel-jbang/camel-jbang-mcp 
-DskipTests` (verified passing)
   - Run the MCP server and call the `camel_catalog_components` tool to verify 
no ClassNotFoundException


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