pub fn mcp_err(e: Error) -> ErrorData
Convert a crate Error into an MCP protocol error with structured data.
Error
The data payload exposes the diagnostic code, help text, and a retryable flag for client-side handling.
data
retryable