fal.ai MCP Server
A Model Context Protocol (MCP) server for interacting with fal.ai models and services.
Overview
The fal.ai MCP Server is a Model Context Protocol (MCP) server designed for interacting with fal.ai models and services, enabling users to leverage AI models for various applications.
To use the fal.ai MCP Server, clone the repository, install the required packages, set your fal.ai API key, and run the server in development mode or directly.
- 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
- Interacting with various AI models for content generation.
- Managing model execution and results in a queued manner.
- Uploading files to the fal.ai CDN for further processing.
Add to your AI client
Use these steps to connect fal.ai MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-fal-am0y": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-fal-am0y"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-fal-am0y": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-fal-am0y"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-fal-am0y": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-fal-am0y"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-fal-am0y": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-fal-am0y"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-fal-am0y": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-fal-am0y"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-fal-am0y": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-fal-am0y"
]
}
}
}FAQ
What are the requirements to run the fal.ai MCP Server?
You need Python 3.10+, fastmcp, httpx, aiofiles, and a fal.ai API key.
How do I install the fal.ai MCP Server?
Clone the repository, install the required packages, and set your API key as an environment variable.
Can I run the server directly?
Yes, you can run the server directly using the command `python main.py`.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2968,"uuid":"894f0ee6-6ae3-4abe-990f-0e46a94bc93c","name":"mcp-fal","title":"fal.ai MCP Server","description":"A Model Context Protocol (MCP) server for interacting with fal.ai models and services.","avatar_url":"https://avatars.githubusercontent.com/u/133551247?v=4","created_at":"$D2025-03-16T09:17:00.213Z","updated_at":"$D2025-03-16T09:56:00.309Z","status":"created","author_name":"am0y","author_avatar_url":"https://avatars.githubusercontent.com/u/133551247?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/am0y/mcp-fal","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"6\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-16 09:30:24\"}","user_uuid":"5015988e-6ddc-457e-8806-9d69f4b0ca2a","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]