colmugx/mcp/client/legacy does not have a README file
pub struct LegacyClient {
client_name : String
client_version : String
transport : LegacyTransport
next_id : Int
server_name : String
server_version : String
}fn LegacyClient::LegacyClient(name~ : String, version~ : String, transport~ : AnyTransport) -> LegacyClientasync fn LegacyClient::connect_http(url~ : String, name~ : String, version~ : String, auth_token? : String, extra_headers? : Array[(String, String)]) -> Result[LegacyClient, MCPError]fn LegacyHttpSessionTransport::LegacyHttpSessionTransport(url~ : String, auth_token? : String, extra_headers? : Array[(String, String)]) -> LegacyHttpSessionTransportasync fn LegacyHttpSessionTransport::send(self : LegacyHttpSessionTransport, message : String) -> Unitasync fn LegacyHttpSessionTransport::send_notification(self : LegacyHttpSessionTransport, notification : Notification) -> UnitInstall
Download zipType-safe MCP SDK in MoonBit with server/client support and dual transport (STDIO/HTTP)
Dependencies