Skip to main content

mcp_jsonrpc

Function mcp_jsonrpc 

Source
pub fn mcp_jsonrpc(message: &str) -> String
Expand description

Handle one MCP JSON-RPC 2.0 message.

Notifications return an empty string because JSON-RPC notifications do not have response objects.