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

Claus Ibsen updated CAMEL-23606:
--------------------------------
    Fix Version/s: 4.21.0

> camel-jbang - TUI embedded MCP server for AI agent screen observation
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-23606
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23606
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.21.0
>
>
> Add an embedded MCP (Model Context Protocol) server to the Camel TUI that 
> allows AI coding agents to observe the live TUI session.
> When started with --mcp flag, the TUI exposes a Streamable HTTP MCP server on 
> a local port (default 8086) with tools to:
> - Read the current screen content as plain text (tui_get_screen)
> - Get recent key events / user interactions (tui_get_events)
> - Query current navigation state - active tab, selected integration, etc. 
> (tui_get_state)
> This enables agents to see what the user sees and understand their 
> interactions with the TUI. The server uses JDK built-in HttpServer with zero 
> additional dependencies, implementing the MCP Streamable HTTP transport 
> (JSON-RPC 2.0 over a single POST endpoint).
> Future phases will add control tools (send keys, switch tabs) so agents can 
> also drive the TUI.



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

Reply via email to