Free and open source · public domain
Ask your AI assistant for a report, a specification or a procedure as a Word file: it writes the Markdown, calls md2nativedocx and hands you a .docx whose diagrams are shapes, SmartArt and charts you can edit.
The assistant sends its Markdown once; the .docx comes back with headings, tables, lists and every diagram, ready to hand over.
Each warning names the diagram and its line in the Markdown, so the assistant corrects that block and converts again on its own.
It reads no image, file or web address named in the text, writes only .docx files inside its folder, never overwrites one, and stops any call that runs too long.
Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and others: it is a standard MCP server, run on your computer with Node.js.
Install Node.js and Pandoc (pandoc.org) if they are not on your computer yet: the server writes the document with Pandoc.
Add the server to your assistant’s MCP settings, as below.
Ask for a Word document. The file is written in the folder the server runs in, or in the one named by MD2NATIVEDOCX_MCP_ROOT.
{
"mcpServers": {
"md2nativedocx": {
"command": "npx",
"args": ["-y", "@md2nativedocx/mcp"]
}
}
}