Docforge
FreeNot checkedEnables complete Office document lifecycle management for AI agents, including creation, editing, conversion, and templating of DOCX, XLSX, PPTX, PDF, and EML f
About
Enables complete Office document lifecycle management for AI agents, including creation, editing, conversion, and templating of DOCX, XLSX, PPTX, PDF, and EML files.
README
MCP server for complete Office document manipulation — create, read, edit, convert, and template DOCX, XLSX, PPTX, PDF, and EML files.
Built for AI agents that need full document lifecycle control, not just one-shot generation.
Install
# Via uvx (no install needed)
uvx docforge-mcp
# Or install globally
uv tool install docforge-mcp
# Or pip
pip install docforge-mcp
Tools (38)
| Category | Tools | Capabilities |
|---|---|---|
| Word (DOCX) | 12 | Create from markdown, read, edit paragraphs, insert, delete, search/replace, headers/footers, images, merge, templates |
| Excel (XLSX) | 7 | Create from markdown, read sheets, edit cells, insert/delete rows, charts, conditional formatting |
| PowerPoint (PPTX) | 9 | Create presentations, read slides, edit text, add shapes/images, reorder, duplicate, delete, merge, templates |
| 3 | Create from markdown, convert DOCX→PDF, read | |
| Email (EML) | 1 | Create HTML email drafts |
| XML | 1 | Create well-formed XML |
| Templates | 2 | Render DOCX/PPTX with variables, conditionals ({{#if}}), loops ({{#each}}) |
| Metadata | 1 | Get document info/stats |
| Merge | 2 | Merge multiple DOCX or PPTX files |
Usage
As MCP server (stdio — default)
docforge-mcp
As HTTP server
MCP_TRANSPORT=streamable-http MCP_PORT=8958 docforge-mcp
MCP client configuration
{
"mcpServers": {
"office-documents": {
"command": "docforge-mcp",
"autoApprove": ["read_document", "get_document_info", "get_docx_paragraphs", "get_pptx_slides", "get_xlsx_sheets"]
}
}
}
Origins
This project was born from ForLegalAI/mcp-ms-office-documents (MIT license). It diverged in scope and philosophy:
| ForLegalAI (upstream) | docforge-mcp | |
|---|---|---|
| Goal | One-shot document generation | Full document lifecycle |
| Read | ❌ | ✅ Read any DOCX/XLSX/PPTX |
| Edit | ❌ | ✅ Edit paragraphs, cells, slides |
| Convert | ❌ | ✅ DOCX→PDF |
| Templates | Simple {{var}} |
Conditionals + loops |
| Transport | Docker + HTTP only | stdio + HTTP |
| Install | Docker | uvx docforge-mcp |
We continue to contribute compatible features upstream (PRs #57, #58, #59) while developing the full toolkit independently.
Development
git clone https://github.com/filhocf/docforge-mcp.git
cd docforge-mcp
uv sync --group dev
uv run pytest tests/ -v
uv run ruff check .
License
MIT — see LICENSE for details. Original work © ForLegalAI, extensions © Claudio Ferreira Filho.
Installing Docforge
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/filhocf/docforge-mcpFAQ
Is Docforge MCP free?
Yes, Docforge MCP is free — one-click install via Unyly at no cost.
Does Docforge need an API key?
No, Docforge runs without API keys or environment variables.
Is Docforge hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Docforge in Claude Desktop, Claude Code or Cursor?
Open Docforge on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
by GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
by S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
Compare Docforge with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
