
MDMagic MCP Server
@MDMagic-MCP
About MDMagic MCP Server
Convert Markdown to DOCX, PDF, and HTML using your own Word templates — your letterhead, your branding, your fonts. Plus 15 designer-built templates for when you don't have your own.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mdmagic": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server"
],
"env": {
"MDMAGIC_API_KEY": "mdmagic-xxxxxxxxxxxxxxxx"
}
}
}
}Tools
10Convert Markdown → DOCX / PDF / HTML / all three. Returns a secure expiring URL.
Pre-flight check before conversion. Catches malformed tables, unclosed code fences, and other syntax issues that would produce broken output.
Pre-flight cost estimate based on word count, page count, format, and template type.
Current credit balance (subscription + purchased pools), plan status.
Full template catalog: 15 built-in templates (grouped by category) + your custom uploads.
Only the built-in templates: Business (5), Creative (6), Professional (2), Technical (2).
Only your custom uploaded templates.
Show available variants (page sizes × orientations) for a specific template.
Suggest the best built-in template for a described purpose ("Q4 board pack" → Executive_Platinum).
Your default page size, orientation, and template preferences.
Overview
What is MDMagic MCP Server?
MDMagic MCP Server converts Markdown to DOCX, PDF, and HTML using your own Word templates — preserving your letterhead, branding, and fonts — or one of 15 built-in designer templates. It integrates with MCP-compatible AI assistants like Claude, Cursor, and VS Code.
How to use MDMagic MCP Server?
Install via npm with an API key from your MDMagic account, then configure it in your client's MCP settings (e.g., claude_desktop_config.json). Once connected, you can ask the AI to convert Markdown using commands like "Convert this markdown to a PDF using the Executive_Platinum template."
Key features of MDMagic MCP Server
- Markdown to DOCX, PDF, and HTML conversion
- Custom Word template support (letterhead, branding, fonts)
- 15 built-in designer templates across multiple categories
- Pre-flight validation and cost estimation tools
- Secure, expiring download URLs for output files
Use cases of MDMagic MCP Server
- Generate branded reports, proposals, or contracts from AI chat
- Convert meeting notes or documentation into polished PDFs or DOCX
- Use templates for consistent formatting across team outputs
- Integrate document generation directly into IDE workflows (Cursor, VS Code)
FAQ from MDMagic MCP Server
How do I get an API key?
Sign up for a free MDMagic account at mdmagic.ai/account, then copy your API key from the account page.
What output formats are supported?
DOCX, PDF, HTML, or all three formats in a single conversion.
How is the pricing structured?
Conversions cost credits based on page count and output format. DOCX costs 1 credit per page, with additional credits for PDF (+1), HTML (+1), and custom templates (+1). The estimate_conversion_cost tool shows exact costs before conversion.
Where are my documents stored?
Documents pass through Microsoft Graph API for PDF rendering and are deleted within 5–10 seconds. Output files are deleted from MDMagic servers after download or after 60 minutes, whichever comes first. Source files use UUIDs and are never stored permanently.
What transports are supported?
The MCP server supports stdio (default) and http (Streamable HTTP) transports. It can also run as a hosted endpoint with no local installation required.
More Files & Storage MCP servers
WORK IN PROGRESS - USE WITH CAUTION - Windows:
hanwegMCP server for working with PDF files
MCP Filesystem Server
mark3labsGo server implementing Model Context Protocol (MCP) for filesystem operations.
S3 MCP Server
samuraikunMCP server to integrate AWS S3 and LLM
Bulk Filesystem Operations MCP Server
strawgateMCP Server for reading many files at the same time
Rust MCP Filesystem
rust-mcp-stackBlazing-fast, asynchronous MCP server for seamless filesystem operations.
Comments