
Docx Forge
io.github.mdfifty50-boopPublished by GitHub account mdfifty50-boopv0.1.1Updated Oct 24, 2026
Professional document generation from structured data
Overview
Local MCP server that lets an assistant create, edit, read, merge and export Word .docx documents without Microsoft Office.
- What you can do
- Create documents from a title and markdown content, and append sections with headings and body text
- Read existing .docx files to extract text, headings, paragraphs and metadata
- Find and replace text for template variable substitution, and insert formatted tables with bold headers
- Merge several .docx files into one and get word count, page estimate, section and table counts
- Export a .docx to PDF through LibreOffice or pandoc
- When to use it
- Useful when an assistant should produce contracts, reports, proposals or compliance documents as Word files, or edit and inspect existing .docx files, without a Word installation or manual formatting.
- Requirements
- Runs locally over stdio, typically via npx docx-forge-mcp or a global npm install. Needs Node.js 18 or newer. No Office installation and no credentials are required. PDF export additionally needs LibreOffice or pandoc installed on the system.
Installation
In SourceWeft
- Open Docx Forge in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
docx-forge-mcp
MCP server for Word document (.docx) creation and manipulation — the production-grade document automation tool for AI agents.
Generate contracts, reports, proposals, and compliance documents directly from agent workflows. No Word installation required.
[npm] [License: MIT] [MCP Compatible]
Why docx-forge-mcp?
Word documents are the default format for contracts, compliance reports, legal agreements, and business proposals — especially in enterprise and government workflows. This MCP server gives AI agents the ability to produce and manipulate .docx files programmatically, without any Office installation, UI automation, or file format guesswork.
Only 1 competitor exists for Word document manipulation via MCP as of 2026. This server fills that gap with a production-quality, fully-tested implementation.
Tools
Install
Claude Desktop
Add to your claude_desktop_config.json:
Cursor
Add to your .cursor/mcp.json:
Manual (Node.js)
Usage Examples
Create a contract from a template
Build a structured report
Read and inspect an existing document
Merge chapter files into a book
Markdown Support
create_document and add_section both accept markdown content:
PDF Export
export_to_pdf requires a system-level converter. It tries in order:
- LibreOffice (best fidelity) —
sudo apt-get install libreoffice - pandoc —
sudo apt-get install pandoc
If neither is available, the tool returns success: false with installation instructions. The source .docx file is always preserved.
Resources
Dependencies
docx—.docxcreation (no Office required)mammoth—.docxreading and text extraction@modelcontextprotocol/sdk— MCP protocolzod— Input validation
Requirements
- Node.js >= 18.0.0
- No Microsoft Word or Office installation required
- PDF export requires LibreOffice or pandoc (optional)
Development
License
MIT — see LICENSE
Related MCP Servers
- agentic-observability-mcp — Trace, cost-track, and monitor agent actions
- agent-guard-mcp — Loop detection and circuit breakers
- compliance-shield-mcp — EU AI Act audit trails
Source: README.md at commit 848734f
Tools
0Version history
1- v0.1.1LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts