mcp-markdown-to-docx
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., "@mcp-markdown-to-docxCreate a styled meeting notes DOCX with dark blue headers"
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.
📄 MCP Markdown to DOCX Server
An MCP (Model Context Protocol) server that empowers your AI agents (like Claude Desktop or Cursor) to autonomously generate beautifully styled, production-ready Microsoft Word (.docx) documents from Markdown.
🌟 The Concept: AI-Driven Document Formatting
Most AI agents can write text, but delivering a finished, clean, and properly formatted file is often a manual secondary step.
This MCP server bridges that gap. It gives your AI the ability to not only write your content but also fully control document styling. When the AI uses this tool, it can decide on fonts, header colors, margins, and typography directly through parameters. The result? A perfectly formatted Word document saved directly to your local drive, ready to be sent or presented.
No more copy-pasting raw text into Word and manually tweaking headers. Let the AI do the secretarial work.
Related MCP server: Word MCP
✨ Features
Markdown to DOCX Conversion: Seamlessly translates standard Markdown (including tables, lists, and code blocks) into native Word elements.
Autonomous Styling: AI agents can dynamically inject style settings (
font_family,h1_color,body_size_pt, etc.) via JSON parameters.Local File Saving: Generates the
.docxfile and saves it securely to your local machine (or any designated directory).FastMCP Integration: Built using the official
mcpPython SDK for robuststdiocommunication with clients like Claude Desktop.
🚀 Installation
Option 1: Using uv (Recommended)
You don't even need to install it manually. Just use uvx:
uvx mcp-markdown-to-docxOption 2: Standard Python installation
Clone the repository:
git clone https://github.com/Baptiste4321/mcp-markdown-to-docx.git cd mcp-markdown-to-docxInstall the package: Ensure you have Python 3.10 or higher installed.
pip install .
⚙️ Configuration (Claude Desktop)
To connect this tool to Claude Desktop, add the following configuration to your claude_desktop_config.json file.
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"markdown-to-docx": {
"command": "uvx",
"args": [
"mcp-markdown-to-docx"
],
"env": {
"MARKDOWN_API_URL": "https://markdown-to-docx.pfoly.com"
}
}
}
}Note: If you installed it manually via pip instead of uv, change the command to
mcp-markdown-to-docxand remove the args.
💬 Example Prompts
Once configured, simply talk to your AI Agent:
"Write a comprehensive report about the impact of AI on modern healthcare. Format the output as a Word document, use 'Montserrat' font, and make all main headers dark blue. Save it to my Desktop."
"Take these rough meeting notes, expand them into a professional meeting minutes document, and generate a DOCX file named 'Q3_Meeting_Minutes'."
📜 License
MIT License. Feel free to fork and modify!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Baptiste4321/mcp-markdown-to-docx'
If you have feedback or need assistance with the MCP directory API, please join our Discord server