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

   ## Summary
   
   Adds a dedicated `camel_component_properties` MCP tool that returns the valid
   `camel.component.<scheme>.<name>` configuration property keys for a given 
Camel
   component (CAMEL-23180). AI agents generating `application.properties` no
   longer have to parse the full component doc to find the property prefix and
   the available options.
   
   For each property the tool returns the fully-qualified key, the option name,
   kind (`property` / `parameter` / `path`), group, type / javaType,
   required / deprecated / secret flags, default value, description and enum
   choices.
   
   Endpoint options are returned alongside component-level options because they
   are valid as component-level defaults via the same 
`camel.component.<scheme>.`
   prefix in `application.properties`.
   
   ## Changes
   
   - `ComponentPropertiesTools` — new `@ApplicationScoped` tool class wrapping
     `CamelCatalog.componentModel(...)`. Resolves the catalog through the
     existing `CatalogService` so the runtime / camelVersion / platformBom
     selectors stay consistent with the rest of the MCP catalog tools.
   - `ComponentPropertiesToolsTest` — 7 unit tests covering the timer
     component (prefix, type metadata, path/parameter kinds), unknown component
     error path and missing-input validation.
   
   ## Test plan
   
   - [x] `mvn test` in `dsl/camel-jbang/camel-jbang-mcp` (196 tests, 7 new) — 
passing
   - [x] Full root build `mvn clean install -DskipTests -Dquickly` succeeds
   
   _Claude Code on behalf of Andrea Cosentino_


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