Skip to main content

serve_stdio

Function serve_stdio 

Source
pub(crate) async fn serve_stdio(server: FutuServer) -> Result<()>
Expand description

stdio 模式:MCP 客户端启动子进程,stdin/stdout 传协议帧

v1.4.90 P0-A: uses resilient_stdio() instead of rmcp::transport::stdio() — a malformed JSON line (e.g. {"price": Infinity} from an LLM client) now produces a -32700 Parse error response instead of exit(0)-ing the entire server. See crates/futu-mcp/src/transport.rs for full background.