docx-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| extract_fragmentsA | Extract text from a .docx file as tagged fragments. `` for paragraph breaks. |
| apply_changesA | Apply tracked changes to a .docx file and save a new redlined document.
|
| apply_changes_from_fileA | Same as Useful for large change sets that would exceed token limits in a direct tool call, or for reusing a change set across multiple runs. The JSON file must contain either a bare array of change objects, or an
object with a See |
| validate_document_toolA | Check a .docx file for structural issues. Runs validation checks on the document's OOXML structure to ensure it will open correctly in Microsoft Word and that all tracked changes and comments are properly formed. Use this tool:
Validation Checks
Example OutputSuccess case:: Failure case:: |
| audit_document_toolA | Audit a .docx file for structural issues and skipped content. Reports headers, footers, images, tables, section breaks, tracked changes, comments, and unsupported elements (footnotes, endnotes, text boxes). |
| diff_fragmentsA | Compare two .docx files and show paragraph and table-level text differences. Extracts the pseudo-Markdown text from each paragraph and table cell in both documents, then produces a word-level diff for each fragment position. This is useful for understanding what changed between two versions of a document. Use this tool:
Important LimitationsFragments are matched by position (fragment 1 vs fragment 1, fragment 2 vs fragment 2, etc.). This tool does not detect fragment reordering or track moved sections. If the documents have very different structures (different fragment counts, major reordering), the output will show extensive changes. Best used for comparing documents with the same basic structure where you made local edits (word changes, clause deletions, appended sections, table cell modifications). Output FormatEach fragment is reported with its change status. Paragraphs:: Tables:: Lines starting with For tables, each modified cell is shown with its cell ID (table_id.row.col) followed by the word-level diff of the cell content. Difference from extract_fragments
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sontanon/docx-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server