Back to MCP Directory
Pandoc
Model Context Protocol moderate risk

Pandoc

mcp-pandoc converts documents between formats (MD, HTML, DOCX, PDF, etc.) using Pandoc, enabling content transformation and styling via reference documents and filters.

Connections & Capabilities

Connects To

GitHub

Capabilities

readwriteexec

Quickstart

Install

npx -y @smithery/cli install mcp-pandoc --client claude

Config

{
  "mcpServers": {
    "mcp-pandoc": {
      "command": "uvx",
      "args": ["mcp-pandoc"]
    }
  }
}

Exposed MCP Tools (1)

moderate
convert-contents

Transforms content between various document formats using Pandoc.

Can write files to the filesystem and execute filters.

Safety Assessment

mcp-pandoc is relatively safe for document conversion tasks when file paths are carefully managed and external filters are vetted. Risks increase when using untrusted filters or writing to sensitive directories. Ensure dependencies like TeX Live are installed from trusted sources.

  • Requires local Pandoc installation, limiting direct internet exposure.
  • File access is constrained to specified input and output paths.
  • No inherent network communication beyond MCP server.
  • Conversion process is largely stateless.
  • Can write files to the file system, posing a risk if output path is not carefully managed.
  • Requires installation of external dependencies like TeX Live for PDF conversion.
  • Pandoc filters can execute arbitrary code if configured improperly.
  • No built-in sandboxing for conversion processes.