Price Per TokenPrice Per Token
FAL Image/Video Server

FAL Image/Video Server

by ramborogers

GitHub 5 501 uses Remote
0

About

FAL Image/Video Server connects MCP-compatible clients like Claude to FAL AI's powerful image and video generation models. It provides seamless AI-driven media creation with automatic local downloads and flexible access options. Key features: - Generate high-quality images and videos using FAL AI's curated model collection - Automatic downloads to your local machine with customizable save locations (defaults to ~/Downloads) - Flexible content access via public URLs, data URLs, or local file paths - Auto-open generated files in your default system viewer for immediate review - Privacy-focused architecture that uses your local FAL API key without sharing data externally - Configurable data URL generation and file size limits for optimal client compatibility

README

FAL Image/Video MCP Server 🎨🎬

> High-performance MCP server for FAL AI image and video generation with automatic downloads

[](https://www.npmjs.com/package/fal-image-video-mcp) [](https://nodejs.org/) [](LICENSE) [](https://www.typescriptlang.org/) [](https://modelcontextprotocol.io/)

Seamless bridge between FAL AI's powerful image and video generation capabilities and MCP-compatible clients like Claude. All generated content is automatically downloaded to your local machine while providing public URLs, data URLs, and local file paths.

Make Images

Make Videos

🚀 Claude Desktop Setup

Quick Setup

1. Get your FAL API key from fal.ai 2. Add to Claude Desktop configuration:

{
  "mcpServers": {
    "fal-image-video": {
      "command": "npx",
      "args": ["-y", "fal-image-video-mcp"],
      "env": {
        "FAL_KEY": "YOUR-FAL-AI-API-KEY"
      }
    }
  }
}

Configuration File Locations

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
  • Optimized for Claude Desktop

    {
      "mcpServers": {
        "fal-image-video": {
          "command": "npx",
          "args": ["-y", "fal-image-video-mcp"],
          "env": {
            "FAL_KEY": "YOUR-FAL-AI-API-KEY",
            "DOWNLOAD_PATH": "/custom/download/path",
            "ENABLE_DATA_URLS": "true",
            "MAX_DATA_URL_SIZE": "1048576",
            "AUTOOPEN": "false"
          }
        }
      }
    }
    

    Environment Variables:

  • FAL_KEY (required): Your FAL AI API key
  • DOWNLOAD_PATH (optional): Custom download directory (defaults to ~/Downloads)
  • ENABLE_DATA_URLS (optional): Enable/disable data URLs (default: false, optimized for Claude Desktop)
  • MAX_DATA_URL_SIZE (optional): Max file size for data URLs in bytes (default: 2MB)
  • AUTOOPEN (optional): Automatically open generated files with default application (default: true, cross-platform)
  • Getting Your FAL API Key

    1. Visit fal.ai and create an account 2. Navigate to your API keys section 3. Generate a new API key 4. Replace YOUR-FAL-AI-API-KEY with your actual key 5. Restart Claude Desktop

    📥 Automatic Downloads

    All generated content is automatically saved to your local machine!

    Default Behavior:

  • Images: Downloaded as .jpg files
  • Videos: Downloaded as .mp4 files
  • Location: ~/Downloads folder (or custom DOWNLOAD_PATH)
  • Naming: fal_{model}_{timestamp}_{index}.{ext}
  • 🎯 Claude Desktop Optimized Response:

    {
      "images": [
        {
          "url": "https://fal-storage.../image.jpg",
          "localPath": "/Users/you/Downloads/fal_imagen4_2025-01-06T12-30-45-123Z.jpg",
          "width": 1024,
          "height": 1024
        }
      ],
      "download_path": "/Users/you/Downloads",
      "data_url_settings": {
        "enabled": false,
        "max_size_mb": 2,
        "note": "Data URLs disabled by default for Claude Desktop optimization"
      },
      "autoopen_settings": {
        "enabled": true,
        "note": "Files automatically opened with default application"
      }
    }
    

    Why this works better for Claude Desktop:

  • Local file paths allow Claude to directly access downloaded images
  • No large data URLs that overwhelm the context
  • Auto-open files instantly display generated content in default applications
  • Public URLs available for sharing if needed
  • Size limits prevent context overflow
  • ---

    ✨ Features

    | Category | Features | |---|---| | 🎨 Image Generation | 8 curated models including Imagen 4, FLUX Kontext Pro, Ideogram V3 | | 🎬 Video Generation | 7 text-to-video models including Veo 3, Kling 2.1 Master, Pixverse V4.5 | | 🔄 Image-to-Video | 6 image-to-video models for animating static images | | 📥 Auto Downloads | All content automatically saved locally with custom path support | | 🔗 Triple URL Support | Public URLs, Data URLs, and Local file paths | | 🚀 Universal Execution | Run any FAL model beyond the curated registry | | 🌐 Multi-Transport | stdio (Claude Desktop) + HTTP/SSE (Smithery/Web) | | 🔐 Lazy Authentication | Discover tools without API key, authenticate on use | | ⚡ Performance | TypeScript implementation, async operations, error handling |

    ---

    🚀 Version History

    Version 1.0.0

  • ✅ Initial release with FAL AI integration
  • ✅ Image generation with Flux models
  • ✅ Video generation with Minimax
  • ✅ Data URL conversion for MCP compatibility
  • ✅ TypeScrip
  • Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81