File Generation Tool
Create and export files easily from Open WebUI!
What is File Generation Tool?
File Generation Tool is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to create and export files easily from open webui!
Create and export files easily from Open WebUI!
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- Create and export files easily from Open WebUI!
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcpo-file-generation-toolConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use File Generation Tool
MCPO File Generation Tool is an MCP server that adds file export capabilities to Open WebUI, enabling AI assistants to generate and deliver downloadable files in formats including PDF, Excel, PowerPoint, Word, CSV, and archives (ZIP, tar.gz, 7z). It bridges AI-generated content with tangible file output, similar to how ChatGPT and Claude.ai can produce downloadable files. Optional image generation via Unsplash, Pexels, or local Stable Diffusion is also supported.
Prerequisites
- Python 3.9 or higher, or Docker (Docker Compose recommended for production)
- Open WebUI instance running and accessible (OWUI_URL required)
- pip packages: openpyxl, reportlab, py7zr, fastapi, uvicorn, python-multipart, mcp
- Optional: Unsplash or Pexels API key for image generation, or a local Stable Diffusion server
Clone the repository
Clone the MCPO File Generation Tool repository to your local machine.
git clone https://github.com/GlisseManTV/MCPO-File-Generation-Tool.git
cd MCPO-File-Generation-ToolInstall Python dependencies
Install the required Python packages for running the file generation server.
pip install openpyxl reportlab py7zr fastapi uvicorn python-multipart mcpConfigure the tool via config.json
Set the required environment variables or populate config.json. At minimum, set FILE_EXPORT_BASE_URL (default http://localhost:9003/files), FILE_EXPORT_DIR (output directory), and OWUI_URL (your Open WebUI URL).
export PYTHONPATH=/path/to/MCPO-File-Generation-Tool/LLM_Export
export FILE_EXPORT_BASE_URL=http://localhost:9003/files
export FILE_EXPORT_DIR=/tmp/llm_exports
export OWUI_URL=http://localhost:3000Start the file export server
Run the file export server that handles file generation requests and makes files available for download.
python LLM_Export/tools/file_export_server.pyOr use Docker Compose (recommended)
For a production-ready setup, use Docker Compose to pull and start both required containers.
docker pull ghcr.io/glissemantv/owui-file-export-server:latest
docker pull ghcr.io/glissemantv/owui-mcpo:latest
docker compose up -dConnect to your MCP client
Add the server to your MCP client configuration. The server exposes an MCP endpoint that AI clients connect to for file generation requests.
{
"mcpServers": {
"file-generation": {
"command": "npx",
"args": ["mcpo-file-generation-tool"],
"env": {
"FILE_EXPORT_BASE_URL": "http://localhost:9003/files",
"FILE_EXPORT_DIR": "/tmp/llm_exports",
"OWUI_URL": "http://localhost:3000"
}
}
}
}File Generation Tool Examples
Client configuration
Claude Desktop MCP configuration for the file generation tool with essential environment variables.
{
"mcpServers": {
"file-generation": {
"command": "npx",
"args": ["mcpo-file-generation-tool"],
"env": {
"FILE_EXPORT_BASE_URL": "http://localhost:9003/files",
"FILE_EXPORT_DIR": "/tmp/llm_exports",
"OWUI_URL": "http://localhost:3000",
"PERSISTENT_FILES": "false",
"FILES_DELAY": "60"
}
}
}
}Prompts to try
Once the server is running, use these prompts in Open WebUI or Claude to generate downloadable files.
- "Create a marketing report as a PowerPoint file and give me a download link"
- "Export this data table as an Excel spreadsheet"
- "Generate a PDF summary of our Q3 results"
- "Package these three CSV files into a ZIP archive for download"Troubleshooting File Generation Tool
Files are not accessible at the download URL
Ensure FILE_EXPORT_BASE_URL and FILE_EXPORT_DIR are set consistently between the file export server and the MCP tool. The directory must be writable and the server must be reachable at the base URL.
Image generation returns no images
Set IMAGE_SOURCE to 'unsplash', 'pexels', or 'local_sd' and provide the corresponding API key (UNSPLASH_ACCESS_KEY or PEXELS_ACCESS_KEY). For Stable Diffusion, ensure LOCAL_SD_URL points to a running SD instance.
PYTHONPATH errors when starting the server
Set PYTHONPATH to the absolute path of the LLM_Export folder inside the cloned repository. Example: export PYTHONPATH=/home/user/MCPO-File-Generation-Tool/LLM_Export
Frequently Asked Questions about File Generation Tool
What is File Generation Tool?
File Generation Tool is a Model Context Protocol (MCP) server that create and export files easily from open webui! It connects AI assistants to external tools and data sources through a standardized interface.
How do I install File Generation Tool?
Follow the installation instructions on the File Generation Tool GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with File Generation Tool?
File Generation Tool works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is File Generation Tool free to use?
Yes, File Generation Tool is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
File Generation Tool Alternatives — Similar Developer Tools Servers
Looking for alternatives to File Generation Tool? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up File Generation Tool in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use File Generation Tool?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.