Skip to main content

McpMessageHandler

Type Alias McpMessageHandler 

Source
pub type McpMessageHandler = Arc<dyn Fn(String, Value) -> Pin<Box<dyn Future<Output = Value> + Send>> + Send + Sync>;
Expand description

Handler for MCP messages routed through the control protocol.

Aliased Typeยง

pub struct McpMessageHandler { /* private fields */ }