MCP Office
MCP Office servers can be used with VS Code Copilot as an MCP client, enabling Copilot to interact with Microsoft Office files through the MCP Office tool suite.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Officeupdate the sales figures in my quarterly report Excel file"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Office
Local-first, governed MCP servers for Microsoft Office โ built for developers who want to treat Office files the way they treat code.
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.
Related MCP server: Office MCP Server
Packages
โ Available now
Package | What it does | Install | Tools |
Read, write, style, validate, and export Excel workbooks |
| 65 | |
Build, edit, review, and export PowerPoint presentations. Output Contract framework for machine-verifiable slide specs |
| 51 | |
Template assembly, tracked-changes support, and structural QA for Word documents |
| 50 |
๐ง Coming next
Package | Status |
Integrated 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:
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.
pip install mcp-officeOr clone and install the consolidated suite from source (including MailMCP and Windows COM support):
git clone https://github.com/dosev-ai/mcp-office.git
cd mcp-office
python -m venv .venv
.venv\Scripts\activate
python -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:
{
"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-excelmcp
Call capabilities() on powerpoint-pptmcp
Call capabilities() on word-wordmcpEach 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
Requirement | Notes |
Windows 10 or 11 | COM automation requires Windows |
Python 3.11+ |
|
Microsoft Office | Required for COM-dependent tools (styling, PDF export, tracked-changes). Read-only docx/xlsx/pptx tools work without Office. |
Classic Outlook desktop | Required for MailMCP. MailMCP remains release-pending until Windows Outlook UAT and published-artifact verification pass. |
MCP client |
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:
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
An agent-first office suite Claude & ChatGPT read and write over one MCP URL.
Generate, edit, merge, translate and PDF-convert PowerPoint (.pptx) over MCP. 8 tools.
Document conversion MCP server: PDF to Markdown, image OCR, spreadsheet parsing.
Document-to-Markdown MCP server โ convert PDF, Office and HTML into LLM-ready Markdown.
Related MCP Servers
- AlicenseCqualityAmaintenanceLocal-first Excel MCP server for AI agents enabling structured reads, workbook introspection, and safer .xlsx mutation without Microsoft Excel or LibreOffice.7824 PyPI2MIT
- FlicenseAqualityCmaintenanceMCP server for Microsoft Office file operations. Read, write, and create Excel, Word, and PowerPoint files directly from your local filesystem.12-
- AlicenseAqualityDmaintenanceMCP server for reading, writing, editing, formatting, and exporting Microsoft Office documents (Word, Excel, PowerPoint) via stdio JSON-RPC, with 47 tools and cross-platform support.472MIT
- AlicenseNot gradedqualityAmaintenanceA local MCP server that lets Claude, Cursor, Codex, or any MCP client work with Office documents on your Mac: evaluate spreadsheet formulas, read/write XLSX and PPTX, extract structured DOCX content, and merge/split/protect PDFs. 100% local, no network calls, no account. 14 tools.MIT