fn render_result( view: KeyPrintView<'_>, output: OutputFormat, mcp_path: Option<&Path>, ) -> Result<String>