# SecurityRonin/docx-mcp [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/SecurityRonin/docx-mcp  
**GitHub Stars:** 71  
**Views:** 8  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/securityronin-docx-mcp

## Description
Read and edit Word (.docx) documents with track changes, comments, footnotes, and structural validation. The only MCP server combining w:ins/w:del tracked changes, threaded comments, and footnotes with OOXML-level paraId validation and document auditing. 18 tools, Python 3.10+.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "docx-mcp": {
    "command": "uvx",
    "args": ["docx-mcp-server"]
  }
}
```

## Documentation

## What SecurityRonin/docx-mcp does

SecurityRonin/docx-mcp works with Word documents in `.docx` format and can create new files, open existing files, apply edits, and save results. Documents can start blank, come from a `.dotx` template, or be generated from Markdown. Supported content includes headings, tables, lists, images, code blocks, footnotes, and common formatting.

The server is designed for workflows where edits must remain visible to a reviewer. Text insertions, deletions, replacements, table changes, and formatting changes can be written as tracked revisions. An editing tool can also be called with `tracked=False` when direct changes without revision markup are preferred. Existing revisions can be accepted or rejected by author.

Comments can be attached to paragraphs and extended with replies. The server also supports searching across document text, footnotes, and comments, as well as editing headers and footers. Documents can be merged, protected for tracked-changes-only, read-only, or comments-only access, and checked for structural consistency.

## How it works

SecurityRonin/docx-mcp runs as an MCP process that receives document operations from a compatible client. A typical review sequence opens a file, inspects headings, searches for target text, applies tracked edits, adds comments, audits the result, and saves a new document. The resulting file can be opened in Microsoft Word to inspect revision marks and comments.

After a tracked-edit session, `generate_change_summary` creates a numbered text report covering insertions, deletions, and replacements. `diff_to_text` compares two separate Word files and produces both a document with inline tracked differences and a plain-text summary, without requiring the server to have edited either source file.

Structural auditing covers items such as footnote references, headings, bookmarks, images, and internal consistency. The server can also validate footnote and endnote cross-references, inspect embedded images, remove DRAFT watermarks from headers, and create internal paragraph links using bookmarks.

## Setup and configuration

The documented installation uses Python 3.10 or newer. With Claude Code, add the server using:

```bash
claude mcp add docx-mcp -- uvx docx-mcp-server
```

Other documented stdio configurations use the `uvx` command with `docx-mcp-server` as its argument. The same command format is shown for Claude Desktop, Cursor, Windsurf, and VS Code. The package can also be installed with `pip install docx-mcp-server`.

A companion skill is installed when the server first starts in Claude Code.

## Tools and capabilities

SecurityRonin/docx-mcp provides 18 tools covering these operations:

- Create documents from blank content, Markdown, or `.dotx` templates.
- Read headings, document structure, headers, footers, comments, footnotes, and images.
- Search text with literal or regular-expression matching across document areas.
- Insert, delete, replace, and format content with optional tracked revisions.
- Add comments and replies to comment threads.
- Create and modify tables, including row insertion and deletion.
- Add, list, and validate footnotes and endnotes.
- Set page breaks, section breaks, page size, orientation, and margins.
- Merge Word documents and add internal links between bookmarked paragraphs.
- Apply document protection modes with passwords.
- Generate change summaries, compare document versions, and run structural audits.
- Detect and remove DRAFT watermarks from headers.

PII scrubbing is marked experimental. It uses Microsoft Presidio and a spaCy named-entity model to detect several types of personal information, then permanently removes matched text from the XML and replaces it with a solid black rectangle.

## Limitations and notes

The README explicitly says the PII scrubbing feature is not suitable for production use or as the sole control for privileged, regulated, or legally sensitive documents. Treat it as an experimental feature rather than a complete privacy or compliance control.

Its installation examples use local stdio execution through `uvx` or a locally installed Python package.

_Full upstream README: https://allmcps.com/mcp/securityronin-docx-mcp/readme_

