mcpbeat Sign in

Mdmagic MCP Server

by mdmagic-mcp Your server? Claim it
answering

Mdmagic MCP Server is answering right now. Last checked 1 min ago. 68 installs a week from npm. It exposes 10 tools. Last commit 19 May 2026.

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

Installs per day peak 41 · avg 14 · +53% w/w
a month agotoday
Uptime history 48 days of history · worst day 99%
48 days agonow
100.0%
Uptime 24h
92 of 92 checks
10
Tools
read from the server
1240 ms
Response time
average over 24h
68
Installs / week
npm and PyPI

Mdmagic MCP Server missed one check this week

Everything else answered, so this is steady rather than shaky. We check every 15 minutes, which is how a one-off gets told apart from the start of a pattern, and how you hear about the next one within the hour instead of from your users.

Three servers free · no card

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 1 min ago.

run in your terminal
claude mcp add mdmagic-mcp-server --transport http https://api.mdmagic.ai/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "url": "https://api.mdmagic.ai/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mdmagic-mcp-server]
url = "https://api.mdmagic.ai/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "url": "https://api.mdmagic.ai/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "url": "https://api.mdmagic.ai/mcp"
    }
  }
}

This one needs environment variables set before it will start: MDMAGIC_API_KEY (Your personal MDMagic API key (format: mdmagic-XXXXXXXXXXXXXXXX). Get yours at https://mdmagic.ai/account — the 'Connect to AI Assistants via MCP' card on your account page generates the key and pre-fills a copy-pasteable config block.), MDMAGIC_BASE_URL (Override the MDMagic API base URL. Defaults to https://api.mdmagic.ai. Only set this if you're running MDMagic against a local dev backend.), REQUEST_TIMEOUT (Request timeout in milliseconds. Increase for very large documents on slow connections. Default: 30000 (30s).), MCP_TRANSPORT (Transport mode: 'stdio' (default, for local clients like Claude Desktop) or 'http' (for self-hosted Streamable HTTP).), MCP_HTTP_PORT (Port for HTTP transport mode. Default: 3001. Only used when MCP_TRANSPORT=http.), MCP_HTTP_HOST (Bind address for HTTP transport mode. Default: 127.0.0.1. Only used when MCP_TRANSPORT=http.). The author declared them in the registry entry; get the values from the project itself.

Available tools 10

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

all
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').
builtin
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).
convert
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 preserve real newline characters (\n) between blocks. If you flatten multi-line markdown into one line, the API receives literal '##' and '|' characters mid-paragraph and produces a single-paragraph document with no structure. Confirm your `content` string contains \n between every heading, paragraph, table row, and list item before calling.
credit
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
custom
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.
estimate
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.
recommend
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'.
show
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.
template
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.
validate
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.

Endpoints

URLTransportStateLatencyChecked
https://api.mdmagic.ai/mcp streamable-http answering 1204 ms 1 min ago

Alternatives to Mdmagic MCP Server

same job, measured the same way
docx4j Word documents
by plutext

Read, convert and fill Word (.docx) documents: templates, Markdown/HTML in and out, PDF with math.

local only
Distill MCP
by lakshgk

Convert PDF, DOCX, XLSX, PPTX, HTML, audio to token-efficient Markdown for any MCP client.

37 installs/wk local only
FileToPDF
by filetopdf

Convert files, HTML, and Markdown to PDF via the FileToPDF API. Bring your own API key.

49 installs/wk 4 tools answering
Carbone MCP
by carbone

Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating

135 installs/wk 11 tools answering
MCP Document Converter
by xt765

Convert PDF, DOCX, HTML, Markdown, and Text for AI assistant context injection.

98 installs/wk local only
Markdown Formatter
by xjtlumedia

AI Answer Copier — Convert Markdown to PDF, DOCX, HTML, LaTeX, CSV, JSON, XML, XLSX, RTF, PNG

59 installs/wk local only
I
Stylobridge
by blockpal1

Air-gapped Markdown/PDF to Word converter with brand templates and audit logging.

39 installs/wk local only
Mdtidy
by mdtidy

Clean, repair, and convert AI-generated Markdown to HTML/PDF/DOCX/PNG; save and share documents.

69 installs/wk answering

Mdmagic MCP Server — questions

Answers built from our own checks of this server.

What can Mdmagic MCP Server do?
It exposes 10 tools, read directly from the server on our last check. Among them: check_credit_balance, convert_document, estimate_conversion_cost, get_template_details, list_all_templates, list_builtin_templates and 4 more. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is Mdmagic MCP Server working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 92 of 92 checks got a reply (100.0%), average response time 1240 ms. The bar chart above shows every period we have measured.
How do I connect Mdmagic MCP Server?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Mdmagic MCP Server need an API key?
No. Mdmagic MCP Server completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 10 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Mdmagic MCP Server?
It answers our handshake in 1240 ms on average, which is faster than 4% of all working MCP servers we measure. That is on the slow side — worth knowing if the tool sits inside an interactive loop. The comparison comes from our own checks across the whole registry, every 15 minutes.
How many people use Mdmagic MCP Server?
The npm package @mdmagic/mcp-server was installed 68 times in the last week. Week over week that is +53%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Mdmagic MCP Server open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.