Markdown to PDF Converter
Renders Markdown content or files into PDF documents via a Model Context Protocol (MCP) server.
About
This MCP server provides a streamlined way to convert Markdown into high-quality PDF documents. It offers tools that accept either inline Markdown strings or file paths, allowing for flexible content input. Users can specify output paths, choose from various paper formats (A4, Letter, Legal), and set the orientation (portrait, landscape). Leveraging Playwright with Chromium, it ensures accurate and consistent rendering of Markdown to PDF, making it ideal for automated document generation and integration into broader workflows.
Key Features
- Utilizes Playwright (Chromium) for robust PDF rendering
- 2 GitHub stars
- Supports both inline Markdown input and file paths
- Configurable paper formats (A4, Letter, Legal) and orientations (portrait, landscape)
- Converts Markdown content directly to PDF documents
- Automatic default output path generation with timestamps
Use Cases
- Creating printable versions of articles or guides written in Markdown
- Integrating Markdown-to-PDF conversion into custom applications or CI/CD pipelines
- Automating the generation of reports or documentation from Markdown source files