micromux-cli 0.1.0

Micromux is a local process supervisor with a terminal UI
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Thin shim for the `micromux mcp` subcommand. Gated at the top behind the default-on `mcp`
//! feature, so with the feature off this module, the subcommand, and `rmcp` all vanish at compile
//! time.

/// Serve the MCP server over stdio until the agent disconnects.
///
/// # Errors
///
/// Returns an error if the stdio transport or the service loop fails.
pub async fn run() -> Result<(), crate::Error> {
    micromux_mcp::serve_stdio()
        .await
        .map_err(crate::Error::Mcp)?;
    Ok(())
}