Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
registry version 1.7.14
npm
npx -y @mdmagic/mcp-servernpm
npx -y @mdmagic/mcp-server@1.7.14Streamable HTTP
https://api.mdmagic.ai/mcp
Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.
claude_desktop_config.json
{
"mcpServers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}{
"mcpServers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server@1.7.14"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}Remote (hosted) endpoint
https://api.mdmagic.ai/mcp
Claude Desktop: Settings → Connectors → Add custom connector, paste this URL, and provide: x-api-key.
Format verified against the official Claude Desktop docs ↗.
terminal
claude mcp add --env MDMAGIC_API_KEY=<YOUR_MDMAGIC_API_KEY> mdmagic-mcp-server -- npx -y @mdmagic/mcp-server
claude mcp add --env MDMAGIC_API_KEY=<YOUR_MDMAGIC_API_KEY> mdmagic-mcp-server -- npx -y @mdmagic/mcp-server@1.7.14
terminal
claude mcp add --transport http mdmagic-mcp-server https://api.mdmagic.ai/mcp --header "x-api-key: Bearer <YOUR_X_API_KEY>"
Format verified against the official Claude Code docs ↗.
.cursor/mcp.json
{
"mcpServers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}{
"mcpServers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server@1.7.14"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}.cursor/mcp.json (hosted endpoint)
{
"mcpServers": {
"mdmagic-mcp-server": {
"url": "https://api.mdmagic.ai/mcp",
"headers": {
"x-api-key": "<YOUR_X_API_KEY>"
}
}
}
}Format verified against the official Cursor docs ↗.
.vscode/mcp.json
{
"servers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}{
"servers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server@1.7.14"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}.vscode/mcp.json (hosted endpoint)
{
"servers": {
"mdmagic-mcp-server": {
"type": "http",
"url": "https://api.mdmagic.ai/mcp",
"headers": {
"x-api-key": "<YOUR_X_API_KEY>"
}
}
}
}Format verified against the official VS Code docs ↗.
mcp_config.json
{
"mcpServers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}{
"mcpServers": {
"mdmagic-mcp-server": {
"command": "npx",
"args": [
"-y",
"@mdmagic/mcp-server@1.7.14"
],
"env": {
"MDMAGIC_API_KEY": "<YOUR_MDMAGIC_API_KEY>"
}
}
}
}mcp_config.json (hosted endpoint)
{
"mcpServers": {
"mdmagic-mcp-server": {
"serverUrl": "https://api.mdmagic.ai/mcp",
"headers": {
"x-api-key": "<YOUR_X_API_KEY>"
}
}
}
}Format verified against the official Windsurf docs ↗.
Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.
MDMAGIC_API_KEY required secret — 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-pasteablMDMAGIC_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.x-api-key required secret header — Your personal MDMagic API key from https://mdmagic.ai/account最近更新于 163 天前 · MIT license
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…
Summary from the project README — github.com/MDMagic-MCP/mdmagic-mcp-server
Distributed as npm, Streamable HTTP, listed under Developer Tools. Review our MCP security guide before granting access to real data.
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
Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.
The MCP server itself is free to install. The source is public on https://github.com/MDMagic-MCP/mdmagic-mcp-server. Any third-party service it calls may require its own API key and account.
Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.
Publish this server? Link back with a badge on your README or site — copy either snippet.
Markdown
[](https://mcpnav.net/server/mdmagic-mcp-server/)
HTML
<a href="https://mcpnav.net/server/mdmagic-mcp-server/"><img src="https://mcpnav.net/badge/mdmagic-mcp-server.svg" alt="Listed on MCPNav" height="20"></a>