ms-word-mcp

v0.3.0
ms-word-mcp Checked 1 day ago Published 19 hours ago

Real-time Microsoft Word control on Windows and macOS: an MCP server that works in the document beside you

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

word_describe

The Word tools: call with no names first for the list of all of them, one line each; then with the names you are about to use, once each, for their full description and argument schema. Every Word tool is run through word_run (one call) or word_run_steps (several), with exactly the arguments its schema gives. Start a task with word_describe().

ParameterTypeDescription
namesarray

word_run

Run one Word tool: `tool` is its name, `params` its arguments as word_describe gives them, `document` the document it works on (optional, as on every tool). Answers exactly what the tool answers.

ParameterTypeDescription
tool *string
documentstring
paramsobject

word_run_steps

Run several Word tools in order, in one call. Each step is {"tool": name, "params": {...}}, with an optional "document" of its own that wins over the one given here. A value that is exactly "$prev.key" is the previous step's result field, and "$2.inserted.0.index" the second step's; start a text with "$$" for a literal "$". A step fails when its tool raises or answers {"error": ...}; with stop_on_error, the first failing step ends the run and says why. Page pictures from word_get_page_image follow the report.

ParameterTypeDescription
steps *array
documentstring
stop_on_errorboolean