WordCraft MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WordCraft MCP ServerCreate a letter for every customer in customers.xlsx with name and city."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Why
WordCraft is an open-source, Word-class word processor written in Rust, with a headless CLI (wordcraft-cli), 615 commands, DOCX / ODT / RTF / PDF support and an MCP mode. This Model Context Protocol server turns that engine into file-in / file-out tools for Claude, so you can ask things like:
"Write a 3-page quarterly report with a table of contents, a sales table, this chart and page numbers, as DOCX and PDF." "In
contract.docx, change 'ACME Ltd.' to 'ACME S.A.S.' with tracked changes and add a comment on the payment clause." "Create a letter for every customer incustomers.xlsx, with their name and city." "Accept all changes in every document inD:\Contractsand export them as PDF." "Convert these Markdown notes to Word, and this Word file to LaTeX."
Sibling of designcraft-mcp-server, effectcraft-mcp-server, lightcraft-mcp-server, photocraft-mcp-server, vectorcraft-mcp-server, filmcraft-mcp-server, pdfcraft-mcp-server and audacity-mcp-server.
Related MCP server: Word Document MCP Server
Platforms
OS | WordCraft package to install | Where the server finds it (no setup needed) | Status |
Windows 10/11 (x64, x86, arm64) | MSI or portable zip |
| ✅ Verified (Windows 11) |
Linux (x86_64, aarch64, riscv64) |
|
| ✅ Verified (Debian 12, headless) |
macOS 11+ (Apple silicon and Intel) |
|
| 🟡 Supported, not yet tested on a Mac |
All downloads: WordCraft releases (there is also a FreeBSD tar.gz; set WORDCRAFT_DIR to it). Anywhere else: set WORDCRAFT_DIR (folder, .tar.gz root or WordCraft.app) or WORDCRAFT_CLI.
macOS: the DMG contains only the app. Unzip the separate
wordcraft-clizip and movewordcraft-clito/usr/local/bin(or pointWORDCRAFT_CLIat it). The first run checks Apple's notarization online.Linux: the AppImage and Flatpak contain only the app, not
wordcraft-cli; use the deb, rpm or tar.gz. For an AppImage app, setWORDCRAFT_APPsoopen_in_wordcraftcan start it. On a server without a GPU, the verified setup usedlibxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig.
How it works
Part | What it is |
WordCraft engine ( | WordCraft's own engine: layout, styles, lists, tables, fields, references, review, mailings and the DOCX / PDF / ODT / RTF / HTML / Markdown / LaTeX writers. Started fresh and headless for each job, so it never touches the WordCraft app or an open document. |
MCP server (Node.js) | 11 high-level tools. Builds documents from a simple list of blocks (headings, paragraphs, lists, tables, images, table of contents, footnotes), keeps the caret where it belongs between blocks, and checks every output first: WordCraft itself would replace existing files silently. |
Live app (optional) |
|
Tools
Tool | What it does |
| A new document, blank or from the letter / resume / report / sample templates, built from blocks: headings 1–9, paragraphs (style, alignment, bold, italic, underline, font, size, colour, highlight), bullet and numbered lists, tables (header row, style, caption), images (width, alt text, caption), page breaks, a table of contents and footnotes; page size, orientation, margins, header, footer, page numbers and document properties. Returns a preview of page 1 |
| One document, a list or a folder: find / replace (match case, whole word, wildcards), comments on any text, tracked changes (so every edit is reviewable), accept or reject all revisions, append blocks, remove personal information; written as a new copy |
| Letters from CSV, TSV, XLSX or ODS: an existing template with merge fields, or a body written with |
| One document, a list or a folder → DOCX, PDF, ODT, RTF, HTML, Markdown, LaTeX, TXT, WordCraft JSON or PNG pages, optionally with Print Markup (comments and changes) |
| Pages, words, characters, paragraphs, properties, styles, headings, tables, images, comments and revisions |
| Plain text of a document, optionally saved as |
| Pages shown to Claude and optionally saved as PNG |
| 615 commands with parameters, styles, templates, formats |
| Any engine commands plus |
| Open documents in the WordCraft app (optionally with the control channel) |
| Platform, installation, version, commands, app / control port |
Opens | DOCX, DOC, DOTX, DOCM, ODT, RTF, Markdown, LaTeX, HTML, TXT, WordCraft JSON; places PNG, JPEG, GIF, BMP, WebP, TIFF and SVG; merges CSV / TSV / XLSX / ODS |
Saves | DOCX (optionally password-protected), PDF, ODT, RTF, HTML, Markdown, LaTeX, TXT, WordCraft JSON, PNG pages |
Example
{
"name": "Quarterly report",
"template": "blank",
"page_size": "A4",
"margins": "normal",
"header": "ACME S.A.S.",
"page_numbers": "bottom",
"title": "Quarterly report 2026",
"author": "Finance",
"blocks": [
{ "type": "paragraph", "text": "Quarterly report 2026", "style": "Title" },
{ "type": "toc", "levels": 2 },
{ "type": "heading", "text": "Summary", "level": 1 },
{ "type": "paragraph", "text": "Sales grew 12 % over the last quarter." },
{ "type": "paragraph", "text": "Highlight in bold red.", "bold": true, "color": "#c00000", "align": "center" },
{ "type": "bullets", "items": ["Grow in Colombia", "Open Peru", "Cut costs"] },
{ "type": "heading", "text": "Results", "level": 1 },
{ "type": "table", "caption": "Sales by region", "rows": [["Region", "Sales", "Change"], ["North", "1,200", "+8 %"], ["South", "950", "+15 %"]] },
{ "type": "image", "path": "C:\\Reports\\chart.png", "width": 360, "caption": "Sales by month" },
{ "type": "footnote", "text": "Source: internal data." }
],
"formats": ["docx", "pdf"],
"output_dir": "C:\\Reports"
}Requirements
WordCraft with
wordcraft-cli(tested with 0.6.1); see PlatformsNode.js ≥ 20 (bundled with Claude Desktop for
.mcpbinstalls)
Installation
Claude Desktop (recommended, all platforms)
Download
wordcraft-mcp-server.mcpbfrom the latest release.Double-click it (or drag it into Claude Desktop → Settings → Extensions) and click Install.
Optional: if WordCraft is not in a standard location, fill in its folder or the
wordcraft-clipath in the extension settings.
Sunsam Code
Install WordCraft Bridge from the Sunsam Code marketplace, or drop the .mcpb into MCP → Install extension.
Codex (OpenAI)
Recommended — the marketplace (gets updates): Plugins → Add → Add marketplace, source jhonsu01/craft-marketplace, reference main, then install WordCraft Bridge from Craft Bridges (craft-marketplace). New versions arrive by refreshing the marketplace. Or upload the zip (Codex then keeps it in your account and refuses a newer zip with the same name):
Download
wordcraft-mcp-server-<version>-codex.zipfrom the latest release.In Codex: Plugins → Add → New plugin, choose the zip and click Add plugin.
Codex starts the server with
node, so Node.js ≥ 20 must be onPATH. If WordCraft is not in a standard location, setWORDCRAFT_DIRorWORDCRAFT_CLIas system environment variables (Codex has no settings form for local plugins).
DeepSeek Harness
Plugins → Add plugin, enter
github:jhonsu01/craft-marketplace#path:/plugins/wordcraft-mcp-serverand click Install, then Enable now.Harness runs the server with its own MCP client and
node(Node.js ≥ 20 onPATH); the tools appear asmcp__wordcraft__<tool>and the output files as cards that open in Harness.Harness does not update plugins by itself yet: to upgrade, uninstall the plugin and install it again with the same address.
Claude Code / other MCP clients
git clone https://github.com/jhonsu01/wordcraft-mcp-server.git
cd wordcraft-mcp-server
npm install
npm run buildWindows:
claude mcp add wordcraft -- node "%CD%\dist\bundle.cjs"macOS / Linux:
claude mcp add wordcraft -- node "$PWD/dist/bundle.cjs"Configuration
Variable | Meaning |
| WordCraft folder, one of its executables, a |
| Path of |
| Path of the desktop app when it lives elsewhere (e.g. a Linux AppImage) |
| Control port of the desktop app (default 7985) |
| Maximum seconds per engine call (default 3600) |
Safety
Files are never overwritten unless
overwrite: true: a free name (_2) is used in folders and an existingoutput_pathis an error. Documents, images and data are only read; an edited document is saved only as a new copy (_edited).All paths must be absolute. The engine runs headless and never touches the WordCraft app unless
live: true.Everything runs locally with no network access. Each job uses a private engine in a temporary folder that is deleted at the end.
Development
npm run build # TypeScript + single-file bundle (dist/bundle.cjs)
npm test # unit tests (Windows, macOS and Linux path logic)
npm run test:e2e # 29 end-to-end checks (31 with `E2E_LIVE=1`) over real MCP stdio (synthetic image and CSV)
npm run pack:mcpb # wordcraft-mcp-server.mcpb
npm run pack:codex # Codex / DeepSeek Harness plugin zipLinux test in Docker (unpack wordcraft-<version>-linux-x86_64.tar.gz first):
docker run --rm -v "$PWD:/work:ro" -v "/path/to/wordcraft-0.6.1-linux-x86_64:/opt/wordcraft:ro" -e WORDCRAFT_DIR=/opt/wordcraft -w /work node:22-bookworm bash -c "apt-get update && apt-get install -y libxkbcommon0 libvulkan1 libegl1 mesa-vulkan-drivers libasound2 fontconfig && node scripts/e2e.mjs"License
Apache-2.0. WordCraft is © its authors (Storytold), MIT or Apache-2.0. This project is not affiliated with or endorsed by WordCraft or Storytold. Word is a trademark of Microsoft.
Related MCP Connectors
Create, review and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Create real Word .docx files from your AI chat: proposals, quotes, contracts, statements of work.
Documents: DOCX template fill, Office to PDF, any file to Markdown, PDF to Word, OCR, PDF pipeline.
Related MCP Servers
- AlicenseBqualityNot gradedmaintenanceEnables AI assistants to create, read, and manipulate Microsoft Word documents with comprehensive formatting, table creation, content management, and document protection capabilities. Supports advanced operations like merging documents, PDF conversion, and rich text formatting through a standardized interface.32MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to create and manipulate Microsoft Word documents programmatically with support for rich text formatting, tables, lists, headings, and find-and-replace operations.1011 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to create, read, modify, and convert Word documents without Microsoft Word, supporting 18 tools for document operations, paragraph manipulation, table management, formatting, and conversion between multiple formats including PDF, HTML, and Markdown.6MIT
- AlicenseCqualityBmaintenanceEnables AI agents to create, read, and edit Word documents with tracked changes, comments, and template manipulation, including bulk text replacement and paragraph-level operations.100MIT