mcp-pandoc logo

mcp-pandoc用于 pandoc 进行文档格式转换的 MCP 服务器。

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

mcp-pandoc 是一个用于文档格式转换的 Model Context Protocol 服务器,通过 pandoc 来实现。它能够在保持格式化和结构的情况下,将内容转换为不同文档格式。该服务器支持各种输入和输出格式,包括 markdown、HTML、PDF、DOCX、RST、LaTeX、EPUB、TXT、IPYNB 和 ODT。然而,它目前处于早期开发阶段,PDF 支持仍在开发中。该项目使用 Pandoc Python 包来实现文档转换。高级功能包括通过默认文件来使用可重复使用的转换模板,以及通过自定义过滤器来增强处理。

主要功能

  • 将内容转换为支持的格式
  • 使用默认文件可实现可重复使用的转换模板
  • 应用自定义过滤器来增强处理
  • 支持双向转换矩阵
  • 在转换时保留格式排版和结构
  • 用defaults files for reusable conversion templates

价格

模型
Free
评分
暂无评价

使用场景

学术写作

使用默认文件在学术论文中将 markdown 文件转换为 PDF 来实现一致的格式排版

内容发布

将 HTML 文件转换为 EPUB 来实现电子书的出版,同时保留结构和格式排版

文档归档

将 DOCX 文件转换为 TXT 来实现平面文本归档

优点 & 缺点

优点

  • 支持多种文档格式
  • 在转换时保留格式排版和结构
  • 通过defaults files 使用可重复使用的转换模板
  • 启用自定义过滤器来增强处理
  • 可用于常见的工作流程来实现双向转换矩阵

缺点

  • 当前处于早期开发阶段
  • PDF 支持仍在开发中
  • 从 PDF 到其他格式转换不受支持

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

What are custom filters in mcp-pandoc and how are they used?

Custom filters are user‑supplied Python scripts that hook into Pandoc’s processing pipeline, enabling advanced manipulation of the document during conversion. You supply filter paths via the "filters" array when invoking the server.

Asked by Jasper Vermeer · Apr 29, 2026

How do defaults files help in document conversion?

Defaults files are YAML configurations that predefine conversion options, allowing you to create reusable templates for consistent styling across multiple conversions.

Asked by Nils Johansson · Jan 14, 2026

Can I convert PDF documents to other formats with mcp-pandoc?

PDF conversion support is still under development. Currently, converting from PDF to other formats is not supported; you can only generate PDFs from supported source formats.

Asked by Ahmed Saleh · Jan 12, 2026

Is mcp-pandoc free to use or does it have a pricing plan?

mcp-pandoc is an open‑source project under a standard license, so there is no cost to download, run, or modify it. Any usage fees would only come from hosting or infrastructure you set up yourself.

Asked by Lior Ben-David · Jan 7, 2026

提问

服务配缩器 的替代品