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) -> Result[LegacyClient, MCPError]pub struct LegacyHttpSessionTransport {
base_url : String
auth_token : String?
session_id : String?
closed : Bool
pending_responses : Queue[String]
}fn LegacyHttpSessionTransport::LegacyHttpSessionTransport(url~ : String, auth_token? : String) -> LegacyHttpSessionTransportasync fn LegacyHttpSessionTransport::send(self : LegacyHttpSessionTransport, message : String) -> Unit raise TransportErrorasync fn LegacyHttpSessionTransport::send_notification(self : LegacyHttpSessionTransport, notification : Notification) -> Unit raise TransportErrorType-safe MCP SDK in MoonBit with server/client support and dual transport (STDIO/HTTP)
Dependencies