Word MCP Live

io.github.ykarapazarPublished by GitHub account ykarapazarv1.2.0Updated Oct 24, 2026

Live Microsoft Word editing via MCP — tracked changes, undo, comments, 40+ tools

Overview

AI-generated overview

A local MCP server that lets an AI assistant read, edit, format and review Microsoft Word documents, including live editing of open files with tracked changes.

What you can do
Read and edit saved .docx files: text, find and replace, formatting, styles, tables, page layout, headers and footers, bookmarks, equations and cross-references, plus table-of-contents insertion and layout diagnostics on any platform without Word installed. Live-edit a document open in Word on Windows or macOS: text, formatting, tables, revisions and comments appear in the open file. Manage review: native tracked changes under a configured author name, comments anchored to text, and on Windows threaded replies, resolve/unresolve and undo-history inspection. Undo AI actions: per-action Ctrl+Z on Windows, per-operation undo on macOS.
When to use it
Useful when an assistant should work directly on Word documents rather than pasting text back and forth: drafting or revising contracts and reports with tracked changes, formatting and layout fixes, adding reviewer comments, or batch-generating and editing .docx files.
Requirements
Runs locally as a Python package (Python 3.11+); dependencies install automatically. Live editing needs Microsoft Word installed: Windows 10/11 with COM, or macOS with Word for Mac via JXA. Cross-platform tools work without Word. Optional environment variables MCP_AUTHOR and MCP_AUTHOR_INITIALS set the name and initials on tracked changes and comments; MCP_TRANSPORT, MCP_HOST and MCP_PORT configure transport. Docker mode supports only cross-platform tools.
Before you install
The assistant writes to your documents: edits, replacements, formatting, comments and deletions change real files, so keep backups and review changes before accepting them. Tracked changes and comments are attributed to the name set in MCP_AUTHOR, which may misrepresent who made them. Live editing requires Word to be open and is Windows/macOS only; some features (threaded replies, resolve, undo history, watermarks) are Windows-only. The README states it runs entirely locally and collects no data

Installation

In SourceWeft

  1. Open Word MCP Live in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[Install in Cursor]

word-mcp-live

The only MCP server that edits Word documents while they're open

Live editing · Tracked changes · Per-action undo · 124 tools · Cross-platform

[PyPI] [Python 3.11+] [License: MIT] [Platform: Windows + macOS/Linux]


word-mcp-live gives any AI assistant that supports MCP full control of Microsoft Word. Open a document, tell the AI what you need, and watch it happen — formatting, tracked changes, comments, and all. Changes appear live in your open document.

Without word-mcp-live

  • AI can discuss your document but can't touch it
  • You copy-paste between AI and Word, losing formatting
  • Track changes? You do those manually after the fact
  • Every edit means save → close → process → reopen

With word-mcp-live

  • "Add a tracked change replacing ABC Corp with XYZ Ltd" — done
  • Changes appear live in your open Word document
  • Every AI edit is one Ctrl+Z away
  • Real tracked changes with your name, not XML hacks

See it in action

https://github.com/user-attachments/assets/fbb09af4-1e25-4e49-94d0-45b363278810

What Sets This Apart

  • Live editing — Edit documents while they're open in Word. No save-close-reopen cycle.
  • Full undo — Every AI action is a single Ctrl+Z. Made a mistake? Just undo it.
  • Native tracked changes — Real Word revisions with your name, not XML hacks.
  • Threaded comments — Add, reply, resolve, and delete comments like a human reviewer.
  • Layout diagnostics — Detects formatting problems before they become print disasters.
  • Equations & cross-references — Insert math formulas and auto-updating references.
  • 124 tools — The most comprehensive Word MCP server available.

Quick Start

bash
pip install word-mcp-live

Or install from source:

bash
git clone https://github.com/ykarapazar/word-mcp-live.gitcd word-mcp-livepip install -e .

Client Installation

Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "word": {      "command": "uvx",      "args": ["word-mcp-live"],      "env": {        "MCP_AUTHOR": "Your Name",        "MCP_AUTHOR_INITIALS": "YN"      }    }  }}
Claude Code

Add to your .mcp.json:

json
{  "mcpServers": {    "word": {      "command": "uvx",      "args": ["word-mcp-live"],      "env": {        "MCP_AUTHOR": "Your Name",        "MCP_AUTHOR_INITIALS": "YN"      }    }  }}
Cursor

One-click: Click the install button at the top of this page.

Manual: Add to ~/.cursor/mcp.json:

json
{  "mcpServers": {    "word": {      "command": "uvx",      "args": ["word-mcp-live"],      "env": {        "MCP_AUTHOR": "Your Name",        "MCP_AUTHOR_INITIALS": "YN"      }    }  }}
VS Code / Copilot

One-click: Install in VS Code

Manual: Add to your VS Code settings.json:

json
{  "mcp": {    "servers": {      "word": {        "command": "uvx",        "args": ["word-mcp-live"],        "env": {          "MCP_AUTHOR": "Your Name",          "MCP_AUTHOR_INITIALS": "YN"        }      }    }  }}
Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "word": {      "command": "uvx",      "args": ["word-mcp-live"],      "env": {        "MCP_AUTHOR": "Your Name",        "MCP_AUTHOR_INITIALS": "YN"      }    }  }}
Docker
json
{  "mcpServers": {    "word": {      "command": "docker",      "args": ["run", "-i", "--rm", "ghcr.io/ykarapazar/word-mcp-live"],      "env": {        "MCP_AUTHOR": "Your Name",        "MCP_AUTHOR_INITIALS": "YN"      }    }  }}

