You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "Croway (via GitHub)" <gi...@apache.org> on 2026/02/16 17:25:16 UTC
[PR] Camel MCP tool feature [camel]
Croway opened a new pull request, #21496:
URL: https://github.com/apache/camel/pull/21496
This PR introduces the following:
* Adds MCP tools for Camel migration assistance: POM analysis to detect Camel version/runtime (including WildFly/Karaf), migration guide recommendations based on source version, and fuzzy search on migration guides. All the camel migration guides are loaded into memory (they are not that big) so that a fuzzy search can be executed by the Tool clients.
* Splits the existing QUARKUS column into CAMEL_QUARKUS (Camel Quarkus version) and QUARKUS (actual Quarkus platform version resolved from registry.quarkus.io with a 2s timeout). The Quarkus version is shown only on the latest patch per major.minor stream
* Improves CatalogTools error handling: adds hints when a Quarkus version parameter is incorrect, suggests data format or component alternatives when a component lookup fails.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Camel MCP tool feature [camel]
Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on code in PR #21496:
URL: https://github.com/apache/camel/pull/21496#discussion_r2813438199
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/version/VersionList.java:
##########
@@ -599,9 +609,70 @@ private ReleaseModel onlineRelease(RuntimeType runtime, String coreVersion) thro
return null;
}
+ /**
+ * Resolves the actual Quarkus platform version for each row by fetching the Quarkus platform registry and matching
+ * the Camel Quarkus major.minor version against stream IDs.
+ */
+ private void resolveQuarkusPlatformVersions(List<Row> rows) {
Review Comment:
This is brilliant, this way we'll be always aligned.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Camel MCP tool feature [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on code in PR #21496:
URL: https://github.com/apache/camel/pull/21496#discussion_r2813578631
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/version/VersionList.java:
##########
@@ -599,9 +609,70 @@ private ReleaseModel onlineRelease(RuntimeType runtime, String coreVersion) thro
return null;
}
+ /**
+ * Resolves the actual Quarkus platform version for each row by fetching the Quarkus platform registry and matching
+ * the Camel Quarkus major.minor version against stream IDs.
+ */
+ private void resolveQuarkusPlatformVersions(List<Row> rows) {
Review Comment:
Move this code into a QuarkusHelper so its not burried here.
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Camel MCP tool feature [camel]
Posted by "orpiske (via GitHub)" <gi...@apache.org>.
orpiske commented on code in PR #21496:
URL: https://github.com/apache/camel/pull/21496#discussion_r2813618316
##########
dsl/camel-jbang/camel-jbang-mcp/src/main/java/org/apache/camel/dsl/jbang/core/commands/mcp/CatalogTools.java:
##########
@@ -57,7 +57,10 @@ public ComponentListResult camel_catalog_components(
@ToolArg(description = "Filter by category label (e.g., cloud, messaging, database, file)") String label,
@ToolArg(description = "Maximum number of results to return (default: 50)") Integer limit,
@ToolArg(description = "Runtime type: main, spring-boot, or quarkus (default: main)") String runtime,
- @ToolArg(description = "Specific Camel version to query (e.g., 4.4.0). If not specified, uses the default catalog version.") String camelVersion) {
+ @ToolArg(description = "Version to query. For main/spring-boot: the Camel version (e.g., 4.17.0). "
Review Comment:
I'm thinking I'd be just a bit less ambiguous on the "main/spring-boot" and would replace it with "Main or Spring Boot" (suggestion from Gemini to maximize the description effectiveness).
##########
dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/version/VersionList.java:
##########
@@ -76,6 +76,8 @@ public class VersionList extends CamelCommand {
private static final String GIT_CAMEL_QUARKUS_URL
= "https://raw.githubusercontent.com/apache/camel-website/main/content/releases/q/release-%s.md";
+ private static final String QUARKUS_PLATFORM_URL = "https://registry.quarkus.io/client/platforms";
Review Comment:
Do you think it would be interesting to make this configurable via system properties or environment variables, so we could point it to other registries if necessary? (i.e.: for vendors productizing).
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Camel MCP tool feature [camel]
Posted by "Croway (via GitHub)" <gi...@apache.org>.
Croway merged PR #21496:
URL: https://github.com/apache/camel/pull/21496
--
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: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org