
Aigroup Mdtoword Mcp
io.github.jackdark425由 GitHub 账号 jackdark425 发布v4.0.2更新于 Oct 24, 2026
本地 Markdown 到 Word 文档转换工具,支持最新 MCP 协议特性、完整的页眉页脚页码功能、增强的表格功能、数据导入和数学公式支持,修复本地相对路径图片嵌入问题
概览
将 Markdown 内容或文件转换为带样式的 Word .docx 文档,支持表格、公式、图片和 Mermaid 图表。
- 可以做什么
- 这个本地 MCP 服务器用于从 Markdown 生成专业的 .docx 文档。主要工具 markdown_to_docx 接受 Markdown 文本或文件路径,以及文件名、输出路径和样式配置,并可应用模板、标题与段落样式、表格预设、图片尺寸、代码块样式,以及页眉、页脚、页码和水印。另一个工具 table_data_to_markdown 可将 CSV 或 JSON 表格数据转换为格式化的 Markdown 表格。它还提供模板、样式指南和指标资源。
- 适用场景
- 适合需要由助手把 Markdown 转成 Word 交付物的场景,例如报告、学术论文或商务文档,尤其是对统一样式、表格、公式或图表有要求时。它是面向本地桌面的工具,而非托管服务。
- 运行要求
- 以 npm 包(aigroup-mdtoword-mcp)形式通过 stdio 在本地运行。需要 Node.js 18 或更高版本以及 npm 8 或更高版本;可用 npx 启动,也可从本地构建启动。未声明认证、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 Aigroup Mdtoword Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
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
来源:README.md,提交 7a0b784
工具
0版本历史
1- v4.0.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分