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 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
create_document | Create a new Word document with optional metadata. |
copy_document | Create a copy of a Word document. |
get_document_info | Get information about a Word document. |
get_document_text | Extract all text from a Word document. |
get_document_outline | Get the structure of a Word document. |
list_available_documents | List all .docx files in the specified directory. |
get_document_xml | Get the raw XML structure of a Word document. |
insert_header_near_text | 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_text | 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_text | 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_paragraph | Add a paragraph to a Word document. |
add_heading | Add a heading to a Word document. |
add_picture | Add an image to a Word document. |
add_table | Add a table to a Word document. |
add_page_break | Add a page break to the document. |
delete_paragraph | Delete a paragraph from a document. |
delete_table | Delete a table from a document. |
search_and_replace | Search for text and replace all occurrences. |
create_custom_style | Create a custom style in the document. |
format_text | 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_table | Format a table with borders, shading, and structure. |
protect_document | Add password protection to a Word document. |
unprotect_document | Remove password protection from a Word document. |
add_footnote_to_document | Add a footnote to a specific paragraph in a Word document. |
add_endnote_to_document | Add an endnote to a specific paragraph in a Word document. |
customize_footnote_style | Customize footnote numbering and formatting in a Word document. |
get_paragraph_text_from_document | Get text from a specific paragraph in a Word document. |
find_text_in_document | Find occurrences of specific text in a Word document. |
convert_to_pdf | Convert a Word document to PDF format. |
replace_paragraph_block_below_header | Reemplaza el bloque de párrafos debajo de un encabezado, evitando modificar TOC. |
replace_block_between_manual_anchors | Replace all content between start_anchor_text and end_anchor_text (or next logical header if not provided). |
modify_table_cell | Modify or add content to a specific table cell, following the style of existing non-header cells. |