Skip to main content

run

Function run 

Source
pub fn run<R, W, E>(
    opts: CliOptions,
    reader: R,
    writer: W,
    diagnostics: E,
) -> Result<()>
where R: BufRead, W: Write, E: Write,
Expand description

Serves MCP per opts over the given reader, writer, and diagnostics streams.

Only the stdio transport is supported; selecting HTTP returns an error.