An MCP server that converts Excel (.xls/.xlsx) and Apple Numbers (.numbers) files to PDF format, enabling AI assistants like Claude to perform file conversions directly through conversations. Built with TypeScript and Node.js, it leverages LibreOffice for the actual conversion process and implements the Model Context Protocol to expose two primary tools: convert_excel_to_pdf and convert_numbers_to_pdf. The server handles file validation, secure path resolution, and temporary file management while providing detailed error messages. It's particularly useful for users who need to share spreadsheets with stakeholders who may not have access to the original applications.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Converts Excel files (.xls/.xlsx) to PDF format. Arguments: input_path (required, string) - Relative path to the Excel file; output_format (optional, string) - Output format, currently only PDF is supported (default: 'pdf').
Converts Apple Numbers files (.numbers) to PDF format. Arguments: input_path (required, string) - Relative path to the Numbers file; output_format (optional, string) - Output format, currently only PDF is supported (default: 'pdf').