docx-mcp
@SecurityRonin
docx-mcp について
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.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"docx-mcp": {
"command": "uvx",
"args": [
"docx-mcp-server"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
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
FAQ from docx-mcp
What are the system requirements?
Python 3.10+ and the lxml library are required.
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.
Can I save changes to a new file?
Yes, the save_document tool supports saving to a new path or overwriting the original file.
What data does the server access?
Only the .docx files you explicitly open via the open_document tool; no remote data is accessed.
Is there authentication or a specific transport?
No authentication is required; the server runs locally over standard I/O as an MCP server.
「ファイルとストレージ」の他のコンテンツ
Google Drive MCP Server
hxie-pallasA google drive mcp servers based on Python
PDF Reader MCP Server (@sylphlab/pdf-reader-mcp)
sylphlab📄 The PDF intelligence layer for AI agents — Agent Document Twin, evidence-first extraction, visual crops, OCR provenance, trust reports, and benchmark-gated releases. MCP server for Claude, Cursor, VS Code, and any MCP client.
mcp-rquest
xxxbrianA MCP server providing realistic browser-like HTTP request capabilities with accurate TLS/JA3/JA4 fingerprints for bypassing anti-bot measures. It also supports converting PDF and HTML documents to Markdown for easier processing by LLMs.
Bulk Filesystem Operations MCP Server
strawgateMCP Server for reading many files at the same time
MCP File System Server
MarcusJellinghausMCP Workspace Server: A secure Model Context Protocol server providing file, git, and GitHub tools for AI assistants within a sandboxed project directory.
コメント