drio
Open app

mcp-pandoc: A Document Conversion MCP Server

Source

MCP server for document format conversion using pandoc.

Catalog onlyCatalog onlySTDIO

Overview

mcp-pandoc is a Model Context Protocol (MCP) server designed for document format conversion using the Pandoc tool, enabling the transformation of content between various document formats while maintaining formatting and structure. # How to use mcp-pandoc? To utilize mcp-pandoc, configure it within your MCP server settings and use the provided conversion commands to transform your documents. Detailed installation and usage guidelines are available in the project documentation. # Key features of mcp-pandoc? - Converts content between multiple formats, including plain text, Markdown, and HTML. - Currently supports document formats like Markdown, HTML, and plain text, with PDF, CSV, and DOCX support in development. - Integrated with the Pandoc Python package for robust format handling. # Use cases of mcp-pandoc?

  1. Converting a report from Markdown to HTML for web publishing.
  2. Transforming plain text files into structured Markdown documents.
  3. Facilitating document conversion in automated workflows or applications using the MCP. # FAQ from mcp-pandoc? - What formats does mcp-pandoc currently support? > It currently supports Plain text, Markdown, and HTML, with other formats like PDF and DOCX in development. - How do I install mcp-pandoc? > Follow the configuration instructions provided in the project documentation for setting it up on your machine. - Is mcp-pandoc open source? > Yes! mcp-pandoc is part of an open-source project and welcomes contributions from the community.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":175,"uuid":"b6a17fa3-fe0e-4300-b185-211b7867cba9","name":"mcp-pandoc","title":"mcp-pandoc: A Document Conversion MCP Server","description":"MCP server for document format conversion using pandoc.","avatar_url":"https://avatars.githubusercontent.com/u/25471383?v=4","created_at":"2024-12-13T09:12:17.600Z","updated_at":"2024-12-13T12:28:13.281Z","status":"created","author_name":"vivekVells","author_avatar_url":"https://avatars.githubusercontent.com/u/25471383?v=4","tags":"pandoc,pandoc-markdown,pandoc-template","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/vivekVells/mcp-pandoc","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/72dbdd28eb83871e0ba79026820526345ef68577797aaaae6f70ead26475b759/68747470733a2f2f6d736565702e6e65742f70722f766976656b76656c6c732d6d63702d70616e646f632d62616467652e706e67","type":null,"metadata":"{"star":"252","license":"MIT license","language":"Python","is_official":false,"latest_commit_time":"2025-05-18 14:05:45"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]

Add to your AI client

Use these steps to connect mcp-pandoc: A Document Conversion MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-pandoc-vivekvells": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-pandoc-vivekvells"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-pandoc-vivekvells": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-pandoc-vivekvells"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-pandoc-vivekvells": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-pandoc-vivekvells"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-pandoc-vivekvells": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-pandoc-vivekvells"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-pandoc-vivekvells": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-pandoc-vivekvells"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-pandoc-vivekvells": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-pandoc-vivekvells"
      ]
    }
  }
}