Model Context Protocol · MoonBit
A server framework for MoonBit. One server answers both eras of the protocol and speaks Streamable HTTP or stdio. Its capabilities are written as #mcp annotations, registered by hand, or held by a type of their own — and providers, transforms and layers sit around them.
the core, always lit
1130 public items from 19 packages
MCP 2026-07-28 · 2025-11-25 · 2024-11-05
#mcp.tool(description="Add two numbers")
fn add(a : Double, b : Double) -> Double {
a + b
}
// and once, before serving
register(mcp)