Skip to main content

run

Function run 

Source
pub fn run(ctx: RepoContext, log_file: Option<&Path>) -> Result<(), PawError>
Expand description

Runs the stdio MCP server until the client closes stdin.

Initialises stderr logging, validates startup config, then drives the rmcp service loop on a Tokio runtime. Returns Ok(()) (exit 0) on a clean stdin EOF.