Skip to main content

run_serve

Function run_serve 

Source
async fn run_serve(
    product: &str,
    cli: Vec<String>,
    file_config: RawConfig,
) -> Result<(), i32>
Expand description

Layer config (CLI > env > settings file), initialize file logging, and serve. Err(code) carries the exit code; the reason is reported on STDERR, never stdout — stdout is the MCP channel.