Professional document generation from structured data
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
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.
| Tool | Description |
|---|---|
create_document | Create a new .docx from a title and markdown content |
read_document | Extract text, headings, paragraphs, and metadata from a .docx |
add_section | Append a new section (heading + body) to an existing .docx |
replace_text | Find and replace text β ideal for template variable substitution |
add_table | Insert a formatted table with bold headers into a .docx |
merge_documents | Combine multiple .docx files into one |
export_to_pdf | Convert .docx to PDF via LibreOffice or pandoc |
get_document_stats | Get word count, page estimate, section count, table count |
Add to your claude_desktop_config.json:
Add to your .cursor/mcp.json:
create_document and add_section both accept markdown content:
| Markdown | Result |
|---|---|
# Heading 1 | H1 heading |
## Heading 2 | H2 heading |
**bold text** | Bold text |
*italic text* | Italic text |
- item | Bullet list item |
1. item | Numbered list item |
--- | Horizontal divider |
| Blank line | Paragraph break |
export_to_pdf requires a system-level converter. It tries in order:
sudo apt-get install libreofficesudo apt-get install pandocIf neither is available, the tool returns success: false with installation instructions. The source .docx file is always preserved.
| URI | Description |
|---|---|
docx-forge://usage-guide | Step-by-step guide with workflow examples |
docx β .docx creation (no Office required)mammoth β .docx reading and text extraction@modelcontextprotocol/sdk β MCP protocolzod β Input validationMIT β see LICENSE
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/docx-forge)<a href="https://allmcps.com/mcp/docx-forge"><img src="https://allmcps.com/api/badge/docx-forge?style=directory" alt="Docx Forge on AllMCPs" /></a>