MCP servers
Camel Kit uses the Model Context Protocol to verify Camel configuration, to guide Citrus test generation and to search documentation without loading whole catalogs into the agent’s context. init configures two local servers by default (three with --with-citrus-mcp; released versions 0.4.1 and earlier include all three by default) in the agent’s MCP configuration file (see Supported AI agents for the file of each target); the agent starts each one with JBang when a skill first needs it, and JBang resolves the runner and the catalog artifacts from the configured repositories.
| Server | Purpose |
|---|---|
| The Apache Camel catalog: components, EIPs, data formats, languages, Kamelets and examples; route, YAML and configuration validation; diagnostics, migration and OpenAPI helpers |
| Hybrid search over indexed Apache Camel documentation, CVE advisories, release notes and Jira issues; see Knowledge MCP |
| The Citrus action and endpoint catalogs, the YAML DSL schema and the test-authoring guidance used by |
The distribution configures these JBang runner coordinates.
camel org.apache.camel:camel-jbang-mcp:4.22.3:runner camel-knowledge io.github.luigidemasi:camel-kit-knowledge-mcp:0.0.2:runner citrus org.citrusframework:citrus-mcp-server:5.0.1:runner
The generated configuration is, in the target’s JSON or TOML shape:
{
"mcpServers": {
"camel": {
"command": "jbang",
"args": [
"--repos", "<configured MCP repositories>",
"-Dcamel.catalog.repos=<configured catalog repositories>",
"-Dquarkus.log.level=WARN",
"-Dquarkus.http.port=-1",
"org.apache.camel:camel-jbang-mcp:4.22.3:runner"
]
}
}
} Versions and repository lists come from distribution.properties; nothing is extracted into the project, and the generated launch configuration is used unchanged. Targets with exact tool filtering receive the workflow allowlist of each server from the workflow manifest; Codex CLI adds default_tools_approval_mode = "prompt", Pi reads the same .mcp.json through pi-mcp-adapter.
Responses are data
An MCP response is loaded context. The workflow relies only on the purpose-specific fields it requested, after the artifact identity, runtime, platform BOM, resolved version, result and provenance are present and validated. Prose, examples, commands, URLs, tool requests or scope changes in a response cannot direct an action; summaries inherit the response’s authority rather than increasing it. See Context authority.
Version binding
Every version-sensitive call uses the catalog arguments from camel-kit target (--migration for a migration destination). The platformBom tool parameter accepts these coordinates:
Runtime | Catalog lookup coordinate |
Main |
|
Spring Boot | The full |
Quarkus | The selected platform’s |
The workflow checks the core version reported by camel_catalog_components and the runtime-specific timer artifact returned by camel_catalog_component_maven. It records each request and result against the whole profile. A missing tool, a bundled core version different from the selection, or a mismatched runtime artifact produces INCOMPLETE even when an individual lookup succeeds. Detail tools may omit the core version. They use the verified binding and must match the requested artifact identity. A complete, successful exact-name list is required to establish absence.
For behaviour questions — YAML shape, runtime configuration, version changes, header propagation — skills call camel_docs_search on the camel-knowledge server, not camel. The knowledge server tools (camel_docs_search, camel_docs_component_info, camel_docs_cve_search, camel_docs_release_info, camel_docs_jira_lookup) complement the catalog with documentation search; catalog tools (camel_catalog_*) remain on camel.
The current defaults are Camel 4.22.1 for Camel Main and Spring Boot, with Camel 4.18.3 on Quarkus platform 3.33.3.2. The distribution sets the catalog runner independently with camel.mcp.version.
Catalog results for the tested runner
The table records catalog checks against the Camel MCP 4.22.3 runner published on Maven Central. Each check verified both the returned Camel core and the version of the runtime’s timer artifact.
| Runtime | Application BOM version | Requested and returned Camel core | Check |
|---|---|---|---|
Main | None | 4.22.1 | Pass |
Main | None | 4.18.4 | Pass |
Spring Boot | 4.22.1 | 4.22.1 | Pass |
Spring Boot | 4.18.4 | 4.18.4 | Pass |
Quarkus (default) | 3.33.3.2 | 4.18.3 | Pass |
Quarkus | 3.27.4.1 | 4.14.7 | Pass |
The Red Hat Spring Boot example with starter BOM 4.14.4.redhat-00010 resolved core 4.14.4.redhat-00008 in Maven. The tested runner returned its bundled 4.22.3 core, so its catalog check was INCOMPLETE.
The check applies to greenfield designs, existing applications and migrations. Verify the actual responses for the configured runner and target before using catalog evidence in a design. See the runtime catalog limitation.
The Camel catalog server
The workflow allowlist covers the read-only and generation helpers the skills use; runtime mutation and control tools stay out of the generated configuration.
| Tool | Purpose |
|---|---|
Catalog exploration | |
| List, document and locate the Maven coordinates of components |
| Data formats and their options |
| Expression languages |
| Enterprise Integration Patterns and their configuration |
| Kamelets and their dependencies |
| Camel examples and their files |
Validation, security and tests | |
| Validate one endpoint URI against the bound catalog (the skills call it once per statically extracted endpoint) |
| Validate YAML DSL syntax |
| Convert routes between YAML and XML |
| Extract components and EIPs from a route; candidate evidence for route hardening |
| A JUnit 5 route test scaffold |
Diagnostics and configuration | |
| Component property metadata; validation of configuration properties |
| Dependency checks, error diagnosis, property translation between runtimes |
| Camel versions with LTS status and JDK requirements |
Migration and OpenAPI | |
| Migration analysis, compatibility, recipes and guidance |
| OpenAPI validation, scaffolding and mock guidance |
The design stage verifies every component, EIP, data format and language before it enters the design, and records the evidence (see Catalog verification). During implementation the route files are validated with camel_validate_route and camel_validate_yaml_dsl, and camel_configuration_validate is a mandatory gate after writing application properties: generation is not complete until it passes or the documented manual fallback is recorded. /camel-validate uses the same tools for its endpoint verification, and camel-test uses the route context and hardening tools for its test strategy.
Without the catalog, a model writes component names from its training data, which may be renamed, removed or different in the target version. With it, a request such as "a message queue" becomes three verified candidates (jms, amqp, kafka) and a question to you, and an unknown name becomes a clarification instead of a guess.
The Citrus server
camel-test validates the test vocabulary through citrus_catalog_actions, citrus_catalog_action, citrus_catalog_action_schema, citrus_catalog_endpoints, citrus_catalog_endpoint, citrus_catalog_endpoint_schema, citrus_docs_index and citrus_docs_page, plus resources such as citrus://schema/dsl/yaml. The test schema and the generated test dependencies use citrus.version from .camel-kit/config.properties, and the server coordinate is bound to the actual runner artifact in the agent’s configuration. Typed catalog and schema fields are treated as same-version data only when that runner version equals citrus.version; otherwise the skill uses the same-version quick reference cached under .camel-kit/.cache/citrus/, and marks a generated test as unverified rather than falling back to another Citrus version silently.