loading…
Search for a command to run...
loading…
Convert Markdown files to professional PDFs with customizable themes, headers, footers, and styling
Convert Markdown files to professional PDFs with customizable themes, headers, footers, and styling
Convert markdown (.md) files into professional, interactive PDF documents with automatic table of contents.
mcp-name: io.github.wmarceau/md-to-pdf
md-to-pdf/
├── src/
│ ├── md_to_pdf.py # Core conversion logic
│ └── convert.sh # Wrapper script (sets library paths)
├── mcp-server/
│ └── md_to_pdf_mcp.py # MCP server wrapper
├── registry/
│ └── manifest.json # MCP Registry manifest
├── workflows/
│ └── convert-md-to-pdf.md # Conversion workflow guide
├── testing/ # Multi-agent test infrastructure
├── VERSION # Current version
├── CHANGELOG.md # Version history
├── SKILL.md # MCP skill documentation
└── README.md # This file
brew install pango cairo
# Set library path (macOS)
export DYLD_LIBRARY_PATH=/opt/homebrew/lib:$DYLD_LIBRARY_PATH
# Convert single file
python src/md_to_pdf.py input.md output.pdf
# Using wrapper script
./src/convert.sh input.md output.pdf
# Batch convert
python src/md_to_pdf.py "docs/*.md" --output-dir pdfs/
# With custom styling
python src/md_to_pdf.py input.md output.pdf --css custom.css
# Without table of contents
python src/md_to_pdf.py input.md output.pdf --no-toc
# Install MCP SDK
pip install mcp
# Run MCP server
python mcp-server/md_to_pdf_mcp.py
| Tool | Description |
|---|---|
convert_markdown_to_pdf |
Convert markdown to PDF with optional TOC |
extract_toc |
Extract table of contents structure |
get_default_styles |
Get default CSS for customization |
See SKILL.md for detailed MCP tool documentation.
Current version: 1.0.0
MIT License
Run in your terminal:
claude mcp add marceausolutions-md-to-pdf-mcp -- npx pro tip
Just installed MarceauSolutions/md-to-pdf-mcp? Say to Claude: "remember why I installed MarceauSolutions/md-to-pdf-mcpand what I want to try" — it'll save into your Vault.
how this works →CSA PROJECT - FZCO © 2026 IFZA Business Park, DDP, Premises Number 31174 - 001
Security
Low riskAutomated heuristic from public metadata — not a security guarantee.