markdown2pdf-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
M2P_OUTPUT_DIRNoThe output directory where the PDFs will be saved.

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
create_pdf_from_markdownConvert markdown content to PDF. Note: Cannot handle LaTeX math equations. Supports basic markdown elements like headers, lists, tables, code blocks, blockquotes, and images (both local and external URLs).