
MCP Office Excel
io.github.dosev-ai由 GitHub 帳號 dosev-ai 發布v0.7.0更新於 Oct 25, 2026
65-tool Excel MCP server. Read, write, format, and export .xlsx files. Windows-first.
概覽
一個本機 Windows MCP 伺服器,為助理提供 65 個工具,用來讀取、寫入、格式化、驗證和匯出 Excel .xlsx 活頁簿。
- 可以做什麼
- 讀取和檢視活頁簿內容,每次呼叫回傳的列數可設定(預設 50)。啟用寫入模式後寫入儲存格、建立工作表並套用格式。透過 COM 工具重新計算活頁簿、匯出 PDF、填入範本、建立樞紐分析表和計算公式。作為受管控的 Office 自動化套件的一部分,驗證並匯出 Excel 檔案。
- 適用情境
- 適合在 Windows 上處理 .xlsx 檔案,並希望助理透過結構化工具呼叫檢視、編輯、格式化或匯出試算表,而非手動操作。適用於需要將檔案存取限制在指定目錄的開發者式 Office 自動化情境。
- 執行需求
- 在 Windows 10 或 11 上以 stdio 本機程序執行,需要 Python 3.11 或更新版本,從 mcp-office 套件安裝。必須設定 EXCEL_ALLOWLIST_ROOTS,列出伺服器可存取的目錄。寫入操作需將 EXCEL_ENABLE_WRITE 設為 true。COM 工具需將 EXCEL_ENABLE_COM 設為 true,並需要 pywin32 和本機安裝的 Microsoft Excel。還需要 Claude Desktop 或 VS Code Copilot 等 MCP 用戶端。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 MCP Office Excel,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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
🚧 Coming next
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:
excelmcpon PyPI is an unrelated third-party package. Do notpip install excelmcp— that ships you a stranger's code. The published suite package ismcp-office.
Or clone and install the consolidated suite from source (including MailMCP and Windows COM support):
Configure Claude Desktop
Open %APPDATA%\Claude\claude_desktop_config.json (create it if it doesn't exist) and add the servers you installed:
Replace C:\\path\\to\\your\\files with the directory where your Office files live. Restart Claude Desktop after saving.
Verify
In Claude Desktop, send:
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
Architecture
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:
- Try any package (excelmcp, pptmcp, wordmcp) and open a First Run Report
- Report bugs via GitHub Issues
- Ask questions or share what you built in GitHub Discussions
See CONTRIBUTING.md for development guidelines.
License
MIT — see LICENSE.
來源:README.md,提交 d8f84dd
工具
0版本歷史
1- v0.7.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分