Fal Ai MCP Server — Hosted Ai Integration
MCP Server language Hosted language PublicGenerate images with FLUX, create videos, remove backgrounds, upscale images, transcribe audio, and generate music using Fal.ai's fast inference platform.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"fal-ai": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-fal-ai",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the _ping tool to verify fal.ai credentials by calling a lightweight read endpoint. used internally by aerostack to validate credentials”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
description Overview
mcp-fal-ai — fal.ai MCP Server
Generate images with FLUX, create videos, remove backgrounds, upscale images, transcribe audio, and generate music using Fal.ai's fast inference platform.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-fal-ai
What You Can Do
This MCP server gives AI agents access to fal.ai via 12 tools. Connect it to any Aerostack workspace and your agents can interact with fal.ai directly.
Available Tools
| Tool | Description |
|---|---|
generate_image |
Generate images from text prompts using FLUX.1 Schnell — ultra-fast 4-step generation |
generate_image_flux_pro |
Generate high-quality professional images using FLUX.1 Pro — best quality, slower generation |
generate_video |
Generate short animated videos from text prompts using AnimateDiff on Fal.ai |
image_to_image |
Transform an existing image using FLUX Dev image-to-image — modify style or content while preserving structure |
remove_background |
Remove the background from any image using rembg AI model |
upscale_image |
Upscale an image 2x or 4x using ESRGAN AI upscaling |
run_model |
Run any Fal.ai model directly with custom input parameters. Use this for models not covered by other tools |
submit_async_job |
Submit a Fal.ai model job to the async queue for long-running generation tasks |
get_async_result |
Get the result of an async Fal.ai job by request ID |
transcribe_audio |
Transcribe or translate audio using Whisper on Fal.ai — supports 99+ languages |
generate_music |
Generate music and audio from text descriptions using Stable Audio on Fal.ai |
list_models |
List popular Fal.ai models with their IDs, types, and descriptions |
Configuration
| Variable | Required | Description |
|---|---|---|
FAL_AI_API_KEY |
Yes | Fal.ai API key from https://fal.ai/dashboard/keys |
Quick Start
Add to Aerostack Workspace
- Go to aerostack.dev → Your Project → MCPs
- Search for "fal.ai" and click Add to Workspace
Add the following secrets under Project → Secrets:
FAL_AI_API_KEY
Once added, every AI agent in your workspace can use fal.ai tools automatically.
Direct API Call
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-fal-ai \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-FAL-AI-API-KEY: your-fal-ai-api-key' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"generate_image","arguments":{}}}'
License
MIT
terminal Tools (13)
Available tools on this MCP server. Each tool can be called directly from any AI agent.
_ping #1 Verify Fal.ai credentials by calling a lightweight read endpoint. Used internally by Aerostack to validate credentials.
generate_image #2 Generate images from text prompts using FLUX.1 Schnell — ultra-fast 4-step generation
generate_image_flux_pro #3 Generate high-quality professional images using FLUX.1 Pro — best quality, slower generation
generate_video #4 Generate short animated videos from text prompts using AnimateDiff on Fal.ai
image_to_image #5 Transform an existing image using FLUX Dev image-to-image — modify style or content while preserving structure
remove_background #6 Remove the background from any image using rembg AI model
upscale_image #7 Upscale an image 2x or 4x using ESRGAN AI upscaling
run_model #8 Run any Fal.ai model directly with custom input parameters. Use this for models not covered by other tools
submit_async_job #9 Submit a Fal.ai model job to the async queue for long-running generation tasks
get_async_result #10 Get the result of an async Fal.ai job by request ID
transcribe_audio #11 Transcribe or translate audio using Whisper on Fal.ai — supports 99+ languages
generate_music #12 Generate music and audio from text descriptions using Stable Audio on Fal.ai
list_models #13 List popular Fal.ai models with their IDs, types, and descriptions
Details
language Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-fal-ai
Sub-50ms globally · Zero cold start
Publisher
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
More in AI
Browse AI MCPs →Canva Design Platform
by @aerostack
Design creation, AI generation, editing, export, assets, brand kits, folders via Canva's official MCP
Intercom Messaging
by @aerostack
Conversations, contacts, tickets, articles via Intercom's official MCP
Anthropic
by @aerostack
Call Claude models directly — run AI conversations, tool-use chains, batch jobs, and model comparisons from any agent.
Vercel Deployments
by @aerostack
Deployments, projects, domains, env vars, logs via Vercel's official MCP
Gmail
by @aerostack
Read, send, and search Gmail messages — manage labels, drafts, and attachments with full inbox control.
Mailchimp
by @aerostack
Manage audiences, campaigns, and subscriber tags in Mailchimp — automate your email marketing with AI.
Frequently asked questions
What is the Fal Ai MCP server and what can it do? +
The Fal Ai MCP server is hosted on Aerostack and exposes these tools to your AI agent: `_ping`, `generate_image`, `generate_image_flux_pro`, `generate_video`, `image_to_image`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.
Is the Fal Ai MCP server hosted, or do I have to run it myself? +
It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.
Which AI agents and editors can use the Fal Ai MCP server? +
Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Fal Ai MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.
How do I install the Fal Ai MCP server in Claude Desktop? +
Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-fal-ai": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-fal-ai"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.
How do I use the Fal Ai MCP server in Cursor? +
In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-fal-ai", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-fal-ai"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.
Does Fal Ai MCP require authentication? +
Yes. Fal Ai requires authentication. Check the MCP's documentation for the required credentials.