Fal.ai Integration
STDIOMCP server for interacting with fal.ai models and services.
MCP server for interacting with fal.ai models and services.
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
pip install fastmcp httpx aiofiles
export FAL_KEY="YOUR_FAL_API_KEY_HERE"
You can run the server in development mode with:
fastmcp dev main.py
This will launch the MCP Inspector web interface where you can test the tools interactively.
To use the server with Claude Desktop:
fastmcp install main.py -e FAL_KEY="YOUR_FAL_API_KEY_HERE"
This will make the server available to Claude in the Desktop app.
You can also run the server directly:
python main.py
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