MCP.Market

Docx Forge MCP server

by mdfifty50-boop·io.github.mdfifty50-boop/docx-forge·v0.1.1

Professional document generation from structured data

B78/100grade B
What users say
No reviews yet
Be the first
Safety scan
B78/100

full report

Adoption
New

0 stars40 downloads/wk

Reviews

Write one

Nobody has reviewed Docx Forge yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Docx Forge tools (9, 2 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • add_section

    Append a new section (heading + body content) to the end of an existing .docx document. The document is updated in place.

  • add_tablewrite action

    Insert a formatted table into an existing .docx document. The table is appended at the end of the document with bold header row and standard cell borders.

  • create_documentwrite action

    Create a new .docx Word document from markdown or plain text content. Supports headings (#, ##, ###), bold (**text**), italic (*text*), bullet lists (- item), numbered lists (1. item), and blank lines between paragraphs.

  • export_to_pdf

    Convert a .docx file to PDF. Attempts conversion via LibreOffice (best fidelity) then pandoc. Returns success status and the method used. Requires LibreOffice or pandoc to be installed on the system.

  • get_document_stats

    Get statistics for a .docx document: word count, character count, estimated page count (at 250 words/page), number of sections (headings), and number of tables.

  • health_check

    Returns server health, uptime, version, and call stats

  • merge_documents

    Combine multiple .docx files into a single document. Each source document is separated by a horizontal divider. Useful for assembling reports, consolidating contracts, or combining chapter files.

  • read_document

    Extract all text, paragraph list, headings, and file metadata from an existing .docx file. Returns structured data suitable for further processing or display.

  • replace_text

    Find and replace text in an existing .docx document. Useful for template substitution — e.g., replacing {{CLIENT_NAME}} with an actual name, or updating dates and contract values.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan10 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 156 days ago8/15
  • Maintainer identityregistry namespace matches repository owner6/10
Overall 78/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Docx Forge compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
78/100
higher than 57% of 48,255 servers
Tools
9
the typical server has 7
Tools that change things
22%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
40
more than 31% of 12,191 servers with a package

What its tools let an agent do: 4 read · 3 create · 2 change

Install Docx Forge in Claude Code, Cursor or VS Code

Runs npx -y docx-forge-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add docx-forge -- npx -y docx-forge-mcp
Add to Cursor

What the publisher says

From the Docx Forge repository's README, as published. We do not edit it. Read it on GitHub

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.

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 claudedesktopconfig.json:

{
  "mcpServers": {
    "docx-forge": {
      "command": "npx",
      "args": ["docx-forge-mcp"]
    }
  }
}

Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "docx-forge": {
      "command": "npx",
      "args": ["docx-forge-mcp"]
    }
  }
}

Manual (Node.js)

npm install -g docx-forge-mcp
docx-forge-mcp

Usage Examples

Create a contract from a template

create_document(
  title="Service Agreement",
  content="# Parties\n\n**Client:** {{CLIENT_NAME}}\n**Provider:** Acme Corp\n\n## Scope of Work\n\n{{SCOPE}}\n\n## Payment\n\n{{PAYMENT_TERMS}}",
  outputPath="/tmp/contract.docx"
)

replace_text(filePath="/tmp/contract.docx", find="{{CLIENT_NAME}}", replace="TechCorp Ltd")
replace_text(filePath="/tmp/contract.docx", find="{{SCOPE}}", replace="Software development and consulting services.")
replace_text(filePath="/tmp/contract.docx", find="{{PAYMENT_TERMS}}", replace="Net 30 days. $15,000/month.")

export_to_pdf(filePath="/tmp/contract.docx", outputPath="/tmp/contract.pdf")

Build a structured report

create_document(
  title="Q1 2026 Performance Report",
  content="## Executive Summary\n\nRevenue grew 34% YoY.",
  outputPath="/tmp/report.docx"
)

add_section(
  filePath="/tmp/report.docx",
  heading="Revenue Breakdown",
  content="Product A: $450K\nProduct B: $320K\nServices: $180K",
  headingLevel=2
)

add_table(
  filePath="/tmp/report.docx",
  headers=["Product", "Q1 Revenue", "Growth"],
  rows=[["Product A", "$450K", "+41%"], ["Product B", "$320K", "+28%"], ["Services", "$180K", "+19%"]]
)

get_document_stats(filePath="/tmp/report.docx")

Read and inspect an existing document

read_document(filePath="/path/to/existing.docx")
# Returns: { text, paragraphs[], headings[], metadata: { wordCount, fileSizeBytes, ... } }

Merge chapter files into a book

merge_documents(
  filePaths=["/docs/ch1.docx", "/docs/ch2.docx", "/docs/ch3.docx"],
  outputPath="/docs/complete-manual.docx"
)

Markdown Support

createdocument and addsection both accept markdown content:

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Docx Forge: common questions

Is Docx Forge MCP server safe?
Mostly: it is graded B (78/100). Read the Docx Forge safety report
How do I install Docx Forge?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Docx Forge need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Docx Forge maintained?
The last commit was 194 days ago (2026-04-24). The latest release is v0.1.1.
What can I use instead of Docx Forge?
Servers from other publishers that do the same job: kordoc MCP server and Docling MCP server.
How does Docx Forge compare with other MCP servers?
safety score 78/100 (higher than 57% of 48,255 servers); tools 9 (the typical server has 7); tools that change things 22% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.

Alternatives to Docx Forge

Same job from other publishers: the closest match first, then the best rated.

  • kordoc
    Parse Korean documents (HWP, HWPX, PDF, XLSX, DOCX, PPTX) to Markdown; fill forms, diff, render.
    A
  • Docling MCP
    Convert PDFs and other documents to structured formats via Docling, for AI applications.
    A

More from mdfifty50-boop →