
Store and retrieve entities, relations and observations in a persistent local knowledge graph.

A Model Context Protocol server that lets MCP clients interact with fal.ai models and services, including model discovery, schema lookup, content generation and queue management.
fal.ai MCP Server is cataloged as an MCP server attributed to am0y. A Model Context Protocol server that lets MCP clients interact with fal.ai models and services, including model discovery, schema lookup, content generation and queue management. It is categorized under ai agents-models. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for fal.ai MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It requires a fal.ai API key supplied as the FAL_KEY environment variable.
README.md · 9c57d9970d92 · Fetched 2026-11-13 10:52:40 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A Model Context Protocol (MCP) server for interacting with fal.ai models and services.
git clone https://github.com/am0y/mcp-fal.git
cd mcp-fal
python -m venv venv
venv/Scripts/pip install -r requirements.txt # Windows
# OR
venv/bin/pip install -r requirements.txt # Linux/Mac
export FAL_KEY="YOUR_FAL_API_KEY_HERE"
git clone https://github.com/am0y/mcp-fal.git
cd mcp-fal
cp .env.example .env
# Edit .env and add your fal.ai API key
docker-compose up -d
[!IMPORTANT] For MCP Integration (VS Code, Claude Desktop, Antigravity)
✅ Use Option 2 (Direct Python Execution) - This is the correct and recommended approach.
❌ Do NOT use Docker - MCP servers use stdio transport and must be spawned by MCP clients. Docker containers will exit immediately because there's no stdin connection.
[!NOTE] Why Docker doesn't work for MCP
MCP servers communicate via standard input/output (stdio). They're designed to be spawned as child processes by MCP clients, not run as standalone services. When you try to run an MCP server in Docker, it starts, finds no stdin connection, and exits immediately.
Prerequisites: Python 3.10+ installed
# Create virtual environment
python -m venv venv
# Activate it (optional, for manual testing)
venv\Scripts\activate # Windows
source venv/bin/activate # Linux/Mac
# Windows
venv/Scripts/pip install -r requirements.txt
# Linux/Mac
venv/bin/pip install -r requirements.txt
Create a .env file in the project root:
cp .env.example .env
Edit .env and add your fal.ai API key:
FAL_KEY=your_actual_fal_api_key_here
For local testing and development (not required for MCP integration):
Launch the MCP Inspector web interface to test tools interactively:
fastmcp dev main.py
Run the server directly (will wait for stdio input):
venv/Scripts/python main.py # Windows
venv/bin/python main.py # Linux/Mac
After setting up the virtual environment above, configure your MCP client:
Edit %APPDATA%\Claude\claude_desktop_config.json (Windows) or ~/Library/Application Support/Claude/claude_desktop_config.json (Mac):
{
"mcpServers": {
"fal": {
"command": "d:/Projects/python/mcp-fal/venv/Scripts/python.exe",
"args": ["d:/Projects/python/mcp-fal/main.py"],
"env": {
"FAL_KEY": "your_fal_api_key_here"
}
}
}
}
For VS Code/Antigravity (MCP settings):
{
"mcpServers": {
"fal": {
"command": "d:/Projects/python/mcp-fal/venv/Scripts/python.exe",
"args": ["d:/Projects/python/mcp-fal/main.py"],
"env": {
"FAL_KEY": "your_fal_api_key_here"
}
}
}
}
For Linux/Mac, use:
{
"mcpServers": {
"fal": {
"command": "/absolute/path/to/mcp-fal/venv/bin/python",
"args": ["/absolute/path/to/mcp-fal/main.py"],
"env": {
"FAL_KEY": "your_fal_api_key_here"
}
}
}
}
Key Point: Use the venv Python interpreter (
venv/Scripts/python.exeon Windows orvenv/bin/pythonon Linux/Mac) so all dependencies are available.
Security Tip: Instead of hardcoding your API key, you can:
- Set
FAL_KEYas a system environment variable- Use
"FAL_KEY": "${env:FAL_KEY}"in the config to reference it- Or create a
.envfile in the project directory and the server will load it automatically
models(page=None, total=None) - List available models with optional paginationsearch(keywords) - Search for models by keywordsschema(model_id) - Get OpenAPI schema for a specific modelgenerate(model, parameters, queue=False) - Generate content using a modelresult(url) - Get result from a queued requeststatus(url) - Check status of a queued requestcancel(url) - Cancel a queued requestupload(path - Upload a file to fal.ai CDN[!WARNING] This Docker setup is experimental and does NOT work for MCP integration.
MCP servers use stdio transport and must be spawned by MCP clients. Docker containers will exit immediately because there's no stdin connection. This is kept for educational purposes and potential future experimentation.
Dockerfile - Python 3.10-slim image with dependenciesdocker-compose.yml - Compose configuration with auto-restart.dockerignore - Excludes unnecessary files from builddocker-compose build
docker-compose up -d
The container will start and exit immediately because MCP servers require an active stdin connection.
MCP servers communicate via standard input/output (stdio). They're designed to be spawned as child processes by MCP clients, not run as standalone services. When run in Docker without an active stdin connection, the server starts, finds no input stream, and exits.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for fal.ai MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-fal)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

Store and retrieve entities, relations and observations in a persistent local knowledge graph.

Organize problem solving into revisable, branching thought steps through an MCP tool.

Query-aware context compression with an MCP plugin for coding agents, plus Python and HTTP interfaces for reducing the context sent to a language model.