Skip to main content

connect

Function connect 

Source
pub fn connect<T, U>(
    server: T,
    client: U,
) -> impl Future<Output = Result<ConnectedServices<T, U>, ConnectError>>
Expand description

Helper function to connect an MCP server and client via in-memory transport This handles the dual-era discovery/initialization handshake by running both concurrently