MCP Servers / productivity / docx-mcp

docx-mcp

JSON →
httpnone17productivity

Read and edit Word (.docx) documents with track changes, comments, footnotes, and structural validation. 18 tools with OOXML-level paraId validation and document auditing.

Install
How to run this server
[ { "cmd": "uvx docx-mcp-server", "imports": [] } ]
server path: docx-mcp
Tools
What this server exposes
create_document
Create a new DOCX document from scratch, from a .dotx template, or from markdown content.
track_changes
Insert, delete, or replace text with tracked revisions (underlined insertions, red strikethrough deletions). Pass tracked=False to write directly without revision markup.
accept_reject_changes
Accept or reject tracked changes by author.
generate_change_summary
Generate a numbered .txt listing every insertion, deletion, and replacement after editing with tracked changes.
diff_to_text
Compare two separate DOCX files and output a change summary automatically.
add_comment
Add a comment anchored to a specific paragraph.
reply_to_comment
Reply to an existing comment thread.
find_and_replace
Search by text or regex across body, footnotes, and comments, then make targeted edits.
create_table
Create a table in the document.
modify_cell
Modify the content of a table cell.
add_row
Add a row to an existing table.
delete_row
Delete a row from an existing table.
add_footnote
Add a footnote to the document.
list_footnotes
List all footnotes in the document.
add_endnote
Add an endnote to the document.
validate_cross_references
Validate cross-references in footnotes and endnotes.
format_text
Apply bold, italic, underline, or color formatting with revision tracking.
read_header_footer
Read content from headers and footers.
edit_header_footer
Edit header/footer content with tracked changes.
list_images
List all embedded images in the document.
insert_image
Insert an image with specified dimensions.
add_page_break
Insert a page break.
add_section_break
Insert a section break.
set_page_size
Set the page size for a section.
set_orientation
Set the page orientation for a section.
set_margins
Set the margins for a section.
add_cross_reference
Add an internal hyperlink between paragraphs using bookmarks.
merge_documents
Combine content from multiple DOCX files into one.
protect_document
Lock the document for tracked-changes-only, read-only, or comments-only with a password.
audit_structure
Validate footnotes, headings, bookmarks, images, and internal consistency.
remove_watermark
Detect and strip DRAFT watermarks from headers.
scrub_pii
Detect and redact PII (names, emails, phone numbers, SSNs, etc.) using Presidio + spaCy NER. Experimental.
Configuration
Environment & auth
authnone
Resources
docx-mcp — MCP Server · libregistry