MCP Server
MCP
io.github.MDMagic-MCP/mdmagic-mcp-server
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Install
npx -y @mdmagic/[email protected]
Configuration Example
{
"remotes": [
{
"type": "streamable-http",
"url": "https://api.mdmagic.ai/mcp",
"headers": [
{
"description": "Your personal MDMagic API key from https://mdmagic.ai/account",
"isRequired": true,
"isSecret": true,
"name": "x-api-key"
}
]
}
],
"packages": [
{
"registryType": "npm",
"identifier": "@mdmagic/mcp-server",
"version": "1.7.14",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "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.",
"isRequired": true,
"isSecret": true,
"name": "MDMAGIC_API_KEY"
},
{
"description": "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.",
"default": "https://api.mdmagic.ai",
"name": "MDMAGIC_BASE_URL"
},
{
"description": "Request timeout in milliseconds. Increase for very large documents on slow connections. Default: 30000 (30s).",
"default": "30000",
"name": "REQUEST_TIMEOUT"
},
{
"description": "Transport mode: 'stdio' (default, for local clients like Claude Desktop) or 'http' (for self-hosted Streamable HTTP).",
"default": "stdio",
"name": "MCP_TRANSPORT"
},
{
"description": "Port for HTTP transport mode. Default: 3001. Only used when MCP_TRANSPORT=http.",
"default": "3001",
"name": "MCP_HTTP_PORT"
},
{
"description": "Bind address for HTTP transport mode. Default: 127.0.0.1. Only used when MCP_TRANSPORT=http.",
"default": "127.0.0.1",
"name": "MCP_HTTP_HOST"
}
]
}
]
}
mcp
model-context-protocol
streamable-http
npm
By
Comments
Sign in to leave a comment