luigidemasi opened a new issue, #78:
URL: https://github.com/apache/camel-kit/issues/78

   > Imported from 
[luigidemasi/camel-kit#147](https://github.com/luigidemasi/camel-kit/issues/147),
 opened by [luigidemasi](https://github.com/luigidemasi) on 2026-07-15.
   > Closed by 
[luigidemasi/camel-kit#148](https://github.com/luigidemasi/camel-kit/pull/148), 
merged on 2026-07-15.
   
   ---
   
   ## Description
   
   Camel-Kit currently generates MCP configurations using
   `org.citrusframework:citrus-mcp-server:5.0.0-M2:runner`.
   
   The published M2 runner fails during Quarkus startup because of an 
incompatible
   JSON Schema Generator dependency. Downgrade the default Citrus MCP version to
   5.0.0-M1, which has been verified to start successfully.
   
   ## Steps to Reproduce
   
   1. Initialize a project with Camel-Kit, for example using `--ai qwen`.
   2. Start Qwen Code and inspect the Citrus server with `/mcp`.
   3. Alternatively, run the configured command directly:
   
      ```bash
      jbang \
        --repos central=https://repo1.maven.org/maven2/ \
        -Dquarkus.log.level=WARN \
        -Dquarkus.http.port=-1 \
        org.citrusframework:citrus-mcp-server:5.0.0-M2:runner
      ```
   
   ## Expected Behavior
   
   The Citrus MCP server starts and exposes its catalog and documentation tools.
   
   ## Actual Behavior
   
   The M2 runner exits during Quarkus startup with:
   
   ```text
   java.lang.NoSuchMethodError:
   SchemaGeneratorConfigBuilder.<init>(
     ObjectMapper, SchemaVersion, OptionPreset
   )
   ```
   
   Running the equivalent command with `5.0.0-M1` starts successfully.
   
   ## Proposed Resolution
   
   - Set `citrus.mcp.version` to `5.0.0-M1` in `distribution.properties`.
   - Verify generated MCP configurations use M1.
   - Add or update a startup regression check for the configured runner.
   - Revisit M2 or a later release after the upstream dependency 
incompatibility is fixed.
   
   ## Website Impact
   
   Required: this changes the default version of a generated public integration.
   Update applicable version/support documentation or create a linked website
   follow-up before closing this issue.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to