# che-word-mcp

A Swift-native MCP server for direct DOCX document editing without Microsoft Word or external runtimes. Helpful when an agent must generate, alter, or review Word files.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 7
- Author: PsychQuant
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/PsychQuant/che-word-mcp
- Updated: 2026-10-21
- HTML: https://affpapa.org/en/nevibecode/mcp/che-word-mcp

## What it does

che-word-mcp manipulates Office Open XML files directly via a Swift core. Because it ships as a standalone executable, it runs without Python or Microsoft Word. The package provides 234 tools. They cover nested tables up to five levels deep, headers, SDT content controls, formulas and numbering.

File handling splits into two paths. Direct Mode reads documents in a single step using `source_path`. Session Mode manages the full document lifecycle by `doc_id`, tracking modified parts and preserving untouched XML structures byte for byte. Atomic file renaming prevents corruption. Snapshot backups happen before mutations when `autosave_every` is set to 1.

Track changes must be enabled before generating redlines. Setting `as_revision: true` on an unenabled document aborts immediately with a `track_changes_not_enabled` error instead of quietly turning the feature on.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- insert redlines and tracked revisions directly into DOCX markup
- construct nested tables up to five levels with conditional styling
- inspect and update structured document tags (SDT)
- configure per-section headers and custom page numbering

## Example prompts
- Open contract.docx in session mode and enable revision tracking.
- Insert a three-column table with a header row into report.docx.
- Inspect all dropdown SDT content controls in template.docx.

## Similar
- [Excel MCP Server](https://affpapa.org/en/nevibecode/mcp/excel-mcp-server.md) — MCP server · ★ 4268
- [kordoc](https://affpapa.org/en/nevibecode/mcp/kordoc.md) — MCP server · ★ 2795
- [Power BI Authoring MCP Server (Local)](https://affpapa.org/en/nevibecode/mcp/power-bi-authoring-mcp-server-local.md) — MCP server · ★ 1248
- [Microsoft 365 MCP Server](https://affpapa.org/en/nevibecode/mcp/microsoft-365-mcp-server.md) — MCP server · ★ 1085
- [anymd](https://affpapa.org/en/nevibecode/mcp/anymd.md) — MCP server · ★ 1054
- [Docling MCP](https://affpapa.org/en/nevibecode/mcp/docling-mcp.md) — MCP server · ★ 779

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
