
Word MCP Live
io.github.ykarapazar由 GitHub 帳號 ykarapazar 發布v1.2.0更新於 Oct 24, 2026
Live Microsoft Word editing via MCP — tracked changes, undo, comments, 40+ tools
概覽
本機 MCP 伺服器,讓 AI 助理讀取、編輯、排版與審閱 Microsoft Word 文件,並可在檔案開啟時即時編輯並產生修訂。
- 可以做什麼
- 讀寫已儲存的 .docx 檔案:文字、尋找取代、格式、樣式、表格、頁面版面、頁首頁尾、書籤、公式與交互參照,以及插入目錄和版面診斷,不需安裝 Word 即可跨平台使用。在 Windows 或 macOS 上即時編輯 Word 中開啟的文件:文字、格式、表格、修訂與註解直接出現在開啟的檔案中。管理審閱:以設定的作者名稱產生原生修訂、錨定到文字的註解,Windows 上另支援註解回覆、解決/取消解決與復原歷程檢視。復原 AI 操作:Windows 上每次操作可按一次 Ctrl+Z 復原,macOS 上依操作復原。
- 適用情境
- 適合讓助理直接處理 Word 文件而非來回複製貼上:以修訂方式起草或修改合約與報告、修正格式與版面、加入審閱註解,或批次產生與編輯 .docx 檔案。
- 執行需求
- 以 Python 套件形式在本機執行(Python 3.11+),相依套件會自動安裝。即時編輯需安裝 Microsoft Word:Windows 10/11 使用 COM,macOS 使用 Word for Mac 的 JXA。跨平台工具不需 Word。選用環境變數 MCP_AUTHOR 與 MCP_AUTHOR_INITIALS 設定修訂與註解的作者名稱和縮寫;MCP_TRANSPORT、MCP_HOST、MCP_PORT 設定傳輸方式。Docker 模式僅支援跨平台工具。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Word MCP Live,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
word-mcp-live
The only MCP server that edits Word documents while they're open
Live editing · Tracked changes · Per-action undo · 124 tools · Cross-platform
[PyPI] [Python 3.11+] [License: MIT] [Platform: Windows + macOS/Linux]
word-mcp-live gives any AI assistant that supports MCP full control of Microsoft Word. Open a document, tell the AI what you need, and watch it happen — formatting, tracked changes, comments, and all. Changes appear live in your open document.
See it in action
https://github.com/user-attachments/assets/fbb09af4-1e25-4e49-94d0-45b363278810
What Sets This Apart
- Live editing — Edit documents while they're open in Word. No save-close-reopen cycle.
- Full undo — Every AI action is a single Ctrl+Z. Made a mistake? Just undo it.
- Native tracked changes — Real Word revisions with your name, not XML hacks.
- Threaded comments — Add, reply, resolve, and delete comments like a human reviewer.
- Layout diagnostics — Detects formatting problems before they become print disasters.
- Equations & cross-references — Insert math formulas and auto-updating references.
- 124 tools — The most comprehensive Word MCP server available.
Quick Start
Or install from source:
Client Installation
Claude Desktop
Add to your claude_desktop_config.json:
Claude Code
Add to your .mcp.json:
Cursor
One-click: Click the install button at the top of this page.
Manual: Add to ~/.cursor/mcp.json:
VS Code / Copilot
One-click: Install in VS Code
Manual: Add to your VS Code settings.json:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Docker
Note: Docker mode supports cross-platform tools only. Live editing requires a native Windows install.
MCP_AUTHORsets your name on tracked changes and comments (default:"Author").MCP_AUTHOR_INITIALSsets comment initials.
Two Modes
Both modes work together. The AI picks the right one for the task.
macOS Live Editing (New in v1.5.0)
Live tools now work on macOS via JavaScript for Automation (JXA). Same tool names, same parameters — the server detects your platform and uses the right automation backend.
Configuration
For remote deployment, see RENDER_DEPLOYMENT.md.
Example Prompts
Just tell the AI what you want in plain language:
Usage Examples
Example 1: Read a document (cross-platform)
Tool call: get_document_text
Expected output:
Example 2: Live editing with tracked changes (Windows)
Tool call: word_live_replace_text
Expected output:
The replacements appear as tracked changes in Word with strikethrough on "ABC Corporation" and underline on "XYZ Ltd".
Example 3: Add a comment anchored to text (cross-platform)
Tool call: add_comment
Expected output:
The comment appears in Word's Review panel, anchored to the specified text.
Tool Reference
124 tools across two modes — see the complete tool reference for details.
Requirements
- Python 3.11+
python-docx,fastmcp,msoffcrypto-tool(installed automatically)- Windows Live tools: Windows 10/11 + Microsoft Word +
pywin32(installed automatically) - macOS Live tools: macOS + Microsoft Word for Mac (uses built-in JXA — no extra dependencies)
The cross-platform tools work without Word installed — only python-docx is needed.
Contributing
See CONTRIBUTING.md for development setup, code style, and how to add new tools.
Found a bug? Open an issue. Have an idea? Request a feature.
Acknowledgments
Built on top of GongRzhe/Office-Word-MCP-Server by GongRzhe (MIT License).
Additional libraries: python-docx · FastMCP · pywin32
Privacy
This server runs entirely on your local machine. No data is collected, transmitted, or stored. See the full Privacy Policy.
Support
- Bug reports: Open an issue
- Feature requests: Request a feature
- Discussions: GitHub Discussions
License
MIT License — see LICENSE for details.
Star History
[Star History Chart]來源:README.md,提交 c6c7617
工具
0版本歷史
1- v1.2.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分