1 2 3 4 5 6 7 8 9
//! MCP server subcommand. use crate::cli::McpArgs; /// Start the MCP server (stdio or HTTP transport). pub(crate) fn run(args: &McpArgs) -> anyhow::Result<()> { let rt = tokio::runtime::Runtime::new()?; rt.block_on(crate::mcp::run(args.port)) }