Converts Markdown text into DOCX documents, supporting custom templates, multi-language outputs, and automatic file management for local or remote environments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@md2docconvert this markdown into a Word document named project_proposal.docx"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
md2doc - Markdown to DOCX MCP Server
A Model Context Protocol (MCP) server that converts Markdown text to DOCX format using an external conversion service.
Features
Convert Markdown text to DOCX format
Support for custom templates
Multi-language support (English, Chinese, etc.)
Automatic file download to user's Downloads directory
Template listing and management
Usage
Cherry Studio
Open Cherry Studio
Go to Settings → MCP
Add the server configuration:
{ "mcpServers": { "md2doc": { "command": "uvx", "args": ["md2doc"], "env": { "DEEP_SHARE_API_KEY": "your-api-key-here" } } } }
Claude Desktop
Open your Claude Desktop configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Add the md2doc server:
{ "mcpServers": { "md2doc": { "command": "uvx", "args": ["md2doc"], "env": { "DEEP_SHARE_API_KEY": "your-api-key-here" } } } }Restart Claude Desktop
Command Line (Quick Start)
For immediate use without any client setup:
Python Integration
You can also use md2doc directly in your Python projects:
Other MCP Clients
The server works with any MCP-compatible client. Configure it to run:
With environment variables:
Cloud Deployment (Remote Server)
When deploying this MCP server on a cloud server (VPS/Docker), set MCP_SAVE_REMOTE=true to return a temporary download link instead of saving to a local directory:
The server will provide a download link for the converted document.
API Key
Free Trial API Key
Use this key for testing:
Purchase API Key - Super Low Price!
Available Tools
convert_markdown_to_docx: Convert markdown text to DOCXlist_templates: Get available templates by language
License
MIT