Structure-preserving Word DOCX editing MCP server and Office.js bridge for AI agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
| Language | Preview |
|---|---|
| English | Structure-preserving Word DOCX editing MCP server with a .NET Open XML backend and Office.js live sessions. |
| ไธญๆ | ้ขๅ AI Agent ็ Word DOCX ็ปๆ็จณๅฎ็ผ่พ๏ผๆฏๆ .NET ๅ็ซฏใOffice.js ไผ่ฏๅๅฎๅ จ PatchSetใ |
Structure-preserving Word (DOCX) editing for AI agents.
Word AI is an open-source MCP server and Office.js bridge for safe, auditable, incremental editing of Microsoft Word documents. It is designed for Codex, OpenAI Agents, and other MCP clients that need to edit .docx files without rebuilding the document or damaging styles, numbering, tables, images, fields, headers, footers, and relationships.
AI systems are good at generating text, but Word documents are structured packages. A naive DOCX-to-Markdown-to-DOCX workflow can break numbering, styles, tables, images, fields, references, and layout. Word AI keeps the original DOCX structure as the source of truth:
PatchSet operations.operation, target_tag, new_text, text_sha256, and camelCase operation names, while preserving the canonical safety gates.WORD-AI:SRS:1.0:overview.source_sha256, expected_old_sha256, and expected_old_text.word_session_*) so Codex can read, preview, apply, and roll back edits in the currently open Word document through Office.js.The Office.js taskpane is the Word session layer. It creates and lists content controls, connects to the local bridge, registers the current Word document as a live session, polls commands queued by Codex, executes supported PatchSet operations through Office.js, and returns audit/rollback data.
Use the most native distribution path your agent host supports:
io.github.flyfish-dev/word-ai.word-ai Skill so Codex, Claude Code, and compatible agents know when to choose offline docx_* versus live word_session_*.MCP Registry details:
io.github.flyfish-dev/word-aihttps://github.com/flyfish-dev/word-ai/releases/download/v0.8.6/word-ai-0.8.6.mcpbhttps://registry.modelcontextprotocol.io/v0.1/servers/io.github.flyfish-dev%2Fword-ai/versions/latestFast local setup with the standalone quickstart bundle:
Choose the artifact matching your platform: linux-x64, linux-arm64, osx-arm64, osx-x64, win-x64, or win-arm64. See Distribution for the complete release asset policy.
Install the Skill and full local runtime:
This installs the Python MCP facade, builds the Office.js taskpane, builds the .NET Open XML backend when .NET SDK 8 is available, writes .wordai/codex-config.toml, and installs the word-ai skill into Codex, Claude Code, and detected compatible agent clients.
Install or refresh only the Agent Skill:
For browser-only taskpane debugging:
On Windows PowerShell:
For a readiness check:
Developer checks:
Build the .NET engine:
Offline file transactions use the .NET Open XML backend by default when it is available. Selection order is:
WORD_AI_DOTNET_EXE or a packaged native executable under native/<rid>/ or dist/native/<rid>/.WORD_AI_DOTNET_DLL or the local Release DLL at dotnet/WordAi.OpenXml/bin/Release/net8.0/WordAi.OpenXml.dll.dotnet run --project dotnet/WordAi.OpenXml/WordAi.OpenXml.csproj.WORD_AI_ENGINE=auto.MCPB includes self-contained native backends for osx-arm64, osx-x64, linux-x64, linux-arm64, linux-musl-x64, linux-musl-arm64, win-x64, and win-arm64. Standalone quickstart bundles are built for standard hosted platforms: linux-x64, linux-arm64, osx-arm64, osx-x64, win-x64, and win-arm64, with the matching Open XML backend linked into the single-file executable. Word AI detects the current RID, including Linux glibc vs musl for native backend loading, and loads the matching binary automatically. The npm launcher keeps the package small: on first run it downloads the current-platform quickstart bundle from GitHub Releases and executes the bundled word-ai. Advanced deployments can override detection with WORD_AI_DOTNET_RID, WORD_AI_DOTNET_EXE, or WORD_AI_DOTNET_NATIVE_DIR; set WORD_AI_NPM_USE_SOURCE_BOOTSTRAP=1 only when you want the legacy Python venv npm path.
Control it with WORD_AI_ENGINE=auto|dotnet|python, or pass engine to docx_assess_patchset, docx_dry_run_patchset, docx_apply_patchset, and docx_validate. Use WORD_AI_ENGINE=dotnet in production to fail fast instead of silently falling back.
Build the Office add-in:
Word AI ships a formal word-ai Agent Skill. This is the preferred way to teach agents the safe workflow, even when the MCP server is installed through the MCP Registry. The installer copies the Skill into the locations that current agent clients scan automatically:
~/.agents/skills/word-ai~/.codex/skills/word-ai~/.claude/skills/word-aiInstall or refresh only the skills:
Advanced targets:
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/word-ai)<a href="https://allmcps.com/mcp/word-ai"><img src="https://allmcps.com/api/badge/word-ai?style=directory" alt="Word AI on AllMCPs" /></a>