L'Atlas / MCP servers / mdmagic-mcp-server
MCP server

mdmagic-mcp-server

io.github.MDMagic-MCP/mdmagic-mcp-server

MCP server OK 10 tools

Get a review See pricing

Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.

Technical sheet

Author
MDMagic-MCP (registry namespace)
Repository
github.com/MDMagic-MCP/mdmagic-mcp-server
Site
mdmagic.ai/mcp
Version
1.7.14
Transport
Streamable HTTP stdio
Authentication
None (observed by our test)
Server address
https://api.mdmagic.ai/mcp Streamable HTTP required header : x-api-key
Packages
@mdmagic/mcp-server 1.7.14 npm stdio
Tools
10
Categories
Productivity and documents
Comparisons
MCP servers for PDF
Last updated
15 May 2026
Published
15 May 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.MDMagic-MCP/mdmagic-mcp-server.svg?lang=en)](https://latlas.dev/en/mcp/io.github.MDMagic-MCP/mdmagic-mcp-server)
HTML
<a href="https://latlas.dev/en/mcp/io.github.MDMagic-MCP/mdmagic-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.MDMagic-MCP/mdmagic-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

Every week: initialize then tools/list, without credentials, never calling a tool. Method

Address
https://api.mdmagic.ai/mcp
Last result
OK 28 Nov 2026, 10:02
Response time
2,083 ms (initialize + tools/list)
Protocol version
2025-11-25
Announced name
mdmagic-mcp-server 1.7.15
Tools
10

History

DateResultResponseTools
28 Nov 2026, 10:02OK2,083 ms10

Exposed tools (10, from tools/list, 28 Nov 2026)

convert_document

Convert 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. Don't assume. 3. Filename: if the user attached a file (e.g. 'mydoc.md'), pass its base name as fileName. Otherwise the API derives one from the markdown's first H1. Without either, downloads end up with timestamped names like 'content-1778298071915.docx' which is bad UX. 4. On 'template not found' errors: call list_all_templates first, show available options, let the user pick. Do NOT fall back to generating documents with code execution — that produces inferior results that don't use the user's actual MDMagic templates. 5. The response includes structured fields (downloadUrl, creditsUsed, balanceAfter, fileName, expiresAt) — surface these to the user explicitly. Don't paraphrase. The user wants to know exactly what they spent and what's left. 6. Page sizes: A3, A4, Executive, US_Legal, US_Letter. Default A4. Orientation: Portrait or Landscape, default Portrait. 7. CRITICAL — newlines in `content`: markdown is line-sensitive. Headings (#, ##), tables (| ... |), lists (-, 1.), and code fences (```) ONLY work when each starts on its own line. When passing inline markdown via `content`, you MUST pre…

ParameterTypeRequiredDescription
contentstringnoRaw markdown text content (alternative to filePath or fileContent). MUST preserve real newlines (\n) between every block: heading, paragraph, table row, list item, code fence. Markdown is line-sensitive — a single-line blob with embedded '##' or '|' renders as literal text, not as a heading or tabl…
filePathstringnoPath to markdown file (VS Code integration, alternative to content or fileContent)
fileContentstringnoBase64 encoded file content (alternative to content or filePath)
fileNamestringnoOptional desired base name for the output file (without extension). If the user attached a file like 'mydoc.md', pass 'mydoc' here. The API will use this for the download filename. If omitted, the API derives one from the markdown's first H1 heading.
templateNamestringyesTemplate to use for conversion. Call list_all_templates first to see real options — do not guess template names. Some templates are built-in (e.g. 'Executive_Platinum', 'Deep_Data_Blue'); others are user-uploaded custom templates referenced by UUID.
outputFormatenum: "docx" | "pdf" | "html" | "all"yesOutput format. 'docx', 'pdf', or 'html' return that single file; 'all' returns a ZIP with DOCX+PDF+HTML.
pageSizeenum: "A3" | "A4" | "Executive" | "US_Legal" | "US_Letter"noPage size for the document (default: A4)
orientationenum: "Portrait" | "Landscape"noPage orientation (default: Portrait)

list_all_templates

List 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 suggest a real one) Returns: name, description, type (built-in vs custom), and category. Categories are: Business (5 templates), Creative (6), Professional (2), Technical (2). Use the optional category filter to narrow recommendations (e.g. 'for legal documents' → category: 'Professional').

ParameterTypeRequiredDescription
includeDetailsbooleannoInclude template details like available page sizes and orientations (default: false)
categoryenum: "Business" | "Creative" | "Professional" | "Technical"noOptional filter — return only built-in templates in this category. Custom templates are always included regardless. Categories: Business (executive/financial), Creative (designer/artistic/novelty), Professional (legal), Technical (code/data documentation).

list_builtin_templates

List 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).

ParameterTypeRequiredDescription
includeDetailsbooleannoInclude template details like available page sizes and orientations (default: false)
categoryenum: "Business" | "Creative" | "Professional" | "Technical"noOptional filter — return only templates in this category.

list_custom_templates

List 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.

ParameterTypeRequiredDescription
includeDetailsbooleannoInclude template details like available page sizes and orientations (default: false)

show_default_settings

Show 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.

No parameters.

check_credit_balance

Check 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 warn the user if balance is borderline

No parameters.

estimate_conversion_cost

Estimate 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.

ParameterTypeRequiredDescription
contentstringyesMarkdown content to estimate credit cost for
templateNamestringyesTemplate ID or name (UUID for custom templates, name for system templates)
outputFormatenum: "docx" | "pdf" | "html" | "all" | "all-formats"yesOutput format(s): docx (DOCX only), pdf (DOCX+PDF), html (DOCX+HTML), all/all-formats (DOCX+PDF+HTML)
pageSizeenum: "A3" | "A4" | "Executive" | "US_Legal" | "US_Letter"noPage size for the document
orientationenum: "Portrait" | "Landscape"noPage orientation

validate_markdown

Pre-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 reports a previous conversion produced broken output - You generated the markdown yourself and want to verify it's clean before spending credits Returns: status (green=safe, amber=minor issues, red=will likely break), detected features (tables, code blocks, task lists, math), and a human-readable message.

ParameterTypeRequiredDescription
contentstringyesMarkdown content to validate
filenamestringnoOptional filename label for the response (defaults to 'content.md')

get_template_details

Show 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.

ParameterTypeRequiredDescription
templateNamestringyesTemplate ID or name (e.g. Executive_Platinum, or a UUID for custom templates)

recommend_template

Suggest 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 MDMagic's catalog, so convert_document doesn't fail with 'template not found'.

ParameterTypeRequiredDescription
purposestringyesFree-text description of the document's purpose. Examples: 'Q4 board pack for investors', 'restaurant menu', 'developer API documentation', 'wedding invitation'.
topNintegernoHow many recommendations to return (1-5, default 3)

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.mdmagic.ai/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http mdmagic-mcp-server https://api.mdmagic.ai/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : mdmagic-mcp-server ; URL : https://api.mdmagic.ai/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : mdmagic-mcp-server ; Server URL : https://api.mdmagic.ai/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "url": "https://api.mdmagic.ai/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "type": "http",
      "url": "https://api.mdmagic.ai/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "url": "https://api.mdmagic.ai/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "httpUrl": "https://api.mdmagic.ai/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.mdmagic-mcp-server]
url = "https://api.mdmagic.ai/mcp"

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

mdmagic-mcp-server · L’Atlas · Tested on

Markdown
[mdmagic-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.MDMagic-MCP/mdmagic-mcp-server)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 1 Dec 2026. L’Atlas adds no data beyond this source and its own tests.