
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 分