
Aigroup Mdtoword Mcp
io.github.jackdark425Published by GitHub account jackdark425v4.0.2Updated Oct 24, 2026
本地 Markdown 到 Word 文档转换工具,支持最新 MCP 协议特性、完整的页眉页脚页码功能、增强的表格功能、数据导入和数学公式支持,修复本地相对路径图片嵌入问题
Overview
Converts Markdown content or files into styled Word .docx documents, including tables, formulas, images, and Mermaid diagrams.
- What you can do
- This local MCP server generates professional .docx documents from Markdown. Its main tool, markdown_to_docx, accepts Markdown text or a file path plus a filename, output path, and style configuration, and applies templates, heading and paragraph styles, table presets, image sizing, code block styling, and headers, footers, page numbers, and watermarks. A second tool, table_data_to_markdown, turns CSV or JSON tabular data into formatted Markdown tables. It also exposes template, style-guide, and metrics resources.
- When to use it
- Useful when an assistant needs to produce Word deliverables from Markdown, such as reports, academic papers, or business documents, and when consistent styling, tables, formulas, or diagrams matter. It is a local desktop-oriented tool rather than a hosted service.
- Requirements
- Runs locally over stdio as an npm package (aigroup-mdtoword-mcp). Requires Node.js 18 or later and npm 8 or later; it can be started with npx or from a local build. No authentication, environment variables, or headers are declared.
Installation
In SourceWeft
- Open Aigroup Mdtoword Mcp in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
AI Group Markdown to Word MCP Server
[License: MIT] [Node.js] [MCP Protocol] [Version]
Professional Markdown-to-Word conversion over MCP, with advanced styling, tables, formulas, images, Mermaid rendering, and HTTP deployment support.
Overview
aigroup-mdtoword-mcp is an MCP server for generating professional .docx documents from Markdown content.
It is designed for:
- converting Markdown into structured Word documents
- applying reusable templates and styling presets
- rendering tables, formulas, images, and Mermaid diagrams
- exposing both MCP and simplified HTTP endpoints
- integrating with Claude Desktop and other MCP-compatible clients
Highlights
- Markdown to DOCX conversion with document styling and layout control
- Advanced formatting for headings, tables, lists, code blocks, and blockquotes
- Math support for inline and block formulas
- Image embedding for local and remote assets
- Mermaid rendering with safe fallback to code blocks
- Header / footer / page numbering / watermark support
- Template, resource, and prompt support for guided usage
- HTTP deployment options including Cloudflare Worker workflows
Quick Start
Requirements
- Node.js >= 18
- npm >= 8
Run with npx
Install locally
MCP Client Configuration
Claude Desktop / compatible MCP clients
Local build output
Tools
markdown_to_docx
Converts Markdown content or a Markdown file into a .docx document.
Typical inputs include:
markdowninputPathfilenameoutputPathstyleConfig
table_data_to_markdown
Converts CSV or JSON tabular data into formatted Markdown tables.
Typical inputs include:
dataformatstylehasHeader
Resources
Templates
template://customer-analysistemplate://academictemplate://businesstemplate://technicaltemplate://minimal
Style Guides
style-guide://quick-startstyle-guide://advancedstyle-guide://templates
Metrics
metrics://conversion-statsmetrics://memory-usage
Styling Capabilities
The styling system supports:
- document-level fonts, colors, and page layout
- heading and paragraph styles
- table presets and formatting
- image sizing and placement
- code block styling
- headers, footers, page numbers, and watermarks
Included table styles cover common business, academic, financial, technical, and minimal report layouts.
Example
Deployment
HTTP server
Cloudflare Worker
Related endpoints typically include:
/health/mcp/convert/.well-known/ai-plugin.json/openapi.yaml/openapi.json
See detailed guidance in docs/DEPLOYMENT_INSTRUCTIONS.md.
Project Structure
Development
Additional test commands:
npm run test:mathnpm run test:imagesnpm run test:pagesnpm run test:mermaid
License & Usage
This project is released under the MIT License.
In practical terms, MIT allows you to:
- use this project in personal, internal, academic, or commercial scenarios
- copy, modify, merge, publish, and distribute the code
- build proprietary or open-source products on top of it
- ship derivative works as long as the required copyright and license notice is preserved
Please keep in mind:
- you must retain the original copyright notice and MIT license text in copies or substantial portions of the software
- the software is provided "AS IS", without warranty of any kind
- if you package this project into hosted services, desktop tools, plugins, or internal workflows, you are responsible for your own compliance, security review, and downstream usage constraints
See the full text in LICENSE.
Acknowledgments
Core Dependencies & Ecosystem
-
Model Context Protocol SDK
- Repository: https://github.com/modelcontextprotocol/servers
- Role: MCP server protocol integration
-
docx by Dolan Miu
- Repository: https://github.com/dolanmiu/docx
- Role: core Word document generation engine
Community Inspiration
- Inspired by the broader MCP community and ecosystem
Support
Source: README.md at commit 7a0b784
Tools
0Version history
1- v4.0.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts