
How to add Fal.ai MCP Server to Claude Desktop
Community server for image, video, music, and audio generation across fal.ai models. Paste the config into ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude Desktop.
Last updated June 15, 2026 ยท 49โ ยท stdio ยท apikey
Claude Desktop config for Fal.ai MCP Server
uvx --from fal-mcp-server fal-mcp{
"mcpServers": {
"fal-ai-mcp-server": {
"command": "uvx",
"args": [
"--from",
"fal-mcp-server",
"fal-mcp"
],
"env": {
"FAL_KEY": "<your-fal-api-key>"
}
}
}
}Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.
Setup steps
- 1Open Claude Desktop โ Settings โ Developer โ Edit Config (this opens ~/Library/Application Support/Claude/claude_desktop_config.json).
- 2Paste the Fal.ai MCP Server config below under the top-level "mcpServers" key.
- 3Fill in any placeholder secrets (API keys, paths) in the snippet.
- 4Save the file, then fully quit and reopen Claude Desktop.
- 5Open a chat and confirm Fal.ai MCP Server's tools appear under the ๐ tools menu.
Before you start
- Python 3.10 or higher (or Docker, or the `uv`/`uvx` package manager for zero-install)
- A fal.ai API key set as the FAL_KEY environment variable (get it from your fal.ai dashboard; a free tier is available)
- An MCP client such as Claude Desktop; HTTP/SSE mode additionally needs `mcp-remote` or a compatible web client
What Fal.ai MCP Server can do in Claude Desktop
generate_imageGenerate an image from a text prompt across fal.ai image models.
generate_image_structuredGenerate an image with structured/controlled parameters.
generate_image_from_imageImage-to-image generation from a source image and prompt.
remove_backgroundRemove the background from an input image.
upscale_imageUpscale an image to higher resolution.
edit_imageEdit an existing image via prompt-driven changes.
inpaint_imageInpaint masked regions of an image.
resize_imageResize an image to target dimensions.
Security
The FAL_KEY bills generation usage to your fal.ai account and can invoke many third-party models; set spend controls and keep the key in env. Generated media may be downloaded locally depending on the model used.
Fal.ai MCP Server + Claude Desktop FAQ
Where is the Claude Desktop config file?
Claude Desktop reads MCP servers from ~/Library/Application Support/Claude/claude_desktop_config.json. Paste the Fal.ai MCP Server config there under the "mcpServers" key and restart the client.
Is Fal.ai MCP Server safe to use with Claude Desktop?
The FAL_KEY bills generation usage to your fal.ai account and can invoke many third-party models; set spend controls and keep the key in env. Generated media may be downloaded locally depending on the model used.
Where do I get the API key?
Sign up at fal.ai and copy your API key from the dashboard, then set it as the FAL_KEY environment variable. A free tier is available to start.
Do I need Node.js?
No, the server is Python (3.10+). You can run it with uvx, pip, or Docker; only the HTTP-via-Docker config example uses npx mcp-remote as the bridge.
Can it do video and music, not just images?
Yes. It exposes generate_video, generate_video_from_image, generate_video_from_video, and generate_music alongside the image tools.