Design Engineer Logo
Visit Repo
Open Graph preview

MCP Pandoc

MCP Pandoc is a versatile document conversion server that leverages Pandoc to transform content between various formats

Site favicon
📱 Content Tools

Overview

mcp-pandoc is a versatile document conversion server that leverages Pandoc to transform content between various formats while maintaining formatting integrity.

Core Features

Format Support

  • Currently handles plain text, Markdown, and HTML conversions
  • PDF, CSV, and DOCX support in active development
  • Preserves document structure during conversion

Configuration Options

For published server:

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

For development:

{
  "mcpServers": {
    "mcp-pandoc": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-pandoc",
        "run",
        "mcp-pandoc"
      ]
    }
  }
}

Development Tools

Build Process

uv sync        # Sync dependencies
uv build       # Create distributions
uv publish     # Deploy to PyPI

Debugging

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-pandoc run mcp-pandoc

Platform Support

| Platform | Config Location | |----------|----------------| | macOS | ~/Library/Application Support/Claude/claude_desktop_config.json | | Windows | %APPDATA%/Claude/claude_desktop_config.json |

The server is currently in early development, with active work ongoing to expand format support and enhance conversion capabilities[3][6].