Claus Ibsen created CAMEL-23793:
-----------------------------------

             Summary: Camel MCP server - expose component headers from catalog
                 Key: CAMEL-23793
                 URL: https://issues.apache.org/jira/browse/CAMEL-23793
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Claus Ibsen


The camel_catalog_component_doc MCP tool returns component options and endpoint 
options, but does not include the headers section from the component catalog 
JSON.

The catalog JSON (e.g. kafka.json) contains a rich "headers" section with 
header names, constant references, descriptions, java types, and group 
(consumer/producer). This data is valuable for AI tools to look up the correct 
header string names (e.g. CamelKafkaKey) instead of Java constants 
(KafkaConstants.KEY).

The MCP server should expose component headers so that AI assistants can:
- Look up the correct CamelXxx header string names for any component
- Understand which headers are for consumers vs producers
- Generate correct header references across all DSLs (Java, XML, YAML)



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

Reply via email to