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

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

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "mdmagic-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@mdmagic/mcp-server@1.7.14"
      ],
      "env": {
        "MDMAGIC_API_KEY": "<your MDMAGIC_API_KEY>",
        "MDMAGIC_BASE_URL": "https://api.mdmagic.ai",
        "REQUEST_TIMEOUT": "30000",
        "MCP_TRANSPORT": "stdio",
        "MCP_HTTP_PORT": "3001",
        "MCP_HTTP_HOST": "127.0.0.1"
      }
    }
  }
}
Environment variables
  • MDMAGIC_API_KEYrequiredsecretYour 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_URLOverride 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_TIMEOUTRequest timeout in milliseconds. Increase for very large documents on slow connections. Default: 30000 (30s).
  • MCP_TRANSPORTTransport mode: 'stdio' (default, for local clients like Claude Desktop) or 'http' (for self-hosted Streamable HTTP).
  • MCP_HTTP_PORTPort for HTTP transport mode. Default: 3001. Only used when MCP_TRANSPORT=http.
  • MCP_HTTP_HOSTBind address for HTTP transport mode. Default: 127.0.0.1. Only used when MCP_TRANSPORT=http.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.7.14
Registry
active
Published
5/14/2026

Remotes

  • streamable-httphttps://api.mdmagic.ai/mcp
Browse all Developer Tools →

Add the badge to your site

Show visitors that io.github.MDMagic-MCP/mdmagic-mcp-server is listed here — it’s also the link we check for a free listing.

io.github.MDMagic-MCP/mdmagic-mcp-server — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-mdmagic-mcp-mdmagic-mcp-server?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="io.github.MDMagic-MCP/mdmagic-mcp-server — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![io.github.MDMagic-MCP/mdmagic-mcp-server — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-mdmagic-mcp-mdmagic-mcp-server?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.