No description
This repository has been archived on 2026-05-07. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2025-08-05 13:23:31 +02:00
api initial commit 2025-03-16 09:03:13 +00:00
.gitignore feat: using uv and updated claude code install instructions 2025-08-05 13:23:31 +02:00
LICENSE Add MIT license and update README.md with license link 2025-03-16 09:07:48 +00:00
main.py feat: using uv and updated claude code install instructions 2025-08-05 13:23:31 +02:00
pyproject.toml feat: using uv and updated claude code install instructions 2025-08-05 13:23:31 +02:00
README.md feat: using uv and updated claude code install instructions 2025-08-05 13:23:31 +02:00

fal.ai MCP Server

A Model Context Protocol (MCP) server for interacting with fal.ai models and services.

Features

  • List all available fal.ai models
  • Search for specific models by keywords
  • Get model schemas
  • Generate content using any fal.ai model
  • Support for both direct and queued model execution
  • Queue management (status checking, getting results, cancelling requests)
  • File upload to fal.ai CDN

Requirements

  • uv
  • A fal.ai API key

Installing in Claude Desktop

  1. Clone this repository:
git clone https://github.com/am0y/mcp-fal.git
cd mcp-fal
  1. Run the install command from the repo folder:
claude mcp add mcp-fal -s user --env FAL_KEY='<api-key>' -- uv run --directory "$PWD" fastmcp run main.py

If you don't run the command from the git repo folder, replace the '$PWD' with the absolute path to that folder.

API Reference

Tools

  • models(page=None, total=None) - List available models with optional pagination
  • search(keywords) - Search for models by keywords
  • schema(model_id) - Get OpenAPI schema for a specific model
  • generate(model, parameters, queue=False) - Generate content using a model
  • result(url) - Get result from a queued request
  • status(url) - Check status of a queued request
  • cancel(url) - Cancel a queued request
  • upload(path - Upload a file to fal.ai CDN

License

MIT