Skip to main content
Glama

Fal.ai MCP Server

by raveenb

🎨 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

  • 🖼️ Image Generation - Create images using Flux, SDXL, and other models
  • 🎬 Video Generation - Generate videos from images or text prompts
  • 🎵 Music Generation - Create music from text descriptions
  • 🗣️ Text-to-Speech - Convert text to natural speech
  • 📝 Audio Transcription - Transcribe audio using Whisper
  • ⬆️ Image Upscaling - Enhance image resolution
  • 🔄 Image-to-Image - Transform existing images with prompts

🚀 Quick Start

Prerequisites

  • Python 3.10 or higher
  • Fal.ai API key (free tier available)
  • Claude Desktop (or any MCP-compatible client)

Installation

git clone https://github.com/raveenb/fal-mcp-server.git cd fal-mcp-server uv pip install -e .
Option 2: Using pip
git clone https://github.com/raveenb/fal-mcp-server.git cd fal-mcp-server python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate pip install -e .

Configuration

  1. Get your Fal.ai API key from fal.ai
  2. Configure Claude Desktop by adding to:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "fal-ai": { "command": "uv", "args": [ "run", "--with", "mcp", "--with", "fal-client", "python", "/path/to/fal-mcp-server/src/fal_mcp_server/server.py" ], "env": { "FAL_KEY": "your-fal-api-key" } } } }
  1. Restart Claude Desktop

💬 Usage

Once configured, ask Claude to:

  • "Generate an image of a sunset"
  • "Create a video from this image"
  • "Generate 30 seconds of ambient music"
  • "Convert this text to speech"
  • "Transcribe this audio file"

📦 Supported Models

Image Models

  • flux_schnell - Fast high-quality generation
  • flux_dev - Development version with more control
  • sdxl - Stable Diffusion XL

Video Models

  • svd - Stable Video Diffusion
  • animatediff - Text-to-video animation

Audio Models

  • musicgen - Music generation
  • bark - Text-to-speech
  • whisper - Audio transcription

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

📝 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables Claude Desktop and other MCP clients to generate images, videos, music, and audio using Fal.ai models. Supports text-to-image generation, video creation, music composition, text-to-speech, audio transcription, and image enhancement through natural language prompts.

  1. ✨ Features
    1. 🚀 Quick Start
      1. Prerequisites
      2. Installation
      3. Configuration
    2. 💬 Usage
      1. 📦 Supported Models
        1. Image Models
        2. Video Models
        3. Audio Models
      2. 🤝 Contributing
        1. 📝 License
          1. 🙏 Acknowledgments

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              An MCP server that connects Claude to FL Studio, allowing the AI to send melodies, chords, and drum patterns directly to the DAW via virtual MIDI ports.
              Last updated -
              3
              • Apple
            • A
              security
              A
              license
              A
              quality
              High-performance MCP server that enables generation of images and videos using FAL AI models with automatic downloads to your local machine.
              Last updated -
              24
              50
              4
              MIT License
              • Apple
              • Linux
            • A
              security
              A
              license
              A
              quality
              An MCP server that allows Claude to use OpenAI's image generation capabilities (gpt-image-1) to create image assets for users, which is particularly useful for game and web development projects.
              Last updated -
              1
              1
              3
              MIT License
            • -
              security
              F
              license
              -
              quality
              An MCP server that connects Claude to FL Studio, allowing the AI to compose music, control instruments, and live record melodies, chords, and drums to the piano roll.
              Last updated -
              51
              • Apple

            View all related MCP servers

            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/raveenb/fal-mcp-server'

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