pub fn json_rpc_error_details(error: &McpError) -> (i32, Option<Value>)
Map SDK errors to their JSON-RPC code and structured MCP error data.