Convert markdown (.md) files into professional, interactive PDF documents with automatic table of contents. mcp-name: io.github.wmarceau/md-to-pdf Features - **Automatic Table of Contents** - Generated from markdown headers - **Interactive Navigation** - Clickable TOC links to sections - **Professional Styling** - Clean, readable PDF output - **Code Block Support** - Syntax highlighting preserved - **Table Support** - Markdown tables convert to PDF tables - **Image Support** - Embedded images in PDFs - **Batch Conversion** - Process multiple files at once - **MCP Integration** - Use as an MCP server for AI assistants Use Cases - Convert documentation to shareable PDFs - Create professional reports from markdown - Generate user manuals with navigation - Archive markdown content in PDF format - Prepare presentations or handouts - AI-powered document generation workflows Project Structure Requirements - Python 3.8+ - markdown2 (markdown parsing) - weasyprint (PDF generation) - pygments (code syntax highlighting) - mcp (MCP server - for MCP mode only) macOS Additional Requirements Quick Start CLI Usage MCP Server Usage MCP Tools | 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. Version Current version: 1.0.0 License MIT License