Skip to main content

MCP Tools, Media Generation (auto-enabled)

Auto-enabled when any image, TTS, or web-search provider is active (HuggingFace, OpenAI, talkies, talkies-cuda, IMAGIES, IMAGIES-cuda, SearXNG). Runs as an internal service, no direct nginx route, accessed only through LiteLLM's aggregated MCP endpoint at /mcp/.

EndpointURLAuth
MCP server (via proxy)POST /mcp/Bearer $LITELLM_MASTER_KEY
Health (internal only)GET :8000/healthnone (not exposed via nginx)

Tools​

  • generate_image, create images from text prompts (FLUX, DALL-E, Stable Diffusion depending on enabled providers)
  • generate_tts, generate speech audio from text (Kokoro, Qwen3-TTS, OpenAI TTS depending on enabled providers)

Both tools return structured JSON with persistent HybridS3 URLs, no base64 blobs sent to the LLM.

See mcp-tools.md for full parameter reference.

Environment variables​

VariableDefaultDescription
MCP_TOOLS_AUTH_TOKENUnsetBearer token for MCP auth (required)
MCP_MEM_LIMIT256mContainer memory limit
MCP_MEMSWAP_LIMIT512mContainer memory + swap limit
MCP_CPUS0.5CPU limit
MCP_PIDS_LIMIT128Process limit