mcp-pandoc

mcp-pandoc

228

mcp-pandoc is a Model Context Protocol server designed for document format conversion using Pandoc. It allows users to convert content among formats such as markdown, HTML, PDF, DOCX, and more, while maintaining document structure. The project is in early development with expanding features and improving tools.

mcp-pandoc: A Document Conversion MCP Server

A Model Context Protocol server for document format conversion using Pandoc. This server offers tools to transform content between various document formats while preserving their formatting and structure. Currently in early development, PDF support is under development. The supporting Pandoc Python package is the core of the project.

Features

  • Tools: Convert content between formats like markdown, HTML, PDF, DOCX, RST, LaTeX, and EPUB.
  • Supported Formats: Includes plain text, markdown, HTML, and advanced formats requiring full paths such as PDF and DOCX.

Usage & Configuration

  • Ensure the installation of required packages like Pandoc and UV package. For advanced conversions like PDF, TeX Live installation is required.
  • Commands include content transformations and saving formats into specific file paths.

Getting Started

  1. Install mcp-pandoc via either a configuration file or as a published server through Smithery.
  2. For development, sync dependencies, build packages, and publish to PyPI. Debug using the MCP Inspector.