Office Editor

v1.0.0File Systemsstable

基于MCP(Model Context Protocol)的Office文档处理助手,支持在MCP Client中创建和编辑Word、Excel、Powerpoint文档。

office-editormcpai-integration
Share:
90
Stars
0
Downloads
0
Weekly
0/5

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

Create and edit Word, Excel, and PowerPoint documents from Claude.
Automate office document generation and modification.
Integrate Microsoft Office workflows into AI processes.
theWDY

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 12, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx office-editor

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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)
1

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-mcp
2

Install Python dependencies

Install all required libraries including python-docx, openpyxl, and python-pptx using pip.

pip install -r requirements.txt
3

Note 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.py
4

Configure 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"]
    }
  }
}
5

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.

6

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.py

Office 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.

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.

Quick Config Preview

{ "mcpServers": { "office-editor": { "command": "npx", "args": ["-y", "office-editor"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides