← Office Word MCP Server

Office Word MCP Server 1.1.11

pypi · office-word-mcp-server · current release

54
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-09-04T07:46:32.355Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.

Server capabilities
{
  "logging": {},
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  },
  "tools": {
    "listChanged": true
  }
}

Tools 54

ToolCategoryAnnotationsRisk
add_endnote_to_documentAdd an endnote to a specific paragraph in a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "paragraph_index": {
      "type": "integer"
    },
    "endnote_text": {
      "type": "string"
    }
  },
  "required": [
    "filename",
    "paragraph_index",
    "endnote_text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Endnote"
}
— · —
add_footnote_after_textAdd a footnote after specific text with proper superscript formatting. This enhanced function ensures footnotes display correctly as superscript.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "search_text": {
      "type": "string"
    },
    "footnote_text": {
      "type": "string"
    },
    "output_filename": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "search_text",
    "footnote_text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Footnote After Text"
}
— · —
add_footnote_before_textAdd a footnote before specific text with proper superscript formatting. This enhanced function ensures footnotes display correctly as superscript.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "search_text": {
      "type": "string"
    },
    "footnote_text": {
      "type": "string"
    },
    "output_filename": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "search_text",
    "footnote_text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Footnote Before Text"
}
— · —
add_footnote_enhancedEnhanced footnote addition with guaranteed superscript formatting. Adds footnote at the end of a specific paragraph with proper style handling.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "paragraph_index": {
      "type": "integer"
    },
    "footnote_text": {
      "type": "string"
    },
    "output_filename": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "paragraph_index",
    "footnote_text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Footnote Enhanced"
}
— · —
add_footnote_robustAdd footnote with robust validation and Word compliance. This is the production-ready version with comprehensive error handling.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "search_text": {
      "default": null,
      "type": "string"
    },
    "paragraph_index": {
      "default": null,
      "type": "integer"
    },
    "footnote_text": {
      "default": "",
      "type": "string"
    },
    "validate_location": {
      "default": true,
      "type": "boolean"
    },
    "auto_repair": {
      "default": false,
      "type": "boolean"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Footnote Robust"
}
— · —
add_footnote_to_documentAdd a footnote to a specific paragraph in a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "paragraph_index": {
      "type": "integer"
    },
    "footnote_text": {
      "type": "string"
    }
  },
  "required": [
    "filename",
    "paragraph_index",
    "footnote_text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Footnote"
}
— · —
add_headingAdd a heading to a Word document with optional formatting.
Input schema
{
  "properties": {
    "filename": {
      "type": "string",
      "description": "Path to Word document"
    },
    "text": {
      "type": "string",
      "description": "Heading text"
    },
    "level": {
      "default": 1,
      "type": "integer",
      "description": "Heading level (1-9)"
    },
    "font_name": {
      "default": null,
      "type": "string",
      "description": "Font family (e.g., 'Helvetica')"
    },
    "font_size": {
      "default": null,
      "type": "integer",
      "description": "Font size in points (e.g., 14)"
    },
    "bold": {
      "default": null,
      "type": "boolean",
      "description": "Make heading bold"
    },
    "italic": {
      "default": null,
      "type": "boolean",
      "description": "Make heading italic"
    },
    "border_bottom": {
      "default": false,
      "type": "boolean",
      "description": "Add bottom border (for section headers)"
    }
  },
  "required": [
    "filename",
    "text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Heading"
}
— · —
add_page_breakAdd a page break to the document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Page Break"
}
— · —
add_paragraphAdd a paragraph to a Word document with optional formatting.
Input schema
{
  "properties": {
    "filename": {
      "type": "string",
      "description": "Path to Word document"
    },
    "text": {
      "type": "string",
      "description": "Paragraph text content"
    },
    "style": {
      "default": null,
      "type": "string",
      "description": "Optional paragraph style name"
    },
    "font_name": {
      "default": null,
      "type": "string",
      "description": "Font family (e.g., 'Helvetica', 'Times New Roman')"
    },
    "font_size": {
      "default": null,
      "type": "integer",
      "description": "Font size in points (e.g., 14, 36)"
    },
    "bold": {
      "default": null,
      "type": "boolean",
      "description": "Make text bold"
    },
    "italic": {
      "default": null,
      "type": "boolean",
      "description": "Make text italic"
    },
    "color": {
      "default": null,
      "type": "string",
      "description": "Text color as hex RGB (e.g., '000000')"
    }
  },
  "required": [
    "filename",
    "text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Paragraph"
}
— · —
add_pictureAdd an image to a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "image_path": {
      "type": "string"
    },
    "width": {
      "default": null,
      "type": "number"
    }
  },
  "required": [
    "filename",
    "image_path"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Picture"
}
— · —
add_tableAdd a table to a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "rows": {
      "type": "integer"
    },
    "cols": {
      "type": "integer"
    },
    "data": {
      "default": null,
      "items": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "type": "array"
    }
  },
  "required": [
    "filename",
    "rows",
    "cols"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Add Table"
}
— · —
apply_table_alternating_rowsApply alternating row colors to a table for better readability.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "color1": {
      "default": "FFFFFF",
      "type": "string"
    },
    "color2": {
      "default": "F2F2F2",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Apply Alternating Row Colors"
}
— · —
auto_fit_table_columnsSet table columns to auto-fit based on content.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "table_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Auto-Fit Table Columns"
}
— · —
convert_to_pdfConvert a Word document to PDF format.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "output_filename": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "destructiveHint": true,
  "title": "Convert to PDF"
}
— · Destructive
copy_documentCreate a copy of a Word document.
Input schema
{
  "properties": {
    "source_filename": {
      "type": "string"
    },
    "destination_filename": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "source_filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "destructiveHint": true,
  "title": "Copy Word Document"
}
— · Destructive
create_custom_styleCreate a custom style in the document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "style_name": {
      "type": "string"
    },
    "bold": {
      "default": null,
      "type": "boolean"
    },
    "italic": {
      "default": null,
      "type": "boolean"
    },
    "font_size": {
      "default": null,
      "type": "integer"
    },
    "font_name": {
      "default": null,
      "type": "string"
    },
    "color": {
      "default": null,
      "type": "string"
    },
    "base_style": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "style_name"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Create Custom Style"
}
— · —
create_documentCreate a new Word document with optional metadata.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "title": {
      "default": null,
      "type": "string"
    },
    "author": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "destructiveHint": true,
  "title": "Create Word Document"
}
— · Destructive
customize_footnote_styleCustomize footnote numbering and formatting in a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "numbering_format": {
      "default": "1, 2, 3",
      "type": "string"
    },
    "start_number": {
      "default": 1,
      "type": "integer"
    },
    "font_name": {
      "default": null,
      "type": "string"
    },
    "font_size": {
      "default": null,
      "type": "integer"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Customize Footnote Style"
}
— · —
delete_footnote_from_documentDelete a footnote from a Word document. Identify the footnote either by ID (1, 2, 3, etc.) or by searching for text near it.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "footnote_id": {
      "default": null,
      "type": "integer"
    },
    "search_text": {
      "default": null,
      "type": "string"
    },
    "output_filename": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "destructiveHint": true,
  "title": "Delete Footnote"
}
— · Destructive
delete_footnote_robustDelete footnote with comprehensive cleanup and orphan removal. Ensures complete removal from document.xml, footnotes.xml, and relationships.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "footnote_id": {
      "default": null,
      "type": "integer"
    },
    "search_text": {
      "default": null,
      "type": "string"
    },
    "clean_orphans": {
      "default": true,
      "type": "boolean"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "destructiveHint": true,
  "title": "Delete Footnote Robust"
}
— · Destructive
delete_paragraphDelete a paragraph from a document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "paragraph_index": {
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "paragraph_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "destructiveHint": true,
  "title": "Delete Paragraph"
}
— · Destructive
find_text_in_documentFind occurrences of specific text in a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "text_to_find": {
      "type": "string"
    },
    "match_case": {
      "default": true,
      "type": "boolean"
    },
    "whole_word": {
      "default": false,
      "type": "boolean"
    }
  },
  "required": [
    "filename",
    "text_to_find"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Find Text"
}
Read only · —
format_tableFormat a table with borders, shading, and structure.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "has_header_row": {
      "default": null,
      "type": "boolean"
    },
    "border_style": {
      "default": null,
      "type": "string"
    },
    "shading": {
      "default": null,
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "filename",
    "table_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Format Table"
}
— · —
format_table_cell_textFormat text within a specific table cell.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "row_index": {
      "type": "integer"
    },
    "col_index": {
      "type": "integer"
    },
    "text_content": {
      "default": null,
      "type": "string"
    },
    "bold": {
      "default": null,
      "type": "boolean"
    },
    "italic": {
      "default": null,
      "type": "boolean"
    },
    "underline": {
      "default": null,
      "type": "boolean"
    },
    "color": {
      "default": null,
      "type": "string"
    },
    "font_size": {
      "default": null,
      "type": "integer"
    },
    "font_name": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index",
    "row_index",
    "col_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Format Cell Text"
}
— · —
format_textFormat a specific range of text within a paragraph.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "paragraph_index": {
      "type": "integer"
    },
    "start_pos": {
      "type": "integer"
    },
    "end_pos": {
      "type": "integer"
    },
    "bold": {
      "default": null,
      "type": "boolean"
    },
    "italic": {
      "default": null,
      "type": "boolean"
    },
    "underline": {
      "default": null,
      "type": "boolean"
    },
    "color": {
      "default": null,
      "type": "string"
    },
    "font_size": {
      "default": null,
      "type": "integer"
    },
    "font_name": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "paragraph_index",
    "start_pos",
    "end_pos"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Format Text"
}
— · —
get_all_commentsExtract all comments from a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get All Comments"
}
Read only · —
get_comments_by_authorExtract comments from a specific author in a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "author": {
      "type": "string"
    }
  },
  "required": [
    "filename",
    "author"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get Comments by Author"
}
Read only · —
get_comments_for_paragraphExtract comments for a specific paragraph in a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "paragraph_index": {
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "paragraph_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get Comments for Paragraph"
}
Read only · —
get_document_infoGet information about a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get Document Info"
}
Read only · —
get_document_outlineGet the structure of a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get Document Outline"
}
Read only · —
get_document_textExtract all text from a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get Document Text"
}
Read only · —
get_document_xmlGet the raw XML structure of a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get Document XML"
}
Read only · —
get_paragraph_text_from_documentGet text from a specific paragraph in a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "paragraph_index": {
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "paragraph_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Get Paragraph Text"
}
Read only · —
highlight_table_headerApply special highlighting to table header row.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "header_color": {
      "default": "4472C4",
      "type": "string"
    },
    "text_color": {
      "default": "FFFFFF",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Highlight Table Header"
}
— · —
insert_header_near_textInsert 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).
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "target_text": {
      "default": null,
      "type": "string"
    },
    "header_title": {
      "default": null,
      "type": "string"
    },
    "position": {
      "default": "after",
      "type": "string"
    },
    "header_style": {
      "default": "Heading 1",
      "type": "string"
    },
    "target_paragraph_index": {
      "default": null,
      "type": "integer"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Insert Header Near Text"
}
— · —
insert_line_or_paragraph_near_textInsert 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).
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "target_text": {
      "default": null,
      "type": "string"
    },
    "line_text": {
      "default": null,
      "type": "string"
    },
    "position": {
      "default": "after",
      "type": "string"
    },
    "line_style": {
      "default": null,
      "type": "string"
    },
    "target_paragraph_index": {
      "default": null,
      "type": "integer"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Insert Line Near Text"
}
— · —
insert_numbered_list_near_textInsert a bulleted or 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), bullet_type ('bullet' for bullets or 'number' for numbered lists, default: 'bullet').
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "target_text": {
      "default": null,
      "type": "string"
    },
    "list_items": {
      "default": null,
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "position": {
      "default": "after",
      "type": "string"
    },
    "target_paragraph_index": {
      "default": null,
      "type": "integer"
    },
    "bullet_type": {
      "default": "bullet",
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Insert List Near Text"
}
— · —
list_available_documentsList all .docx files in the specified directory.
Input schema
{
  "properties": {
    "directory": {
      "default": ".",
      "type": "string"
    }
  },
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "List Available Documents"
}
Read only · —
merge_table_cellsMerge cells in a rectangular area of a table.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "start_row": {
      "type": "integer"
    },
    "start_col": {
      "type": "integer"
    },
    "end_row": {
      "type": "integer"
    },
    "end_col": {
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "table_index",
    "start_row",
    "start_col",
    "end_row",
    "end_col"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Merge Table Cells"
}
— · —
merge_table_cells_horizontalMerge cells horizontally in a single row.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "row_index": {
      "type": "integer"
    },
    "start_col": {
      "type": "integer"
    },
    "end_col": {
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "table_index",
    "row_index",
    "start_col",
    "end_col"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Merge Cells Horizontally"
}
— · —
merge_table_cells_verticalMerge cells vertically in a single column.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "col_index": {
      "type": "integer"
    },
    "start_row": {
      "type": "integer"
    },
    "end_row": {
      "type": "integer"
    }
  },
  "required": [
    "filename",
    "table_index",
    "col_index",
    "start_row",
    "end_row"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Merge Cells Vertically"
}
— · —
protect_documentAdd password protection to a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "password": {
      "type": "string"
    }
  },
  "required": [
    "filename",
    "password"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Protect Document"
}
— · —
replace_block_between_manual_anchorsReplace all content between start_anchor_text and end_anchor_text (or next logical header if not provided).
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "start_anchor_text": {
      "type": "string"
    },
    "new_paragraphs": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "end_anchor_text": {
      "default": null,
      "type": "string"
    },
    "match_fn": {
      "default": null,
      "type": "string"
    },
    "new_paragraph_style": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "start_anchor_text",
    "new_paragraphs"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Replace Block Between Anchors"
}
— · —
replace_paragraph_block_below_headerReemplaza el bloque de párrafos debajo de un encabezado, evitando modificar TOC.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "header_text": {
      "type": "string"
    },
    "new_paragraphs": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "detect_block_end_fn": {
      "default": null,
      "type": "string"
    }
  },
  "required": [
    "filename",
    "header_text",
    "new_paragraphs"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Replace Block Below Header"
}
— · —
search_and_replaceSearch for text and replace all occurrences.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "find_text": {
      "type": "string"
    },
    "replace_text": {
      "type": "string"
    }
  },
  "required": [
    "filename",
    "find_text",
    "replace_text"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "destructiveHint": true,
  "title": "Search and Replace"
}
— · Destructive
set_table_alignment_allSet text alignment for all cells in a table.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "horizontal": {
      "default": "left",
      "type": "string"
    },
    "vertical": {
      "default": "top",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Set Table Alignment"
}
— · —
set_table_cell_alignmentSet text alignment for a specific table cell.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "row_index": {
      "type": "integer"
    },
    "col_index": {
      "type": "integer"
    },
    "horizontal": {
      "default": "left",
      "type": "string"
    },
    "vertical": {
      "default": "top",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index",
    "row_index",
    "col_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Set Cell Alignment"
}
— · —
set_table_cell_paddingSet padding/margins for a specific table cell.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "row_index": {
      "type": "integer"
    },
    "col_index": {
      "type": "integer"
    },
    "top": {
      "default": null,
      "type": "number"
    },
    "bottom": {
      "default": null,
      "type": "number"
    },
    "left": {
      "default": null,
      "type": "number"
    },
    "right": {
      "default": null,
      "type": "number"
    },
    "unit": {
      "default": "points",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index",
    "row_index",
    "col_index"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Set Cell Padding"
}
— · —
set_table_cell_shadingApply shading/filling to a specific table cell.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "row_index": {
      "type": "integer"
    },
    "col_index": {
      "type": "integer"
    },
    "fill_color": {
      "type": "string"
    },
    "pattern": {
      "default": "clear",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index",
    "row_index",
    "col_index",
    "fill_color"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Set Table Cell Shading"
}
— · —
set_table_column_widthSet the width of a specific table column.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "col_index": {
      "type": "integer"
    },
    "width": {
      "type": "number"
    },
    "width_type": {
      "default": "points",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index",
    "col_index",
    "width"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Set Column Width"
}
— · —
set_table_column_widthsSet the widths of multiple table columns.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "widths": {
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "width_type": {
      "default": "points",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index",
    "widths"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Set Column Widths"
}
— · —
set_table_widthSet the overall width of a table.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "table_index": {
      "type": "integer"
    },
    "width": {
      "type": "number"
    },
    "width_type": {
      "default": "points",
      "type": "string"
    }
  },
  "required": [
    "filename",
    "table_index",
    "width"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Set Table Width"
}
— · —
unprotect_documentRemove password protection from a Word document.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    },
    "password": {
      "type": "string"
    }
  },
  "required": [
    "filename",
    "password"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "title": "Unprotect Document"
}
— · —
validate_document_footnotesValidate all footnotes in document for coherence and compliance. Returns detailed report on ID conflicts, orphaned content, missing styles, etc.
Input schema
{
  "properties": {
    "filename": {
      "type": "string"
    }
  },
  "required": [
    "filename"
  ],
  "type": "object",
  "additionalProperties": false
}
Annotations
{
  "readOnlyHint": true,
  "title": "Validate Footnotes"
}
Read only · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.