Skip to main content

start_mcp_server

Function start_mcp_server 

Source
pub fn start_mcp_server(port: u16, request_tx: RequestSender) -> JoinHandle<()>
Expand description

Start the MCP server on a background thread. The MCP server uses JSON-RPC 2.0 over HTTP (Streamable HTTP transport). Returns a join handle for the server thread.