GenFilesMCP
Generates PowerPoint, Excel, Word, and Markdown files from natural language requests and reviews Word documents with AI comments.
README
GenFiles MCP Server 🧩
GenFiles is an MCP Server that generates PowerPoint, Excel, Word, or Markdown files from user requests and chat context. This server executes Python templates or structured document builders to produce files, uploads them to an Open Web UI (OWUI) endpoint, and can persist them in Open WebUI knowledge collections depending on the selected transport and configuration. Additionally, it supports analyzing and reviewing existing Word documents by extracting their structure and adding comments for corrections, grammar suggestions, or idea enhancements.
Table of Contents
- Features ✨
- Highlights the key capabilities of GenFiles MCP Server.
- Learn about file generation, OWUI integration, and more.
- Installation ⚙️
- Two deployment modes:
- MCP HTTP Streamable: Direct HTTP service.
- MCP Stdio via MCPO: Integrated with MCPO.
- Get the suggested system prompt for your AI Assistant
- Get the built-in tool
Chat Context Toolfor retrieving docx files and images uploaded in the chat for use in generation or review. - Step-by-step setup instructions.
- Two deployment modes:
- Usage Examples 📄
- See how to generate DOCX, XLSX, PPTX files.
- Learn how to review Word documents with AI comments.
🚨 Please follow the installation instructions step by step to avoid errors.
Quick Start (MCP HTTP Streamable) Installation Guide.
Installation
To quickly get started, you can use the pre-built Docker image:
docker pull ghcr.io/baronco/genfilesmcp:v0.3.0
Run the container:
docker run -d --restart unless-stopped -p 8016:8016 \
-e OWUI_URL="http://host.docker.internal:3000" \
-e PORT=8016 \
-e REVIEWER_AI_ASSISTANT_NAME="GenFilesMCP" \
-e ENABLE_CREATE_KNOWLEDGE=false \
--name gen_files_mcp \
ghcr.io/baronco/genfilesmcp:v0.3.0
Or copy and paste this one-liner:
docker run -d --restart unless-stopped -p 8016:8016 -e OWUI_URL="http://host.docker.internal:3000" -e PORT=8016 -e REVIEWER_AI_ASSISTANT_NAME="GenFilesMCP" -e ENABLE_CREATE_KNOWLEDGE=false --name gen_files_mcp ghcr.io/baronco/genfilesmcp:v0.3.0
Environment Variables
| Variable | Description | Example |
|---|---|---|
OWUI_URL |
URL of your Open Web UI instance | http://host.docker.internal:3000 |
PORT |
Port where the MCP Server will listen | 8016 |
MCP_TRANSPORT |
MCP transport used at startup. Use streamable-http for direct HTTP deployments such as Open WebUI external tools, or stdio when the server is launched by MCPO or another stdio-capable MCP client. |
streamable-http |
OWUI_API_KEY |
API key used only for stdio deployments through MCPO, where Open WebUI cannot forward the active user's bearer token through the Open WebUI -> MCPO -> stdio MCP chain. Do not use it for direct streamable-http deployments. |
sk-017374a.... |
KNOWLEDGE_COLLECTION_NAME |
Name of the Open WebUI knowledge collection used for generated and reviewed files when ENABLE_CREATE_KNOWLEDGE=true. |
My Generated Files |
REVIEWER_AI_ASSISTANT_NAME |
Author name used inside Word comments created by review_docx. |
GenFilesMCP |
ENABLE_CREATE_KNOWLEDGE |
Controls whether generated or reviewed files are attached to Open WebUI knowledge collections. In direct streamable-http mode this is optional. In stdio through MCPO it must be true. |
false |
ENABLE_WORD_ELEMENT_FILLING |
Experimental DOCX mode. false keeps the code-generation flow; true switches to the structured element-based builder. |
false |
For more detailed installation instructions, see the Installation Guide.
What Can It Do?
- Generate files in multiple formats (PowerPoint, Excel, Word, Markdown).
- Review Word documents with AI-generated comments for grammar and idea enhancements.
- Integrate seamlessly with Open Web UI for file uploads and knowledge management.
Examples of Generated Files 📄
DOCX Files 📝
- Code-based generation: The LLM writes Python code to generate the document.
- Template-based generation: The LLM defines the structure, and the backend builds the document (best results with Claude Haiku 4.5 and Kimi K2.5, 5.0/5).
<p align="center"> <img src="img/NewDocxGen.png" alt="DOCX Example" /> </p>
- Reviewer Mode: Add comments for grammar and idea enhancements.
<p align="center"> <img src="img/docxcomments.png" alt="Reviewer Mode Result Example" /> </p>
PPTX Files 📊
The latest GPT models can generate PowerPoint files with good structure and formatting. You can try gpt-5.2 or gpt-5.4 for best style and formatting results.
<p align="center"> <img src="img/powerpoint2.png" alt="PPTX Example" /> </p>
Example using gpt 5.4:
<p align="center"> <img src="img/powerpoint3.png" alt="PPTX Example Using GPT 5.4" /> </p>
XLSX Files 📈
The server can generate Excel files with multiple sheets, tables, and charts. The quality of formatting and structure depends on the model used, with the latest GPT models producing the best results.
<p align="center"> <img src="img/excel2.png" alt="XLSX Example" /> </p>
Example using gpt 5.4:
<p align="center"> <img src="img/excel3.png" alt="XLSX Example Using GPT 5.4" /> </p>
Star History
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。