docforge-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@docforge-mcpCreate a Word doc from markdown and convert to PDF."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
docforge-mcp
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-mcpRelated MCP server: LibreOffice MCP Tools
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 ( |
Metadata | 1 | Get document info/stats |
Merge | 2 | Merge multiple DOCX or PPTX files |
Usage
As MCP server (stdio — default)
docforge-mcpAs HTTP server
MCP_TRANSPORT=streamable-http MCP_PORT=8958 docforge-mcpMCP 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 | Conditionals + loops |
Transport | Docker + HTTP only | stdio + HTTP |
Install | Docker |
|
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityFmaintenanceEnables AI agents to create, read, modify, and convert Word documents without Microsoft Word, supporting 18 tools for document operations, paragraph manipulation, table management, formatting, and conversion between multiple formats including PDF, HTML, and Markdown.Last updated6MIT
- AlicenseAqualityDmaintenanceEnables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, and legacy formats through LibreOffice bridge.Last updated2736MIT
- Alicense-qualityCmaintenanceEnables AI agents to read, edit, and create Microsoft Word documents (.docx) with support for rich text, tables, and images, deployable locally or via SSE.Last updated3MIT
- Alicense-qualityCmaintenanceEnables AI agents to create, edit, format, and analyze Microsoft Office documents (Excel, Word, PPT, PDF) using natural language, with features like table replication and automated styling.Last updated2MIT
Related MCP Connectors
AI document editing for agents: draft, edit, export .docx/PDF. 37 MCP tools; agent self-signup.
Persistent docs and memory for AI agents — read, write, organize & search a shared workspace.
Generate PDF/DOCX/XLSX/PPTX from templates+JSON. Convert Office/HTML/MD to PDF. Universal templating
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/filhocf/docforge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server