[ 
https://issues.apache.org/jira/browse/CAMEL-23126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrea Cosentino resolved CAMEL-23126.
--------------------------------------
    Resolution: Fixed

> Camel-jbang-mcp: Add MCP Prompts for structured multi-step workflows to 
> camel-jbang-mcp
> ---------------------------------------------------------------------------------------
>
>                 Key: CAMEL-23126
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23126
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbpm
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.19.0
>
>
>   Add MCP Prompt definitions to the camel-jbang-mcp module. Prompts are the 
> third MCP primitive (alongside Tools and Resources) and provide pre-defined, 
> parameterized message templates that guide LLMs through orchestrating 
> multiple existing tools in the correct sequence, rather than requiring the 
> LLM to discover the workflow on its own.
> We could create:
>   h3. 1. {{camel_build_integration}}
>   Guided workflow to build a Camel integration from natural-language 
> requirements.
>   - Args: {{requirements}} (required), {{runtime}} (optional, defaults to 
> {{main}})
>   - Steps: Identify components → Identify EIPs → Get component docs → Build 
> YAML route → Validate with {{camel_validate_yaml_dsl}} → Security review with 
> {{camel_route_harden_context}} → Present result
>   h3. 2. {{camel_migrate_project}}
>   Guided workflow to migrate a Camel project to a newer version.
>   - Args: {{pomContent}} (required), {{targetVersion}} (optional)
>   - Steps: Analyze pom.xml with {{camel_migration_analyze}} → Determine 
> target version via {{camel_version_list}} → Check compatibility (branching 
> for wildfly/karaf vs main/spring-boot/quarkus) → Get OpenRewrite recipes → 
> Search migration guides for breaking changes → Produce structured migration 
> summary
>   h3. 3. {{camel_security_review}}
>   Guided workflow to perform a security audit of a Camel route.
>   - Args: {{route}} (required), {{format}} (optional, defaults to {{yaml}})
>   - Steps: Analyze security with {{camel_route_harden_context}} → Understand 
> route structure with {{camel_route_context}} → Produce audit checklist 
> (critical issues, warnings, positive findings, actionable recommendations,
>   compliance notes)



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

Reply via email to