moonbitstack/moonmcp/client does not have a README file
pub(open) trait Transport {
async fn ask(Self, message : Json, on_notification : async (Json) -> Unit) -> Json
async fn tell(Self, message : Json) -> Unit
async fn listen(Self, message : Json, on_notification : async (Json) -> Unit) -> Unit
async fn close(Self) -> Unit
fn answer_with(Self, answer : async (Json) -> Json?) -> Unit
}async fn Client::connect(transport : &Transport, name? : String, version? : String, protocol_version? : String, capabilities? : ClientCapabilities, handlers? : Handlers) -> Clientasync fn Client::get_prompt(self : Client, name : String, arguments? : Map[String, Json]) -> GetPromptResultasync fn Client::listen(self : Client, filter~ : SubscriptionFilter, on_notification~ : async (Json) -> Unit) -> Unitpub(all) struct Handlers {
sampling : async (CreateMessageRequestParams) -> CreateMessageResult?
elicitation : async (ElicitRequestParams) -> ElicitResult?
roots : async () -> ListRootsResult?
apply_defaults : Bool
}fn Handlers::new(sampling? : async (CreateMessageRequestParams) -> CreateMessageResult, elicitation? : async (ElicitRequestParams) -> ElicitResult, roots? : async () -> ListRootsResult, apply_defaults? : Bool) -> HandlersInstall
Download zipModel Context Protocol servers and clients for MoonBit.