MCP Office Word

io.github.dosev-ai由 GitHub 帳號 dosev-ai 發布v0.7.0更新於 Oct 24, 2026

50-tool Word MCP server. Document assembly, tracked changes, and export. Windows-first.

已驗證STDIO僅桌面效率與工作流檔案與儲存

概覽

AI 產生的概覽

一個本機 Windows MCP 伺服器,為助理提供 50 個工具,用來組裝、編輯、審閱與匯出 Microsoft Word 文件。

可以做什麼
在允許的目錄內讀取與檢查 Word 文件,包括結構檢查與文件版面及內容的品質檢查。啟用寫入模式時,依範本組裝文件並編輯內容與樣式。透過 Word COM 自動化管理追蹤修訂,並將文件匯出為 PDF 或 HTML。回報伺服器可用的能力與工具清單。
適用情境
適合在 Windows 上處理 .docx 檔案時使用:讓助理依範本產生文件、套用編輯與樣式、審閱追蹤修訂,或匯出為 PDF 或 HTML,同時把檔案存取限制在指定資料夾內。
執行需求
以本機 Python 程序執行(Python 3.11 或更新版本),需要 Windows 10 或 11,從 mcp-office 套件安裝並以 stdio 啟動。必須設定 WORD_ALLOWLIST_ROOTS 才能存取檔案。追蹤修訂與 PDF/HTML 匯出等 COM 工具需要安裝 Microsoft Word;唯讀 docx 工具不需 Word。還需要 Claude Desktop 或 VS Code Copilot 等 MCP 用戶端。
安裝前請注意
除非將 WORD_ENABLE_WRITE 或 WORD_ENABLE_COM 設為 true,否則寫入操作與 COM 工具處於關閉狀態;啟用後助理可以修改文件內容與樣式。檔案存取僅限於 WORD_ALLOWLIST_ROOTS 中列出的目錄,應讓該清單盡量精簡。README 提醒 PyPI 上名稱相近的套件是無關的第三方程式碼,只應安裝 mcp-office 套件。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MCP Office Word,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MCP Office

Local-first, governed MCP servers for Microsoft Office — built for developers who want to treat Office files the way they treat code.

[License: MIT] [Python 3.11+] [CI] [PyPI] [UAT]


What is this?

MCP Office is a suite of Model Context Protocol servers that expose Microsoft Office capabilities as governed, deterministic tool calls. Each server runs locally on Windows, connects to your MCP client (Claude Desktop, VS Code Copilot, or any MCP-compatible client), and gives you structured control over Office files — without an in-app AI assistant.

This is not a Copilot replacement. It is a developer-first execution layer for Office automation.


Packages

✅ Available now

PackageWhat it doesInstallTools
excelmcpRead, write, style, validate, and export Excel workbookspip install mcp-office65
pptmcpBuild, edit, review, and export PowerPoint presentations. Output Contract framework for machine-verifiable slide specspip install mcp-office51
wordmcpTemplate assembly, tracked-changes support, and structural QA for Word documentspip install mcp-office50

🚧 Coming next

PackageStatus
mailmcpIntegrated into the current source distribution; Windows Outlook UAT and published-artifact verification pending

MailMCP is now included in the repository's single mcp-office source distribution, but the currently published PyPI artifact does not yet claim MailMCP availability. See mailmcp/README.md for source validation while Windows Outlook UAT and release verification remain open.

New packages are added as they complete their proof cycle. See ROADMAP.md.


Quick start

Prerequisites

  • Windows 10 or 11
  • Python 3.11 or later (python --version)
  • Claude Desktop or VS Code with GitHub Copilot
  • Microsoft Office (Excel / PowerPoint / Word) — required for COM-backed tools (styling, PDF export, tracked-changes)
  • Classic Microsoft Outlook desktop — required for MailMCP

Install

PyPI note: excelmcp on PyPI is an unrelated third-party package. Do not pip install excelmcp — that ships you a stranger's code. The published suite package is mcp-office.

bash
pip install mcp-office

Or clone and install the consolidated suite from source (including MailMCP and Windows COM support):

bash
git clone https://github.com/dosev-ai/mcp-office.gitcd mcp-officepython -m venv .venv.venv\Scripts\activatepython -m pip install -e ".[com]"

Configure Claude Desktop

Open %APPDATA%\Claude\claude_desktop_config.json (create it if it doesn't exist) and add the servers you installed:

json
{  "mcpServers": {    "excel-excelmcp": {      "command": "python",      "args": ["-m", "excelmcp.server"],      "env": {        "EXCEL_ALLOWLIST_ROOTS": "C:\\path\\to\\your\\files",        "EXCEL_ENABLE_WRITE": "true"      }    },    "powerpoint-pptmcp": {      "command": "python",      "args": ["-m", "pptmcp.server"],      "env": {        "PPT_ALLOWLIST_ROOTS": "C:\\path\\to\\your\\files",        "PPT_ENABLE_WRITE": "true"      }    },    "word-wordmcp": {      "command": "python",      "args": ["-m", "wordmcp.server"],      "env": {        "WORD_ALLOWLIST_ROOTS": "C:\\path\\to\\your\\files",        "WORD_ENABLE_WRITE": "true"      }    }  }}

Replace C:\\path\\to\\your\\files with the directory where your Office files live. Restart Claude Desktop after saving.

Verify

In Claude Desktop, send:

Call capabilities() on excel-excelmcpCall capabilities() on powerpoint-pptmcpCall capabilities() on word-wordmcp

Each should return a tool list (65 for Excel, 51 for PowerPoint, 50 for Word). If a server is missing, check that python resolves to the venv where you installed mcp-office.

Full per-package guides: excelmcp/README.md · pptmcp/README.md · wordmcp/README.md · mailmcp/README.md (source-integrated; release pending)

Detailed step-by-step: docs/quickstart.md


Requirements

RequirementNotes
Windows 10 or 11COM automation requires Windows
Python 3.11+python --version to confirm
Microsoft OfficeRequired for COM-dependent tools (styling, PDF export, tracked-changes). Read-only docx/xlsx/pptx tools work without Office.
Classic Outlook desktopRequired for MailMCP. MailMCP remains release-pending until Windows Outlook UAT and published-artifact verification pass.
MCP clientClaude Desktop or VS Code with Copilot

Architecture

Your MCP client (Claude Desktop / VS Code Copilot / other)        │        │  MCP stdio protocol        ↓  MCP Office servers (local Python processes)   ├─ excelmcp    — Excel automation (live)   ├─ pptmcp      — PowerPoint automation (live)   ├─ wordmcp     — Word automation (live)   └─ mailmcp     — Outlook automation (source-integrated; release pending)        │        │  COM / Outlook COM / openpyxl / python-pptx / python-docx        ↓  Microsoft Office (local installation)

Each server is a standalone local stdio MCP process. MCP Office does not add a hosted service; Microsoft Office and your MCP client/model may still have their own sync and data-handling boundaries.


Contributing

This project is in active development. The best way to contribute right now:

  1. Try any package (excelmcp, pptmcp, wordmcp) and open a First Run Report
  2. Report bugs via GitHub Issues
  3. Ask questions or share what you built in GitHub Discussions

See CONTRIBUTING.md for development guidelines.


License

MIT — see LICENSE.

來源:README.md,提交 d8f84dd

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.7.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分