原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Mdmagic MCP Server

作者:MDMagic-MCP版本 1.7.14i★ –i电脑或云端
注册名称io.github.MDMagic-MCP/mdmagic-mcp-server

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 电脑或云端
  • 传输方式: stdio, Streamable HTTP
  • 分类: 文档、表格与办公
  • 你需要填写:MDMAGIC_API_KEY, x-api-key

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
  • 需要你自己填写: MDMAGIC_API_KEY, MDMAGIC_BASE_URL, REQUEST_TIMEOUT, MCP_TRANSPORT, MCP_HTTP_PORT, MCP_HTTP_HOST, x-api-key

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • 在云端运行无需安装任何东西,通过互联网连接
  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

或者在你的电脑上运行

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "mdmagic": {
      "command": "npx",
      "args": [
        "-y",
        "@mdmagic/mcp-server"
      ],
      "env": {
        "MDMAGIC_API_KEY": "your-value",
        "MDMAGIC_BASE_URL": "your-value",
        "REQUEST_TIMEOUT": "your-value",
        "MCP_TRANSPORT": "your-value",
        "MCP_HTTP_PORT": "your-value",
        "MCP_HTTP_HOST": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add --transport http mdmagic https://api.mdmagic.ai/mcp --header 'x-api-key: your-value'

或者在你的电脑上运行

claude mcp add mdmagic --env MDMAGIC_API_KEY=your-value --env MDMAGIC_BASE_URL=your-value --env REQUEST_TIMEOUT=your-value --env MCP_TRANSPORT=your-value --env MCP_HTTP_PORT=your-value --env MCP_HTTP_HOST=your-value -- npx -y @mdmagic/mcp-server

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mdmagic": {
      "url": "https://api.mdmagic.ai/mcp",
      "headers": {
        "x-api-key": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "mdmagic": {
      "command": "npx",
      "args": [
        "-y",
        "@mdmagic/mcp-server"
      ],
      "env": {
        "MDMAGIC_API_KEY": "your-value",
        "MDMAGIC_BASE_URL": "your-value",
        "REQUEST_TIMEOUT": "your-value",
        "MCP_TRANSPORT": "your-value",
        "MCP_HTTP_PORT": "your-value",
        "MCP_HTTP_HOST": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mdmagic": {
      "type": "http",
      "url": "https://api.mdmagic.ai/mcp",
      "headers": {
        "x-api-key": "your-value"
      }
    }
  }
}

或者在你的电脑上运行

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "mdmagic": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mdmagic/mcp-server"
      ],
      "env": {
        "MDMAGIC_API_KEY": "your-value",
        "MDMAGIC_BASE_URL": "your-value",
        "REQUEST_TIMEOUT": "your-value",
        "MCP_TRANSPORT": "your-value",
        "MCP_HTTP_PORT": "your-value",
        "MCP_HTTP_HOST": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • MDMAGIC_API_KEY 机密 必填 env
    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-…
  • MDMAGIC_BASE_URL env
    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 env
    Request timeout in milliseconds. Increase for very large documents on slow connections. Default: 30000 (30s).
  • MCP_TRANSPORT env
    Transport mode: 'stdio' (default, for local clients like Claude Desktop) or 'http' (for self-hosted Streamable HTTP).
  • MCP_HTTP_PORT env
    Port for HTTP transport mode. Default: 3001. Only used when MCP_TRANSPORT=http.
  • MCP_HTTP_HOST env
    Bind address for HTTP transport mode. Default: 127.0.0.1. Only used when MCP_TRANSPORT=http.
  • x-api-key 机密 必填 HTTP header
    Your personal MDMagic API key from https://mdmagic.ai/account

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 MDMagic-MCP 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“文档、表格与办公”中的其他服务器比较i

  • 星标数多于此分类中其他 2169 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2169 个服务器的 10% 更新
  • 基础检查结果等于或优于此分类中其他 2169 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Mdmagic MCP Server 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:MDMAGIC_API_KEY, x-api-key

它在我的电脑上运行还是在云端?

两种方式都可以:安装在你的电脑上,或者连接云端版本。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.7.14)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Agent-Native Calendar

作者:BuilderIO

Agent-Native Google Calendar - manage events, sync, and public booking

在云端运行★ 7,620MIT2个月前更新
安装

Excel MCP Server

作者:haris-musa

Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.

在你的电脑上运行★ 4,276MIT5天前更新
安装

MCP Server for Excel

作者:sbroenne

Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.

在你的电脑上运行★ 847MIT3天前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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.

MDMagic plugs straight into Claude, Cursor, VS Code, and any MCP-compatible AI assistant — giving them direct access to a professional document conversion pipeline (Pandoc + Microsoft Graph + Mammoth.js) and, more importantly, your templates. Upload your existing letterhead, stationery, brand guidelines, contract shells, or proposal templates — anything you already use in Microsoft Word — and your AI assistant can convert any Markdown directly into a polished document carrying *your* logo, fonts, colours, footers, page numbers, watermarks, and signature blocks. The output looks like it came from your design team, not from a generic AI export.

You: "Take this report and turn it into an Executive_Platinum PDF."

Claude: ✅ Done. Here's your secure download link. 14-page PDF, 2.3 MB, expires in 60 minutes.

Install

You need an MDMagic account (free tier available) and your API key from your account page.

Claude Desktop

Add this to your claude_desktop_config.json:

{

"mcpServers": { "mdmagic": { "command": "npx", "args": ["-y", "@mdmagic/mcp-server@latest"], "env": { "MDMAGIC_API_KEY": "mdmagic-xxxxxxxxxxxxxxxx" } } } }

Config file location:

  • macOS — ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows — %APPDATA%\Claude\claude_desktop_config.json
  • Linux — ~/.config/Claude/claude_desktop_config.json

Restart Claude Desktop. The MDMagic tools will appear in the tool list.

Cursor

Add to ~/.cursor/mcp.json (or via Settings → MCP):

{

"mcpServers": { "mdmagic": { "command": "npx", "args": ["-y", "@mdmagic/mcp-server@latest"], "env": { "MDMAGIC_API_KEY": "mdmagic-xxxxxxxxxxxxxxxx" } } } }

VS Code (with an MCP extension)
{

"mcp.servers": { "mdmagic": { "command": "npx", "args": ["-y", "@mdmagic/mcp-server@latest"], "env": { "MDMAGIC_API_KEY": "mdmagic-xxxxxxxxxxxxxxxx" } } } }

Hosted (no install)

Don't want Node on the user's machine? Use the hosted endpoint:

{

"mcpServers": { "mdmagic": { "url": "https://api.mdmagic.ai/mcp", "headers": { "x-api-key": "mdmagic-xxxxxxxxxxxxxxxx" } } } }

Same tools, same templates, served over Streamable HTTP. Useful for clients that don't run local processes.

What you can do

Once connected, ask your AI assistant things like:

  • *"Convert this markdown to a PDF using the Executive_Platinum template."*
  • *"What templates do I have available?"*
  • *"How many credits will it cost to render this 800-word report as DOCX + PDF?"*
  • *"Render this in landscape, US Letter, with the Legal_Burgundy template."*
  • *"Check my credit balance."*

The AI picks the right tool and returns a secure, time-limited download link.

Tools

ToolWhat it does
convert_documentConvert Markdown → DOCX / PDF / HTML / all three. Returns a secure expiring URL.
validate_markdownPre-flight check before conversion. Catches malformed tables, unclosed code fences, and other syntax issues that would produce broken output.
estimate_conversion_costPre-flight cost estimate based on word count, page count, format, and template type.
check_credit_balanceCurrent credit balance (subscription + purchased pools), plan status.
list_all_templatesFull template catalog: 15 built-in templates (grouped by category) + your custom uploads.
list_builtin_templatesOnly the built-in templates: Business (5), Creative (6), Professional (2), Technical (2).
list_custom_templatesOnly your custom uploaded templates.
get_template_detailsShow available variants (page sizes × orientations) for a specific template.
recommend_templateSuggest the best built-in template for a described purpose ("Q4 board pack" → Executive_Platinum).
show_default_settingsYour default page size, orientation, and template preferences.
convert_document — input options

Three ways to provide the source:

  • content — raw markdown string (most common)
  • filePath — absolute path to a .md file (great for IDE workflows)
  • fileContent — base64-encoded markdown (for binary-safe transports)

Plus:

  • templateName — e.g. Executive_Platinum, Legal_Burgundy, or a custom template UUID
  • outputFormat — docx, pdf, html, all, or all-formats
  • pageSize — A4, A3, US_Letter, US_Legal, Executive
  • orientation — Portrait or Landscape

Config

VariableDefaultNotes
MDMAGIC_API_KEY*(required)*Your personal API key from mdmagic.ai/account
MDMAGIC_BASE_URLhttps://api.mdmagic.aiOverride only for local dev or staging
REQUEST_TIMEOUT30000Request timeout in ms
MCP_TRANSPORTstdiostdio (default) or http for self-hosted Streamable HTTP
MCP_HTTP_PORT3001Port for HTTP transport mode
MCP_HTTP_HOST127.0.0.1Bind address for HTTP transport mode

Most users will only ever set MDMAGIC_API_KEY.

Pricing

Conversions cost credits, calculated from page count and output format:

  • DOCX: 1 credit per page (base)
  • PDF: +1 credit per page
  • HTML: +1 credit per page
  • Custom templates: +1 credit per page

A 5-page report converted to DOCX + PDF + HTML using a custom template = 5 × (1 + 1 + 1 + 1) = 20 credits.

The estimate_conversion_cost tool returns exact numbers before you spend anything. The MCP also refuses to run if your balance is too low — no surprise bills.

Free-tier credits renew monthly. Paid plans and credit top-ups available at mdmagic.ai.

Privacy

  • No permanent storage. 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.
  • Random filenames. Source files use UUIDs, never user-identifiable names.
  • Secure download URLs. Each conversion returns a one-time URL with session ID and download token. No public file directories.
  • API key isolation. Each user authenticates with their own key. No shared credentials.

Troubleshooting

`MDMAGIC_API_KEY environment variable is required` Set the env var in your client config (the env block in the JSON). Don't put it in a shell — npx won't see it.

`Invalid API key format` Keys must match mdmagic- followed by exactly 16 digits. Copy it cleanly from your account page.

`Failed to connect to MDMagic API` Check https://api.mdmagic.ai/health in a browser. If it's up, the issue is local network or firewall. Confirm MDMAGIC_BASE_URL (default https://api.mdmagic.ai) is reachable from the machine running the MCP.

Tools don't appear in Claude Desktop Fully quit and relaunch Claude Desktop after editing claude_desktop_config.json — a window close isn't enough.

`Insufficient credits` Use check_credit_balance to confirm balance, estimate_conversion_cost to preview costs, or top up at mdmagic.ai/account.

Local development

git clone https://github.com/MDMagic-MCP/mdmagic-mcp-server.git

cd mdmagic-mcp-server npm install

Set your API key (use http://localhost:3000 if running the API locally)

cp .env.example .env

edit .env

Build and inspect

npm run build npm run inspector

The MCP Inspector (npm run inspector) launches a web UI for poking the server tool-by-tool — useful when adding new tools or debugging argument validation.

Run tests with npm test.

Links

License

MIT — see LICENSE.

问 PopNx