Word AI logo

Word AI

Edits Word DOCX files through validated PatchSets, with offline Open XML processing and live Office.js sessions.

Install Word AI

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "word-ai": {
      "command": "npx",
      "args": [
        "-y",
        "word-ai-mcp"
      ],
      "env": {
        "WORD_AI_ENGINE": "YOUR_VALUE_HERE",
        "WORD_AI_DOTNET_EXE": "YOUR_VALUE_HERE",
        "WORD_AI_DOTNET_DLL": "YOUR_VALUE_HERE",
        "WORD_AI_DOTNET_RID": "YOUR_VALUE_HERE",
        "WORD_AI_DOTNET_NATIVE_DIR": "YOUR_VALUE_HERE",
        "WORD_AI_NPM_USE_SOURCE_BOOTSTRAP": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 63 tools correctly ().

Overview

The Word AI MCP server gives agents structure-preserving tools for inspecting and editing Microsoft Word DOCX files. It uses a Python MCP facade, a .NET 8 Open XML backend for offline transactions, and an Office.js bridge for live documents. Agents create constrained PatchSets that can be assessed, previewed, applied, validated, audited, diffed, and rolled back. Reach for it when document structure, styles, tables, fields, images, headers, footers, or numbering must remain intact.

Use cases

  • Edit DOCX content while preserving document structure
  • Preview and validate PatchSet changes before writing
  • Update an open Word document through Office.js
  • Inspect document anchors, fields, tables, and revisions

Key features

  • Structure-preserving DOCX editing
  • PatchSet-only writes with hash preconditions
  • Open XML offline transaction backend
  • Live Office.js Word sessions
  • Validation, audit, diff, and rollback workflows
  • Local bridge with token security

Tools63

What Word AI lets your agent do. Expand a tool for its parameters.

Verified live~5.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 78d

What it can do

From the 63 tools this server returned when we ran it.

Can delete or modify data · 1Read-only tools · 62
Network at startup3 connections
Files written at startup12
Install scriptsNone
npm provenanceNot published
Package age133 days
Maintainers1

Observed 2026-10-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · word-ai-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars10Stargazers on the source repository.
npm downloads53Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed63Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Word AI works

What the Word AI MCP server does

The Word AI MCP server lets MCP clients inspect and modify Microsoft Word DOCX documents without converting them through Markdown or rebuilding the entire package. It treats the original DOCX as the source of truth and applies targeted PatchSet operations instead. This approach is intended for workflows where edits must preserve styles, numbering, tables, images, fields, comments, revisions, headers, footers, and document relationships.

The server exposes tools for document inspection, anchors, headings, paragraphs, tables, fields, images, comments, revisions, PatchSet planning, dry runs, application, validation, rollback, and diffs. It also includes live Word session tools for interacting with an open document through Office.js. Optional read-only OfficeCLI evidence is supported.

How it works

The Word AI MCP server separates agent planning from document mutation. An agent generates a constrained PatchSet, and the local runtime assesses the proposed changes before producing a candidate DOCX. Writes can use source and expected-content hashes, including source_sha256, expected_old_sha256, and expected_old_text, to prevent stale or unintended edits.

Offline transactions use the .NET 8 Open XML SDK backend when an executable, packaged native backend, or Release DLL is available. The runtime can fall back to a Python OOXML implementation when the engine is set to automatic mode and .NET is unavailable. The resulting output can include the edited DOCX, audit data, and a diff. Validation checks package parts and supported document structures, including content controls, tables, fields, comments, images, revisions, and protected body blocks.

For live editing, the Office.js taskpane connects to a localhost bridge secured with a local token. It registers the open Word document as a session, polls commands queued by the MCP runtime, executes supported operations, and returns audit or rollback information. Content-control tags provide stable anchors for governed edits.

Setup and configuration

Installation options include the MCP Registry, MCPB release packages, standalone platform bundles, npm, or a source checkout. Standalone bundles are available for Linux, macOS, and Windows architectures listed by the project. A source installation can install the Python facade, build the Office.js taskpane, build the .NET backend when the .NET 8 SDK is available, and configure the agent skill.

The word-ai mcp command can run the local server with a document root and allowed additional roots. The doctor command provides a readiness check. Full Office.js sessions require the local source workflow and the taskpane build; offline DOCX editing can use a packaged standalone runtime.

Engine selection is controlled with WORD_AI_ENGINE=auto|dotnet|python, or per operation for assessment, dry run, apply, and validation tools. Advanced deployments can select a runtime identifier or backend path with the documented WORD_AI_DOTNET_* variables.

Tools and capabilities

  • Inspect DOCX structure and locate headings, paragraphs, tables, fields, images, comments, revisions, and content-control anchors.
  • Plan, normalize, assess, dry-run, apply, validate, diff, and roll back PatchSets.
  • Require hashes or expected text before changing targeted content.
  • Edit a currently open Word document through word_session_* tools and the Office.js taskpane.
  • Use a localhost HTTP bridge and file-backed session command queue for Office workflows.
  • Install an agent skill that helps compatible agents choose offline docx_* or live word_session_* operations.

Limitations and notes

Writes are PatchSet-only by design; direct source overwrite and full document reconstruction are not the normal path. Live Word editing depends on the Office.js add-in and local bridge, while offline editing depends on an available backend. The Python OOXML path is a fallback when automatic engine selection cannot use .NET, so deployments that require fail-fast behavior can select the .NET engine explicitly. The project describes the OfficeCLI integration as optional and read-only.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Word AI

Word AI is an MCP server that connects AI agents to Microsoft Word DOCX files through a .NET Open XML backend and an Office.js bridge. Its main tools inspect documents, plan and apply PatchSets, validate changes, compare outputs, roll back edits, and operate on currently open Word sessions.

Install it from the MCP Registry or an MCPB package, download a standalone quickstart bundle, use npm, or clone the repository and run its installation scripts. The source workflow also builds the Office.js taskpane and can build the .NET backend when .NET SDK 8 is available.

It preserves formatting by applying targeted PatchSet operations to the original DOCX package instead of converting through Markdown or rebuilding the document. Validation and hash-based preconditions help protect styles, numbering, tables, fields, images, relationships, and other supported structures.

Yes, the README names Codex and Claude Code as supported agent environments. The project also provides a word-ai Agent Skill that helps compatible agents select offline DOCX tools or live Word session tools.

Build and run the Office.js taskpane with the local bridge, then use the `word_session_*` tools. The taskpane registers the open document, polls commands queued by the MCP runtime, executes supported operations, and returns audit or rollback data.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewWord AI AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/word-ai?style=directory)](https://allmcps.com/mcp/word-ai)
HTML Embed
<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>