Read, create, and edit Word (.docx) documents with tracked changes, comments, footnotes, and structural validation via Python tools.
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.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Docx MCP.
Give your AI coding agent the ability to create, read, and edit Word documents. Edits appear as tracked changes in Microsoft Word โ red strikethrough for deletions, green underline for insertions โ and after any revision session your agent can produce an email-ready change log listing every insertion, deletion, and replacement. Or compare two separate files to get the same output automatically.
Professionals who produce Word deliverables and want their AI agent to handle the document work directly:
Review a contract:
"Open contract.docx, find every instance of 'Net 30', change it to 'Net 60', and add a comment on each explaining it was updated per Amendment 3. Save as contract_revised.docx."
Generate a report from markdown:
"Convert my pentest-findings.md to a Word document using the client's report template. Add footnotes for each CVE reference."
Batch-edit a template library:
"Open the MSA template, replace 'ACME Corp' with 'GlobalTech Inc' everywhere, update the effective date in the header, and set document protection to track-changes-only."
Audit a document before sending:
"Open the final deliverable, run a structural audit, check for any DRAFT or TODO markers, validate all footnote cross-references, and remove any watermarks."
Your agent handles the entire workflow โ opening the file, navigating the structure, making precise edits with full revision history, validating integrity, and saving โ while you focus on the substance.
Claude Code (recommended):
That's it. A companion skill auto-installs the first time the server starts, teaching Claude the document editing workflow, OOXML pitfalls, and audit checklist. It auto-updates on every upgrade.
Claude Desktop:
Add to your MCP settings:
Cursor / Windsurf / VS Code:
Add to your MCP configuration file:
OpenClaw:
With pip:
| Capability | What your agent can do |
|---|---|
| Create documents | Start blank, from a .dotx template, or from markdown โ headings, tables, lists, images, footnotes, code blocks, smart typography |
| Track changes | Insert, delete, and replace text as tracked revisions โ underlined insertions, red strikethrough deletions. Pass tracked=False to any editing tool to write the change directly with no revision markup. Accept or reject changes by author. |
| Change log | After editing with tracked changes, call generate_change_summary for a numbered .txt listing every insertion, deletion, and replacement. Or use diff_to_text to compare two separate files and get the same output automatically โ useful for document versions you didn't edit yourself. |
| Comments | Add comments anchored to specific paragraphs, reply to comment threads |
| Find and replace | Search by text or regex across body, footnotes, and comments โ then make targeted edits |
| Tables | Create tables, modify cells, add or delete rows โ all with revision tracking |
| Footnotes & endnotes | Add, list, and validate cross-references |
| Formatting | Bold, italic, underline, color โ with revision tracking so formatting changes are visible |
| Headers & footers | Read and edit header/footer content with tracked changes |
| Images | List embedded images, insert new ones with specified dimensions |
| Sections & layout | Page breaks, section breaks, page size, orientation, margins |
| Cross-references | Internal hyperlinks between paragraphs with bookmarks |
| Document merge | Combine content from multiple DOCX files |
| Protection | Lock documents for tracked-changes-only, read-only, or comments-only with passwords |
| Structural audit | Validate footnotes, headings, bookmarks, images, and internal consistency before delivery |
| Watermark removal | Detect and strip DRAFT watermarks from headers |
| PII scrubbing (experimental) | Detect names, emails, phone numbers, SSNs, and more using Presidio + spaCy NER. Produces true XML redaction โ original text permanently deleted, replaced with a solid black rectangle. Not for production use โ see limitations. |
Open the output in Word and you see exactly what a human reviewer would produce โ revision marks, comments in the margin, clean document structure.
The .txt output reads like:
Paste it into an email, a PR description, or a handover note.
No editing session required โ point it at any two files:
Returns two files:
proposal_v1_diff.docx โ open in Word to see tracked changes inlineproposal_v1_diff.txt โ plain-text summary, ready to paste anywhereYour markdown findings โ headings, tables of affected hosts, code blocks with proof-of-concept output, severity ratings โ become a formatted Word document matching the client's template. Smart typography is applied automatically (curly quotes, em dashes, proper ellipses).
This feature is experimental and NOT suitable for production use or as the sole control for privileged, regulated, or legally sensitive documents.
scrub_pii uses Microsoft Presidio with a spaCy NER model (en_core_web_lg, ~560 MB, downloaded on first call) to detect and permanently redact personal information. Redacted spans are replaced with solid black DrawingML rectangles โ the original text is deleted from the XML, not merely hidden.
What it detects reliably (via regex/pattern matching, high confidence):
What it detects statistically (via NER, will have misses):
Known NER gaps โ these will be missed:
Lender: Jane Doe, Authorized Signatory: John Smith)Recommended workflow:
Factual signals from GitHub, npm, and our automated checks โ not a rating.
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/securityronin-docx-mcp)<a href="https://allmcps.com/mcp/securityronin-docx-mcp"><img src="https://allmcps.com/api/badge/securityronin-docx-mcp?style=directory" alt="Docx MCP on AllMCPs" /></a>