pub fn serve_stdio(db_path: &str) -> Result<()>Expand description
Serve MCP over stdio: read newline-delimited JSON-RPC from stdin, write responses to stdout. Blocks until stdin closes. Synchronous by design — one request in flight at a time.
§Errors
Returns an std::io::Error if reading stdin or writing stdout fails.