Docx4j Word documents
Read, fill, and convert Word documents between DOCX, PDF, Markdown, and HTML through MCP.
Install Docx4j Word documents
Run the project’s own setup commands, in order.
Setup steps from the project
docx4j Word documents installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
mvn package # -> target/docx4j-mcp.jar (shaded, runnable)docker run -i --rm -v /path/to/documents:/data ghcr.io/plutext/docx4j-mcp
Overview
Use cases
- Inspect a DOCX template before supplying merge data
- Fill contracts or forms while preserving Word formatting
- Convert Markdown or HTML content into styled Word documents
- Export Word documents to PDF with equations and vector drawings
- Extract document text for downstream agent processing
Key features
- OpenDoPE and mail merge template support
- DOCX, PDF, Markdown, and HTML conversion
- Editable equation handling through OMML and MathML
- Tracked-change handling during DOCX to Markdown conversion
- Root-restricted filesystem access
- Plain-text extraction from paragraphs and tables
Tools8
What Docx4j Word documents lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Docx4j Word documents works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Docx4j Word documents
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
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/docx4j-word-documents)<a href="https://allmcps.com/mcp/docx4j-word-documents"><img src="https://allmcps.com/api/badge/docx4j-word-documents?style=directory" alt="Docx4j Word documents on AllMCPs" /></a>