Mdmagic MCP Server
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Connect it
Settings → Connectors → Add custom connector
URL: https://api.mdmagic.ai/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://api.mdmagic.ai/mcp{
"mcpServers": {
"mdmagic-mcp-server": {
"url": "https://api.mdmagic.ai/mcp",
"headers": {
"x-api-key": "<YOUR_X_API_KEY>"
}
}
}
}claude mcp add --transport http mdmagic-mcp-server https://api.mdmagic.ai/mcp --header "x-api-key: <value>"{
"servers": {
"mdmagic-mcp-server": {
"type": "http",
"url": "https://api.mdmagic.ai/mcp",
"headers": {
"x-api-key": "<YOUR_X_API_KEY>"
}
}
}
}{
"mcpServers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server@1.7.14"
],
"env": {
"MDMAGIC_API_KEY": "<value>"
}
}
}
}claude mcp add mdmagic-mcp-server -- npx -y @mdmagic/mcp-server@1.7.1410 tools, verified live
convert_documentConvert markdown to a professionally formatted document using an MDMagic template. IMPORTANT GUIDANCE: 1. Output format → what user gets: - 'docx' → a single Word .docx file - 'pdf' → a single .pdf file - 'html' → a single .html file - 'all' → a ZIP containing all three (DOCX + PDF + HTML) 2. If the user is ambiguous (e.g. 'convert this'), ASK which format they want before calling.
list_all_templatesread-onlyList all 15 built-in MDMagic templates plus any custom templates the user has uploaded. CALL THIS PROACTIVELY when: - The user mentions a template by name (verify it exists before convert_document) - The user asks 'what templates are available' or similar - A previous convert_document call returned 'template not found' - The user describes the look they want without naming a template (so you can
list_builtin_templatesread-onlyList the 15 built-in MDMagic templates, grouped by category. Same as list_all_templates but excludes the user's custom uploads. Use this when the user asks specifically about MDMagic's bundled templates rather than their personal ones. Categories available: Business (5), Creative (6), Professional (2), Technical (2).
list_custom_templatesread-onlyList only the user's custom-uploaded Word templates. Use this when the user asks about their own templates ('show me my templates', 'do I have a letterhead?'). Custom templates are referenced by UUID, not name, when calling convert_document.
show_default_settingsread-onlyShow the user's default paper size and orientation preferences (set on their account page). Useful when the user hasn't specified pageSize/orientation explicitly — call this to honor their defaults instead of using A4/Portrait blindly.
check_credit_balanceread-onlyCheck the user's current MDMagic credit balance: subscription credits (renewable monthly), purchased credits (permanent), plan name, and plan status. CALL THIS PROACTIVELY when: - The user asks 'how many credits do I have' or similar - After a conversion, if the user wants to know what's left (also returned by convert_document directly) - Before a conversion of an unusually large document, to war
estimate_conversion_costread-onlyEstimate credit cost for a conversion BEFORE running it. Returns word count, page calculation (300 words/page), and a credit breakdown by format and template type. Use this when the user asks 'how much will this cost?' or when you suspect a conversion might exceed their balance — convert_document refuses to run if credits are insufficient, so estimating first is friendlier.
validate_markdownread-onlyPre-flight markdown validation BEFORE conversion. Catches malformed tables (mismatched pipes), unclosed code fences, broken task lists, and unsupported syntax. Returns a green/amber/red status plus the detected markdown features. CALL THIS PROACTIVELY when: - The user is about to convert a long document (>5 pages) — validating first is cheap; running a doomed conversion costs credits - The user r
get_template_detailsread-onlyShow available variants (page sizes and orientations) for a specific template. All MDMagic templates support the full 5×2 matrix: A3, A4, Executive, US_Legal, US_Letter × Portrait/Landscape. Use this when the user asks 'does this template come in Legal Landscape?' or 'what sizes are available?' — confirms the variant before convert_document runs.
recommend_templateread-onlySuggest the best built-in template(s) for a described purpose. Use this when the user describes WHAT the document is (e.g. 'Q4 board pack', 'API reference', 'wedding invitation', 'legal contract') without naming a template. Returns ranked recommendations with rationale. Why this exists: AI assistants often guess template names that don't exist. This tool maps purpose → real template names from MD
Alternatives in Developer Tools
Compare →MDMCP Docs ServerOfficialA
AI access to Mapbox docs, API references, style specs, and guides. No token required.
MGMCP GrafanaOfficialA
An MCP server giving access to Grafana dashboards, data and more.
MDMCP Devkit ServerOfficialA
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Front-End ChecklistA
Review frontend code and live pages against 386 quality-gated web development rules.
PMPostHog MCP ServerOfficialA
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
MAMakeOfficialA
Build, run and debug Make automation scenarios.