Office Editor
基于MCP(Model Context Protocol)的Office文档处理助手,支持在MCP Client中创建和编辑Word、Excel、Powerpoint文档。
What is Office Editor?
Office Editor is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 基于mcp(model context protocol)的office文档处理助手,支持在mcp client中创建和编辑word、excel、powerpoint文档。
基于MCP(Model Context Protocol)的Office文档处理助手,支持在MCP Client中创建和编辑Word、Excel、Powerpoint文档。
This server falls under the File Systems category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- 基于MCP(Model Context Protocol)的Office文档处理助手,支持在MCP Client中创建和
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx office-editorConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Office Editor
Office Editor MCP Server is a Python-based assistant that lets AI clients create and edit Word, Excel, and PowerPoint documents directly through the Model Context Protocol. It exposes a rich set of document operations — from inserting formatted paragraphs, tables, and images in Word, to applying formulas and filters in Excel, and adding animations to PowerPoint slides. Teams looking to automate report generation, data exports, or slide deck creation from natural language prompts will find it a practical bridge between AI and Microsoft Office formats.
Prerequisites
- Python 3.7 or higher installed
- pip for installing Python dependencies
- Git to clone the repository
- An MCP client such as Claude Desktop or Cursor IDE
- Required Python libraries: python-docx, openpyxl, python-pptx (installed via requirements.txt)
Clone the repository
Download the server source code from GitHub to your local machine.
git clone https://github.com/theWDY/office-editor-mcp.git
cd office-editor-mcpInstall Python dependencies
Install all required libraries including python-docx, openpyxl, and python-pptx using pip.
pip install -r requirements.txtNote the server script path
Find the absolute path to office_server.py, as you will need it in your MCP client configuration. This path is used in the command argument.
pwd
# Note the full path, e.g. /home/user/office-editor-mcp/office_server.pyConfigure your MCP client
Add the server to your MCP client's configuration file. On macOS, the Claude Desktop config is at ~/Library/Application Support/Claude/claude_desktop_config.json. On Windows it is at %APPDATA%\Claude\claude_desktop_config.json.
{
"mcpServers": {
"office-editor": {
"command": "python",
"args": ["/absolute/path/to/office-editor-mcp/office_server.py"]
}
}
}Restart your MCP client
Restart Claude Desktop or your chosen MCP client so it picks up the new server configuration. The office-editor server should now appear as available.
Enable debug logging (optional)
Set the MCP_DEBUG environment variable to get detailed logs if you encounter issues during setup or tool calls.
MCP_DEBUG=1 python /absolute/path/to/office-editor-mcp/office_server.pyOffice Editor Examples
Client configuration
Example claude_desktop_config.json entry for the Office Editor MCP server. Replace the path with your actual cloned directory location.
{
"mcpServers": {
"office-editor": {
"command": "python",
"args": ["/Users/yourname/office-editor-mcp/office_server.py"],
"env": {
"MCP_DEBUG": "0"
}
}
}
}Prompts to try
Example prompts to create and edit Office documents using this MCP server.
- "Create a new Word document called quarterly_report.docx with a title page and three section headings"
- "Insert a 4x4 table with Q1 through Q4 sales data into the document"
- "Make the word 'important' in paragraph 2 bold and red"
- "Create a new Excel workbook named financial_analysis.xlsx and add monthly revenue data in column A"
- "Apply a SUM formula to column B and sort the data by descending revenue"
- "Create a PowerPoint presentation with 5 slides and add a fly-in animation to the title of slide 1"Troubleshooting Office Editor
ModuleNotFoundError for python-docx, openpyxl, or python-pptx
Run 'pip install -r requirements.txt' from the cloned repository directory. If using a virtual environment, make sure it is activated before installing and before running the server.
MCP client cannot find the server or shows a connection error
Verify the absolute path in your config points to office_server.py and that Python is on your PATH. Test by running 'python /absolute/path/to/office_server.py' directly in a terminal to confirm it starts without errors.
Document operations fail silently or produce empty files
Enable debug logging by setting MCP_DEBUG=1 in the server's environment. Check that the output directory exists and is writable, and that the file path you specified in the prompt is valid.
Frequently Asked Questions about Office Editor
What is Office Editor?
Office Editor is a Model Context Protocol (MCP) server that 基于mcp(model context protocol)的office文档处理助手,支持在mcp client中创建和编辑word、excel、powerpoint文档。 It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Office Editor?
Follow the installation instructions on the Office Editor GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Office Editor?
Office Editor works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Office Editor free to use?
Yes, Office Editor is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Office Editor Alternatives — Similar File Systems Servers
Looking for alternatives to Office Editor? Here are other popular file systems servers you can use with Claude, Cursor, and VS Code.
Electerm
★ 14.1k📻Terminal/ssh/sftp/ftp/telnet/serialport/RDP/VNC/Spice client(linux, mac, win)
Plik
★ 1.8kPlik is a temporary file upload system (Wetransfer like) in Go.
Kordoc
★ 957An MCP server that parses South Korean document formats like HWP, HWPX, and PDF into Markdown. It features specialized table reconstruction and security-hardened extraction optimized for administrative and public institution files.
macOS Automator
★ 801A Model Context Protocol server that enables execution of AppleScript and JavaScript for Automation scripts on macOS, allowing programmatic control of applications and system functions through a rich knowledge base of pre-defined scripts.
PDF Reader
★ 723Enables reading, searching, and metadata extraction from PDF files without loading the entire content into the context window. It provides efficient tools for text cleaning, page-specific extraction, and context-aware search results.
Filesystem MCP Server
★ 643Provides comprehensive filesystem operations (read, write, list, create, delete, move files and directories) through the Model Context Protocol with Streamable HTTP transport and built-in security through configurable root directory restrictions.
Browse More File Systems MCP Servers
Explore all file systems servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Office Editor in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Office Editor?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.