Office Word MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_DEBUG | No | Enable detailed logging by setting to 1 | 0 |
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
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_documentC | Create a new Word document with optional metadata. |
| copy_documentC | Create a copy of a Word document. |
| get_document_infoC | Get information about a Word document. |
| get_document_textC | Extract all text from a Word document. |
| get_document_outlineC | Get the structure of a Word document. |
| list_available_documentsB | List all .docx files in the specified directory. |
| get_document_xmlB | Get the raw XML structure of a Word document. |
| insert_header_near_textA | Insert a header (with specified style) before or after the target paragraph. Specify by text or paragraph index. Args: filename (str), target_text (str, optional), header_title (str), position ('before' or 'after'), header_style (str, default 'Heading 1'), target_paragraph_index (int, optional). |
| insert_line_or_paragraph_near_textC | Insert a new line or paragraph (with specified or matched style) before or after the target paragraph. Specify by text or paragraph index. Args: filename (str), target_text (str, optional), line_text (str), position ('before' or 'after'), line_style (str, optional), target_paragraph_index (int, optional). |
| insert_numbered_list_near_textA | Insert a numbered list before or after the target paragraph. Specify by text or paragraph index. Args: filename (str), target_text (str, optional), list_items (list of str), position ('before' or 'after'), target_paragraph_index (int, optional). |
| add_paragraphC | Add a paragraph to a Word document. |
| add_headingC | Add a heading to a Word document. |
| add_pictureC | Add an image to a Word document. |
| add_tableC | Add a table to a Word document. |
| add_page_breakC | Add a page break to the document. |
| delete_paragraphC | Delete a paragraph from a document. |
| delete_tableC | Delete a table from a document. |
| search_and_replaceC | Search for text and replace all occurrences. |
| create_custom_styleC | Create a custom style in the document. |
| format_textC | Format a specific range of text within a paragraph. IMPORTANT: When specifying the color parameter, use a hex code WITHOUT the leading # (e.g., '0070C0', not '#0070C0'). |
| format_tableC | Format a table with borders, shading, and structure. |
| protect_documentC | Add password protection to a Word document. |
| unprotect_documentC | Remove password protection from a Word document. |
| add_footnote_to_documentC | Add a footnote to a specific paragraph in a Word document. |
| add_endnote_to_documentC | Add an endnote to a specific paragraph in a Word document. |
| customize_footnote_styleC | Customize footnote numbering and formatting in a Word document. |
| get_paragraph_text_from_documentC | Get text from a specific paragraph in a Word document. |
| find_text_in_documentC | Find occurrences of specific text in a Word document. |
| convert_to_pdfC | Convert a Word document to PDF format. |
| replace_paragraph_block_below_headerC | Reemplaza el bloque de párrafos debajo de un encabezado, evitando modificar TOC. |
| replace_block_between_manual_anchorsB | Replace all content between start_anchor_text and end_anchor_text (or next logical header if not provided). |
| modify_table_cellC | Modify or add content to a specific table cell, following the style of existing non-header cells. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 32 tools
Most tools have distinct purposes, but there is some overlap that could cause confusion. For example, 'add_paragraph' and 'insert_line_or_paragraph_near_text' both handle paragraph insertion, and 'find_text_in_document' and 'search_and_replace' both involve text searching. The descriptions help clarify differences, but an agent might misselect between similar tools.
The naming is mostly consistent with a verb_noun pattern, such as 'add_paragraph', 'format_text', and 'create_document'. However, there are minor deviations like 'list_available_documents' (which fits) and 'replace_block_between_manual_anchors' (which is verbose but follows the pattern). No chaotic mixing of styles is present.
With 32 tools, this server feels overly heavy for a Word document manipulation scope. While Word has many features, the tool set includes numerous specialized operations that could be consolidated or omitted, leading to potential complexity and confusion for agents. A more streamlined set of 15-20 tools would be more appropriate.
The tool surface is highly complete for Word document operations, covering creation, editing, formatting, conversion, protection, and metadata handling. It includes CRUD-like actions for paragraphs, tables, and styles, as well as advanced features like footnotes, headers, and XML access. No obvious gaps are present for the domain.