Basic information
About docx-mcp Server
MCP server for reading and editing Word (.docx) documents with track changes, comments, footnotes, and structural validation. The only cross-platform MCP server combining tracked changes, threaded comments, and footnotes with OOXML-level structural validation.
docx-mcp is a MCP server in the Files & Storage category listed in the AddMCP.net directory, published by SecurityRonin. Supported transport: stdio. Runtime: Python. License: MIT License. The repository has 67 GitHub stars. Source code is hosted on github.com. Related topics: ai-tools, comments, document-editing, docx, footnotes.
Setup
{
"mcpServers": {
"docx-mcp": {
"command": "uvx",
"args": [
"docx-mcp-server"
]
}
}
}
{
"mcpServers": {
"docx-mcp": {
"command": "uvx",
"args": [
"docx-mcp-server"
]
}
}
}
{
"servers": {
"docx-mcp": {
"command": "uvx",
"args": [
"docx-mcp-server"
]
}
}
}
docx-mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"docx-mcp": {
"command": "uvx",
"args": [
"docx-mcp-server"
]
}
}
}
docx-mcp tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is docx-mcp?
docx-mcp is an MCP server for reading and editing Word (.docx) documents with full support for track changes, comments, footnotes, and OOXML-level structural validation. It is designed for developers and AI agents who need programmatic control over .docx files.
How to use docx-mcp?
Install via pip (pip install docx-mcp-server) or uvx (uvx docx-mcp-server). Configure the server in your MCP client’s settings JSON (e.g., Claude Desktop, Cursor, VS Code), then use the provided tools such as open_document, insert_text, and save_document to interact with .docx files.
Key features of docx-mcp
- Track changes with proper
w:ins/w:delmarkup for revisions - Add, reply to, and read threaded comments
- Add, list, and validate footnotes
- Validate paraId uniqueness across all document parts
- Detect and remove VML watermarks (e.g., DRAFT)
- Perform comprehensive structural audits (footnotes, headings, bookmarks, images)
Use cases of docx-mcp
- Editing contracts with tracked changes and client comments
- Automating document revision workflows with revision marks
- Auditing document structure for heading and footnote consistency
- Searching and replacing text across body, footnotes, and comments
- Removing draft watermarks from document headers programmatically
Frequently asked questions
1 What are the system requirements?
Python 3.10+ and the lxml library are required.
2 How does docx-mcp differ from python-docx?
docx-mcp manipulates OOXML directly, giving full control over track changes (w:ins/w:del), comments, and structural validation that python-docx does not expose.
3 Can I save changes to a new file?
Yes, the save_document tool supports saving to a new path or overwriting the original file.
4 What data does the server access?
Only the .docx files you explicitly open via the open_document tool; no remote data is accessed.
5 Is there authentication or a specific transport?
No authentication is required; the server runs locally over standard I/O as an MCP server.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In