MCP server for converting markdown to PDF - run with npx markdown2pdf-mcp to start the server
MCP server for converting markdown to PDF - run with npx markdown2pdf-mcp to start the server
An MCP server for converting Markdown documents to PDF files. This server provides a simple and efficient way to generate PDFs from Markdown content with support for syntax highlighting, custom styling, optional page numbers, and flexible watermark placement (first page only or all pages).
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
{
"mcpServers": {
"markdown2pdf": {
"args": [
"/path/to/markdown2pdf-mcp/build/index.js"
],
"env": {
"M2P_OUTPUT_DIR": "/path/to/output/directory"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| M2P_OUTPUT_DIR | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Sushi Unshortens Short Hand Inputs (FSH Compiler)
MCP server for Nexon MapleStory OpenAPI - character, rankings, union, guild, and notices
Search, read and query large folders of Markdown notes (200,000+). Optional, reversible edits.
Living docs and MCP context for GitHub repos — conventions, gaps, and source-cited pages on merge.