Note: Docker mode supports cross-platform tools only. Live editing requires a native Windows install.

MCP_AUTHOR sets your name on tracked changes and comments (default: "Author"). MCP_AUTHOR_INITIALS sets comment initials.

Two Modes

Works everywhereLive editing (Word open)
What it doesCreate and edit saved .docx filesEdit documents live while you work in Word
PlatformWindows, macOS, LinuxWindows (COM) and macOS (JXA)
UndoFile-level savesPer-action Ctrl+Z (Windows); per-operation undo (macOS)
Best forBatch processing, document generationInteractive editing, formatting, review

Both modes work together. The AI picks the right one for the task.

macOS Live Editing (New in v1.5.0)

Live tools now work on macOS via JavaScript for Automation (JXA). Same tool names, same parameters — the server detects your platform and uses the right automation backend.

FeatureWindowsmacOS
Text read/write/find/replaceCOMJXA
Formatting (bold, font, style)COMJXA
Track changes & revisionsCOMJXA
Comments (add, delete, list)COMJXA
Tables (read, write, add rows)COMJXA
Page layout, headers, bookmarksCOMJXA
Equations, cross-referencesCOMJXA
Threaded comment repliesCOMNot available
Comment resolve/unresolveCOMNot available
Undo history inspectionCOMNot available
WatermarksCOMNot available

Configuration

VariableDefaultDescription
MCP_AUTHOR"Author"Author name for tracked changes and comments
MCP_AUTHOR_INITIALS""Author initials for comments
MCP_TRANSPORTstdioTransport type: stdio, sse, or streamable-http
MCP_HOST0.0.0.0Host to bind (for SSE/HTTP transports)
MCP_PORT8000Port to bind (for SSE/HTTP transports)

For remote deployment, see RENDER_DEPLOYMENT.md.

Example Prompts

Just tell the AI what you want in plain language:

"Draft a contract with tracked changes so my colleague can review""Format all headings as Cambria 13pt bold and add automatic numbering""Add a comment on paragraph 3 asking about the deadline""Find every mention of 'ABC Corp' and replace with 'XYZ Ltd' as a tracked change""Set the page to A4 landscape with 2cm margins""Insert a table of contents based on the document headings""Add page numbers in the footer and our company name in the header""Insert a cross-reference to Heading 2 in paragraph 5"

Usage Examples

Example 1: Read a document (cross-platform)

Tool call: get_document_text

json
{ "filename": "C:/Documents/report.docx" }

Expected output:

json
{  "status": "success",  "paragraphs": [    {"index": 0, "text": "Quarterly Report", "style": "Heading 1"},    {"index": 1, "text": "Revenue increased by 15% compared to Q3.", "style": "Normal"},    {"index": 2, "text": "Key Metrics", "style": "Heading 2"}  ],  "total_paragraphs": 3}

Example 2: Live editing with tracked changes (Windows)

Tool call: word_live_replace_text

json
{  "filename": "report.docx",  "find_text": "ABC Corporation",  "replace_text": "XYZ Ltd",  "match_case": true,  "replace_all": true,  "track_changes": true}

Expected output:

json
{  "status": "success",  "replacements": 4,  "message": "Replaced 4 occurrences (tracked changes enabled)"}

The replacements appear as tracked changes in Word with strikethrough on "ABC Corporation" and underline on "XYZ Ltd".

Example 3: Add a comment anchored to text (cross-platform)

Tool call: add_comment

json
{  "filename": "C:/Documents/contract.docx",  "target_text": "payment within 30 days",  "comment_text": "Should we extend this to 45 days?",  "author": "Jane Smith"}

Expected output:

json
{  "status": "success",  "message": "Comment added by Jane Smith on 'payment within 30 days'"}

The comment appears in Word's Review panel, anchored to the specified text.

Tool Reference

124 tools across two modes — see the complete tool reference for details.

CategoryCount
Cross-platform (python-docx)80
Windows Live (COM automation)44
macOS Live (JXA automation)40 (of the 44 live tools)

Requirements

  • Python 3.11+
  • python-docx, fastmcp, msoffcrypto-tool (installed automatically)
  • Windows Live tools: Windows 10/11 + Microsoft Word + pywin32 (installed automatically)
  • macOS Live tools: macOS + Microsoft Word for Mac (uses built-in JXA — no extra dependencies)

The cross-platform tools work without Word installed — only python-docx is needed.

Contributing

See CONTRIBUTING.md for development setup, code style, and how to add new tools.

Found a bug? Open an issue. Have an idea? Request a feature.

Acknowledgments

Built on top of GongRzhe/Office-Word-MCP-Server by GongRzhe (MIT License).

Additional libraries: python-docx · FastMCP · pywin32

Privacy

This server runs entirely on your local machine. No data is collected, transmitted, or stored. See the full Privacy Policy.

Support

License

MIT License — see LICENSE for details.

Star History

[Star History Chart]

Source: README.md at commit c6c7617

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.2.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts