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 Server Create 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.
Available Tools
11 toolsconvert_documentConvert documentsA
Convert one or many documents between docx, doc (read), pdf, odt, rtf, html, md, tex, txt, json and png (first page) with WordCraft. markup=true prints comments and tracked changes (Print Markup). Outputs go next to each input or into output_dir; nothing is replaced unless overwrite is true.
Inputs: markup, formats, input_dir, overwrite, +4 more.
create_documentCreate a Word documentA
Write a new document with WordCraft (a Word-class word processor): headings, paragraphs with styles and formatting, bullet / numbered lists, tables, images with captions, page breaks, a table of contents and footnotes, plus page size, margins, headers, footers and page numbers. Starts blank or from a built-in template (letter, resume, report). Saves docx, pdf, odt, rtf, html, md, tex, txt or png pages in one go, and returns a preview of page 1.
Inputs: name, scale, title, author, +18 more.
edit_documentEdit a Word documentA
Edit existing documents (docx, doc, odt, rtf, md, html, txt...) without touching the originals: find and replace (with match case / whole word / wildcards), comments on found text, tracked changes (so every edit is reviewable in Word), accept or reject existing revisions, append content blocks (same blocks as create_document), change properties, page setup and headers / footers, and remove personal information. Saves "_edited." (or the formats asked for) next to each input or in output_dir.
Inputs: scale, title, append, author, +25 more.
extract_textExtract textAIdempotent
Plain text of documents (docx, doc, odt, rtf, html, md, pdf made by WordCraft...). Returns the text (up to max_chars per document) and, with save_txt, also writes .txt files.
Inputs: save_txt, input_dir, max_chars, overwrite, +4 more.
get_document_infoDocument infoBRead-onlyIdempotent
Pages, words, paragraphs, sections, comments, tracked changes and properties of documents; optionally the structure (headings, paragraph styles, lists, tables with cell texts) to understand a document before editing it.
Inputs: input_dir, input_path, input_paths, include_structure.
get_wordcraft_statusWordCraft statusARead-onlyIdempotent
Check the WordCraft installation: platform, executables, version, engine commands, Word feature coverage, save formats, whether the app is running / listening for control.
Inputs: no named parameters.
list_wordcraft_catalogList commands, styles, templates, formatsARead-onlyIdempotent
What WordCraft can do: commands (615 engine commands with parameters and ribbon location, for run_wordcraft_commands), styles (paragraph, character and table styles of a new document or of input_path), templates (new document templates), formats (open and save).
Inputs: kind (required), filter, input_path.
mail_mergeMail merge letters from a spreadsheetA
Personalized letters, certificates or notices from a data file (CSV, TSV, TXT, XLSX, ODS): either a template document that already has merge fields, or a body written here with {{Field}} placeholders (the column names). Writes one merged document with a section per record (docx, and pdf / other formats if asked).
Inputs: data_path (required), body, name, scale, +11 more.
open_in_wordcraftOpen in WordCraftA
Open documents in the WordCraft desktop app for manual editing. With control=true the app also starts its loopback-only control channel (protected by a key in WordCraft's settings folder) so run_wordcraft_commands live=true can drive it.
Inputs: paths, control.
render_pagesRender pagesAIdempotent
Render document pages to PNG to look at them: returns up to 4 page images and, with save=true, writes _p.png files.
Inputs: input_path (required), save, pages, scale, +5 more.
run_wordcraft_commandsRun WordCraft engine commandsADestructive
Advanced: run any of WordCraft's 615 engine commands in order (text., format., para., styles., table., insert., layout., references., review., mailings., design., equation., chart., smartArt., fields.*...) plus the engine tools new_document / open_document / type_text / select_text / get_text / inspect_document / render_page / save_document (step id = the tool name), on a new document, a template or an opened file, then save. Parameters can use "$steps[N].field" for a value returned by step N (0-based). With live=true the steps drive the open WordCraft app instead.
Inputs: live, name, scale, steps, +12 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 11 tools
High-level tools map cleanly to distinct document actions: create, edit, convert, inspect, extract, render, mail merge, and app control are easy to tell apart. The main overlap is run_wordcraft_commands, which exposes low-level equivalents of several higher-level tools, but its 'Advanced' framing and the catalog tool keep the boundary reasonably clear.
All names use snake_case consistently, and most follow a verb-first pattern such as create_document, convert_document, and get_wordcraft_status. Minor deviations like mail_merge and open_in_wordcraft are readable but slightly less pattern-conforming.
Eleven tools is well within the ideal range and matches the broad document-processing purpose. Each tool covers a meaningful capability without obvious bloat.
The surface covers the full document lifecycle: creation, editing, conversion, metadata inspection, text extraction, rendering, mail merge, advanced command execution, desktop integration, and status checks. No significant workflow gap is apparent for a Word-class document server.
Maintenance
Related MCP Connectors
Convert, create 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.
Convert DOCX documents to and from PDF, TXT, HTML, ODT, JPG and RTF.
Turn Markdown and AI answers into Word (.docx) with native equations, or into PDF.
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.1016 npmMIT
- AlicenseCqualityCmaintenanceEnables 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
- AlicenseNot gradedqualityCmaintenanceEnables Claude to create, edit, and format .odt documents through the UNO API with headless operation and sandboxed access to a single documents folder. It supports text, lists, tables, paragraph styles, and character formatting via MCP tools.GPL 3.0