Office Word MCP Server
About This Server
An MCP server that lets AI agents create, read, and edit Microsoft Word documents. Supports generating .docx files, reading and writing text content, and applying styles — enabling automated document processing.
Installation
npx -y office-word-mcp-serverOfficial README installation guide
Installing via Smithery
To install Office Word Document Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @GongRzhe/Office-Word-MCP-Server --client claudePrerequisites
- Python 3.8 or higher
- pip package manager
Basic Installation
# Clone the repository
git clone https://github.com/GongRzhe/Office-Word-MCP-Server.git
cd Office-Word-MCP-Server
# Install dependencies
pip install -r requirements.txtUsing the Setup Script
Alternatively, you can use the provided setup script which handles:
- Checking prerequisites
- Setting up a virtual environment
- Installing dependencies
- Generating MCP configuration
python setup_mcp.pyFrequently Asked Questions
What can Office Word MCP do?
Lets AI agents directly manipulate Word documents: create new documents with content, read text and structure of existing documents, apply font/size/color formatting, insert tables and lists, and add headers and footers. Ideal for automated report generation, batch document processing, and content extraction.
Does Office Word MCP require Microsoft Office?
No. The MCP server is built on the python-docx library, which operates on the .docx file format directly without needing Microsoft Office. It runs on Windows, macOS, and Linux with no Office license required.
Does Office Word MCP support Chinese?
Fully supported. Based on python-docx's Unicode support, it correctly handles Chinese, Japanese, and other multi-byte characters for document reading, writing, and formatting.