colmugx/mcp/protocol/prompt does not have a README file
pub(open) trait Prompt {
fn name(Self) -> String
fn description(Self) -> String
fn arguments(Self) -> Array[PromptArgument]
async fn get(Self, Json) -> Result[GetPromptResult, MCPError]
}pub(open) trait PromptMRTR {
fn name(Self) -> String
fn description(Self) -> String
fn arguments(Self) -> Array[PromptArgument]
async fn get(Self, Json) -> Result[PromptGetOutcome, MCPError]
}pub(all) struct PromptDefinition {
name : String
description : String?
arguments : Array[PromptArgument]?
} derive(Eq, Debug)pub(all) enum PromptGetOutcome {
Complete(GetPromptResult)
InputRequired(input_requests~ : Map[String, InputRequestEntry], state~ : Json)
} derive(Eq, Debug)Type-safe MCP SDK in MoonBit with server/client support and dual transport (STDIO/HTTP)
Dependencies