File Generation Tool

v1.0.0Developer Toolsstable

Create and export files easily from Open WebUI!

mcpo-file-generation-toolmcpai-integration
Share:
160
Stars
0
Downloads
0
Weekly
0/5

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

Create and export files easily from Open WebUI!
GlisseManTV

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 15, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcpo-file-generation-tool

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-Tool
2

Install Python dependencies

Install the required Python packages for running the file generation server.

pip install openpyxl reportlab py7zr fastapi uvicorn python-multipart mcp
3

Configure 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:3000
4

Start 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.py
5

Or 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 -d
6

Connect 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.

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.

Quick Config Preview

{ "mcpServers": { "mcpo-file-generation-tool": { "command": "npx", "args": ["-y", "mcpo-file-generation-tool"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides