You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Federico Mariani (Jira)" <ji...@apache.org> on 2026/04/09 15:07:00 UTC
[jira] [Resolved] (CAMEL-23022) Camel MCP - Add migration/upgrade tools
[ https://issues.apache.org/jira/browse/CAMEL-23022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Federico Mariani resolved CAMEL-23022.
--------------------------------------
Resolution: Fixed
> Camel MCP - Add migration/upgrade tools
> ---------------------------------------
>
> Key: CAMEL-23022
> URL: https://issues.apache.org/jira/browse/CAMEL-23022
> Project: Camel
> Issue Type: Improvement
> Components: camel-jbang
> Affects Versions: 4.18.0
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Major
> Fix For: 4.19.0
>
>
> Enhance the Camel MCP (Model Context Protocol) server with migration assistance tools
> h2. Migration Tools
> Add MCP tools to assist AI agents with Camel migration and upgrade workflows:
> - POM analysis tool — Analyzes a project's {{pom.xml}} to detect the current Camel version and runtime environment (including WildFly and Karaf detection).
> - Migration guide recommendations — Given a source Camel version, recommends the appropriate migration guides to follow for upgrading.
> - Fuzzy search on migration guides — Loads all Camel migration guides into memory and exposes a fuzzy search tool so MCP clients can query migration content by keyword. Scoring is documented for transparency.
> - WildFly/Karaf-specific migration guidance — Dedicated tooling for projects running on legacy runtimes (WildFly, Karaf) that need migration paths.
> h2. Guided Workflow
> The migration tools form a sequential pipeline where each tool's response includes a {{nextStep}} hint, enabling an AI agent to drive the entire upgrade process autonomously:
> *Analyze* — Scan the project to detect runtime, Camel version, and dependencies
> *Check compatibility* — Validate components and Java version against the target (or branch to EAP/Karaf-specific guidance for legacy runtimes)
> *Get recipes* — Retrieve the OpenRewrite upgrade commands for the detected runtime
> *Execute & remediate* — Run the recipes, then iteratively fix build errors using categorized suggestions until the build is clean. The migration guide search tool can be used at any point during remediation to retrieve specific migration details, breaking changes, or API replacements from the official guides.
> *Summarize & validate* — Generate a structured change summary and run tests to confirm success
--
This message was sent by Atlassian Jira
(v8.20.10#820010)