luiccian-word-mcp

v3.2.0
luiccian-word-mcp Checked 1 day ago Published 14 days ago

High-performance Model Context Protocol (MCP) server for Word (.docx) document generation and manipulation

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

build_document Build Document

Build a complete Word document with typography, margins, header/footer and content in a single pass.

ParameterTypeDescription
author
elements
file_path
filename
font_name
font_size
footer_text
header_text
line_spacing
margins
orientation
page_numbersboolean
page_size
preset
space_after
title

create_from_markdown Create From Markdown

Create a styled Word document directly from Markdown text in a single pass.

ParameterTypeDescription
markdown_content *string
author
file_path
filename
font_name
font_size
footer_text
header_text
line_spacing
margins
page_numbersboolean
page_size
preset
space_after
title

batch_add_content Batch Add Content

Append multiple content blocks (headings, paragraphs, tables, lists) to an existing document in one pass.

ParameterTypeDescription
elements *array
file_path
filename

word_document Word Document

Document lifecycle, inspection, search, merge, and PDF export. Actions: create, copy, info, text, outline, list, merge, paragraph_text, find_text, to_pdf, read_range, get_tables. Pass parameters inside `params`, e.g. {"action": "create", "params": {"filename": "/path/doc.docx"}} (required: filename). Use `action='help'` for full per-action parameter schemas in one call.

ParameterTypeDescription
action *string
params

word_content Word Content

Add, update, search/replace, or delete document content elements. Actions: add_heading, add_paragraph, add_picture, add_table, add_page_break, delete_paragraph, search_and_replace, add_toc, add_hyperlink, add_bookmark, batch_edit. Pass parameters inside `params`, e.g. {"action": "add_paragraph", "params": {"filename": "/path/doc.docx", "text": "Hello world"}} (required: filename, text). Use `action='help'` for full per-action parameter schemas in one call.

ParameterTypeDescription
action *string
params

word_format Word Format

Format text, tables, custom styles, headers, and footers. Actions: format_text, create_style, format_table, add_header, add_footer. Pass parameters inside `params`, e.g. {"action": "format_text", "params": {"filename": "/path/doc.docx", "paragraph_index": 0, "start_pos": 0, "end_pos": 5, "bold": true}} (required: filename, paragraph_index, start_pos, end_pos). Use `action='help'` for full per-action parameter schemas in one call.

ParameterTypeDescription
action *string
params

word_protection Word Protection

Encrypt, unprotect, restrict editing, add signature marker, or verify. Actions: protect, unprotect, restrict_editing, add_signature, verify. Pass parameters inside `params`, e.g. {"action": "protect", "params": {"filename": "/path/doc.docx", "password": "secret"}} (required: filename, password). Use `action='help'` for full per-action parameter schemas in one call.

ParameterTypeDescription
action *string
params

word_footnote Word Footnote

Add footnotes/endnotes, convert footnotes, or customize note style. Actions: add_footnote, add_endnote, convert_to_endnotes, customize_style. Pass parameters inside `params`, e.g. {"action": "add_footnote", "params": {"filename": "/path/doc.docx", "paragraph_index": 0, "footnote_text": "Note text"}} (required: filename, paragraph_index, footnote_text). Use `action='help'` for full per-action parameter schemas in one call.

ParameterTypeDescription
action *string
params

word_property Word Property

Read/update core document properties and configure page layout. Actions: get_properties, set_properties, set_page_layout. Pass parameters inside `params`, e.g. {"action": "get_properties", "params": {"filename": "/path/doc.docx"}} (required: filename). Use `action='help'` for full per-action parameter schemas in one call.

ParameterTypeDescription
action *string
params