Skip to main content
Glama

FLUX MCP Server

by tehw0lf
.env.example•822 B
# FLUX MCP Server Configuration # Copy this file to .env and customize the values # Auto-unload timeout in seconds # The model will be automatically unloaded after this period of inactivity # Set to 0 to disable auto-unload # Default: 300 (5 minutes) FLUX_UNLOAD_TIMEOUT=300 # Output directory for generated images # Images will be saved as {timestamp}_{seed}.png # Default: ~/flux_output FLUX_OUTPUT_DIR=/path/to/flux_output # Optional: HuggingFace model cache directory # If not set, uses HuggingFace's default cache location # Useful for custom cache locations or shared model storage # FLUX_MODEL_CACHE=/path/to/model/cache # Offline mode: Disable HuggingFace API calls when model is cached # Set to 1 to work completely offline (recommended for privacy) # Default: 0 (online, checks for updates) HF_HUB_OFFLINE=1

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/tehw0lf/flux-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server