Pandoc Host Service icon

Pandoc Host Service

Converts documents between various formats by leveraging a host machine's Pandoc installation from within a containerized environment.

About

Pandoc Host Service enables document conversion via the Model Context Protocol (MCP) using a two-component architecture. It consists of a TypeScript-based MCP server designed to run inside a container and a Python Flask service that runs on the host machine, executing the host's Pandoc command. This setup allows utilizing a host's Pandoc installation without needing to install it within the container, facilitating conversions between formats like Markdown, HTML, PDF, DOCX, TXT, and potentially LaTeX and EPUB.

Key Features

  • Two-component architecture for containerized environments
  • MCP integration for document conversion tasks
  • Leverages existing Pandoc installation on the host machine
  • Supports Markdown, HTML, PDF, DOCX, and TXT conversion
  • Configurable host service URL via environment variable
  • 0 GitHub stars

Use Cases

  • Integrating document conversion into containerized applications
  • Providing document conversion capabilities within LibreChat
  • Offloading Pandoc processing to a host machine to reduce container size
Craft Better Prompts with AnyPrompt