docx4j MCP
An MCP server that exposes the docx4j Java library to AI agents, enabling them to read, convert, and fill Word (.docx) documents. It supports template description, filling templates with data, and converting documents to PDF or HTML. The server operates over stdio and can be integrated with clients like Claude Desktop or Claude Code.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Describe template structure and data bindings
- Fill Word templates with data
- Convert Word documents to PDF or HTML
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/plutext/docx4j-mcp:0.2.0
{
"transport": "stdio",
"identifier": "ghcr.io/plutext/docx4j-mcp:0.2.0",
"registryType": "oci",
"runtimeArguments": [
{
"name": "-v",
"type": "named",
"value": "{documents_dir}:/data",
"variables": {
"documents_dir": {
"format": "filepath",
"isRequired": true,
"description": "Host folder the server may read/write"
}
},
"isRequired": true
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"docx4j-mcp-0-2-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/plutext/docx4j-mcp:0.2.0"
]
}
}
}Cline
{
"mcpServers": {
"docx4j-mcp-0-2-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/plutext/docx4j-mcp:0.2.0"
]
}
}
}VS Code
{
"servers": {
"docx4j-mcp-0-2-0": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/plutext/docx4j-mcp:0.2.0"
]
}
}
}Claude Desktop
{
"mcpServers": {
"docx4j-mcp-0-2-0": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/plutext/docx4j-mcp:0.2.0"
]
}
}
}Let your agent find its tools
Find servers like docx4j MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.