- Home
- MCP servers
- Pandoc
Pandoc
- python
0
GitHub Stars
python
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"jathinkolla-pandoc-mcp": {
"command": "uvx",
"args": [
"mcp-pandoc"
]
}
}
}You can convert between common document formats using the mcp-pandoc server. Built on Pandoc, it preserves structure and formatting as content moves between Markdown, HTML, PDF, DOCX, and more, enabling seamless document workflows within your Model Context Protocol setup.
How to use
You interact with the mcp-pandoc server through an MCP client to transform content between formats. You provide the source content either directly or via a file, specify the input and output formats, and request a saved output file when you need a tangible result. Basic formats (txt, md, html) can display converted content in the chat when no output file path is given, while advanced formats (pdf, docx, rst, latex, epub) require a complete output file path.
How to install
Prerequisites you need before running the server:
- Pandoc installation (core engine)
- UV package (uvx command) installation
- PDF prerequisites only if you plan to generate PDFs (TeX Live)
Additional content
Two MCP configurations are provided for running mcp-pandoc. The published, ready-to-use setup uses the UVX runtime, while a development setup shows how to run the server directly with UV in a local directory. Both configurations are shown below. Ensure you have installed the required packages before attempting to run the server.
Notes and troubleshooting
If you encounter PDF conversion issues, ensure TeX Live is installed. For file path problems, always provide a complete path including filename and extension. When converting to advanced formats, you must specify an output path. If you are debugging, using the MCP Inspector can help you observe runtime behavior and messages.
Available tools
convert-contents
Transforms content between supported formats using Pandoc as the conversion engine. Accepts source contents or a file path, input and output formats, and writes to an output file when required.