You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/06/29 11:52:00 UTC

[jira] [Resolved] (CAMEL-23852) Add camel mcp CLI command

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

Claus Ibsen resolved CAMEL-23852.
---------------------------------
    Resolution: Fixed

> Add camel mcp CLI command
> -------------------------
>
>                 Key: CAMEL-23852
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23852
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.22.0
>
>
> h3. Background
> The Camel MCP Server currently runs as a standalone JBang process:
> {code:java}
> jbang org.apache.camel:camel-jbang-mcp:LATEST:runner
> {code}
> This works for AI coding assistants that need catalog access, but there is no {{camel mcp}} subcommand in the Camel CLI, and no way to run the MCP server embedded inside a running Camel application.
> The TUI already embeds an MCP server inside the running Camel process — the same approach should be available for the MCP server so that a Camel application can expose both the catalog tools and runtime introspection tools through a single MCP server running inside the application.
> h3. Proposal
> *1. Add camel mcp CLI subcommand*
> Add a proper {{camel mcp}} subcommand to the Camel CLI that starts the MCP server. This makes the MCP server a first-class citizen in the CLI alongside {{{}camel dev{}}}, {{{}camel run{}}}, {{{}camel trace{}}}, etc.
> h3. Documentation update
> The current documentation at camel-jbang-mcp.adoc should also be updated to:
>  * Document the {{camel mcp}} subcommand with usage examples
>  * Explain how to run the MCP server standalone vs embedded in a Camel application
>  * Add a clear Getting Started section showing the simplest path: install JBang, run {{{}camel mcp{}}}, connect an AI assistant
>  * Document the STDIO vs HTTP/SSE transport options with concrete examples for each



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