What Markdown elements are not supported?
LaTeX math equations (e.g., `$x^2$` or `$$\sum_{i=1}^n x_i$$`) and complex mathematical formulas are not supported.
@2b3pro
Basic information
MCP Server for converting markdown to PDF
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"markdown2pdf-mcp": {
"command": "npx",
"args": [
"-y",
"markdown2pdf-mcp@latest"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
Fetch the live tool list by running this server in a temporary sandbox using the button above.
An MCP server for converting Markdown documents to PDF files. It uses Chrome’s rendering engine (via Puppeteer) and supports syntax highlighting, custom CSS, optional page numbers, watermarks, and Mermaid diagrams. Designed for developers using MCP‑aware clients (e.g., Cline, Claude Desktop).
Install via npm install markdown2pdf-mcp or from source. Start the server with npm start or run on demand with npx -y markdown2pdf-mcp@latest. Configure the output directory via the M2P_OUTPUT_DIR environment variable in your MCP settings. Use the tool create_pdf_from_markdown with required markdown content and optional parameters like outputFilename, paperFormat, paperOrientation, paperBorder, watermark, watermarkScope, and showPageNumbers.
LaTeX math equations (e.g., `$x^2$` or `$$\sum_{i=1}^n x_i$$`) and complex mathematical formulas are not supported.
Set the `M2P_OUTPUT_DIR` environment variable in your MCP settings file. If not configured, PDFs are saved to `$HOME`.
Yes. Use the `watermark` parameter (max 15 characters, uppercase) and set `watermarkScope` to `'first-page'` or `'all-pages'` (default).
Maximum file size is 10 MB. The tool automatically scales timeouts (up to 5 minutes) and allocates 4 GB memory for Chrome to handle complex documents.
The package bundles Chrome v131.0.6778.204, which is automatically installed during `npm install`.

Couples therapist Figs O'Sullivan (LMFT, 17 years, endorsed by Sue Johnson, creator of EFT) inside your AI. Ask relationship questions answered from his clinical writing, name the pattern in a fight, get a three-step rep
A search tool helps dev to solve the naming things problem.
A curated list of references for MLOps
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
🚀 The fast, Pythonic way to build MCP servers and clients.
Comments