This Markdown to PDF conversion MCP server, developed by 2b3pro, provides a robust solution for generating PDF documents from Markdown content. Built with TypeScript and leveraging Puppeteer for modern PDF generation, it offers features like syntax highlighting, custom CSS styling, and optional watermarking. The server implements file naming conflict resolution, configurable paper formats, and uses Chrome v131.0.6778.204 for consistent rendering across installations. By abstracting the complexities of PDF creation, it enables AI systems to easily produce formatted documents from Markdown input. This implementation is particularly valuable for applications requiring programmatic document generation, facilitating use cases such as report creation, documentation publishing, and content distribution in PDF format.
아직 리뷰가 없습니다. 첫 번째 리뷰를 작성해 보세요!
대화에 참여하려면 로그인하세요
Convert a Markdown document to PDF with extensive layout, theme, and margin configuration. Parameters include markdown (string), inputPath (string), outputFilename (string), paperFormat (string), paperOrientation (string), paperBorder (string), margin (object), theme (string), customCss (string), watermark (string), watermarkScope (string), showPageNumbers (boolean), headerText (string), and footerText (string).
Convert multiple Markdown documents or files in a single call using a shared browser session. Parameters include documents (array of objects with markdown or inputPath and outputFilename) and sharedConfig (object with paperFormat, theme, and showPageNumbers).
Fast pre-flight check that validates Markdown syntax, Mermaid blocks, asset paths, and size limits without browser launch overhead. Parameters include markdown (string).