pub fn run_stdio(ctx: &ServerContext) -> Result<()>Expand description
Run the MCP server over stdio (blocking).
Reads JSON-RPC requests line-by-line from stdin, dispatches them, and writes responses to stdout. EOF on stdin causes a clean exit.
pub fn run_stdio(ctx: &ServerContext) -> Result<()>Run the MCP server over stdio (blocking).
Reads JSON-RPC requests line-by-line from stdin, dispatches them, and writes responses to stdout. EOF on stdin causes a clean exit.