🎨 Fal.ai MCP Server
A Model Context Protocol (MCP) server that enables Claude Desktop (and other MCP clients) to generate images, videos, music, and audio using Fal.ai models.
✨ Features
🚀 Performance
- Native Async API - Uses fal_client.run_async() for optimal performance
- Queue Support - Long-running tasks (video/music) use queue API with progress updates
- Non-blocking - All operations are truly asynchronous
🌐 Transport Modes (New!)
- STDIO - Traditional Model Context Protocol communication
- HTTP/SSE - Web-based access via Server-Sent Events
- Dual Mode - Run both transports simultaneously
🎨 Media Generation (18 Tools)
Image Generation:
- 🖼️ generate_image - Create images from text prompts (Flux, SDXL, etc.)
- 🎯 generate_image_structured - Fine-grained control over composition, lighting, subjects
- 🔄 generate_image_from_image - Transform existing images with style transfer
Image Editing:
- ✂️ remove_background - Remove backgrounds from images (transparent PNG)
- 🔍 upscale_image - Upscale images 2x or 4x while preserving quality
- ✏️ edit_image - Edit images using natural language instructions
- 🎭 inpaint_image - Edit specific regions using masks
- 📐 resize_image - Smart resize for social media (Instagram, YouTube, TikTok, etc.)
- 🏷️ compose_images - Overlay images (watermarks, logos) with precise positioning






