fal MCP Server
Published
At a glance
- Category
- AI & web search
- Hosted by the vendor
- https://mcp.fal.ai/mcp-relay
- Watch out for
- Every run_model or submit_job call spends fal credits, and fal states that its suggested approval prompts do not add a server-side approval gate.
fal publishes its own hosted MCP server for its generative media platform. It lets an assistant search fal's model catalog, read a model's input schema and price, upload inputs, and run image, video and audio generations on your account.
The server is remote only. You connect to https://mcp.fal.ai/mcp-relay over Streamable HTTP and sign in with OAuth in the browser, so there is no API key or authorization header to manage for these connections. Uploads and generations bill against the Active MCP account you pick in the fal dashboard under MCP & connectors, which defaults to your personal account.
fal also runs two separate servers worth knowing about: a documentation-only MCP at https://fal.ai/docs/mcp that searches public docs without touching your account, and a Platform MCP for account operations and serverless debugging. This guide covers the model-generation relay.
How it connects
Your AI app
An assistant or agent that supports MCP
fal MCP Server
Runs as
- Remote (HTTP)
Gives the agent
- Model discovery
- Schema and pricing checks
- Running models
- Long-running jobs
- File uploads
- Docs search
fal
Signs in with
- OAuth / browser sign-in
- API key
What it can do
- Model discovery
- search_models searches the catalog by keyword or category such as text-to-image or image-to-video, and recommend_model suggests models for a described task.
- Schema and pricing checks
- get_model_schema returns a model's input and output parameters, and get_pricing shows what a model costs before anything runs.
- Running models
- run_model queues a job and waits up to 45 seconds by default, returning either the result or a request ID to keep polling.
- Long-running jobs
- submit_job returns a request ID straight away, check_job reports status, get_job_result fetches output and cancel_job stops a queued or running job.
- File uploads
- upload_file prepares a signed upload or takes a public URL or base64 data, so an agent can pass its own images into a model.
- Docs search
- search_docs searches fal's documentation from inside the same connection.
Setting it up
fal offers a one-line installer for macOS and Linux: curl -fsSL https://fal.ai/mcp/install.sh | bash. It adds the server to Claude Code, Codex CLI, Cursor, VS Code, Devin Desktop (formerly Windsurf), Gemini CLI, Grok Build and opencode where it finds them, and never writes an API key. To do it by hand in Claude Code, run claude mcp add --transport http --scope user fal https://mcp.fal.ai/mcp-relay (use --scope project to save it in .mcp.json instead), then open Claude Code, run /mcp, select fal and choose Authenticate to finish browser sign-in. In Cursor, either add the fal plugin from the Cursor Marketplace or merge {"mcpServers": {"fal": {"url": "https://mcp.fal.ai/mcp-relay"}}} into ~/.cursor/mcp.json (or .cursor/mcp.json for one project), then sign in from Customize. To confirm it works, ask the agent to search for image generation models without running one.
claude mcp add --transport http fal https://mcp.fal.ai/mcp-relayIf the server needs a sign-in or an API key, the setup notes above say which. Combine several servers in the MCP config generator
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Pick a text-to-image model for a landing page, check its schema and price, and generate a hero image after you approve the cost.
- Submit a video generation as a background job, poll it with check_job and return the download link once it completes.
- Upload a product photo and run an image-editing or upscaling model against it.
- Produce a short text-to-speech clip for a demo or onboarding flow.
Limitations and things to watch
- Every run_model or submit_job call spends fal credits, and fal states that its suggested approval prompts do not add a server-side approval gate.
- Calling run_model or submit_job again to check progress creates a new billable job, so agents must poll with check_job instead.
- It is hosted only and requires OAuth browser sign-in, and each user has to authorize their own connection.
- If access to the selected Active MCP account fails, operations stop rather than falling back to personal credits.
- fal notes that tool availability can change, so the client's tool list is the source of truth.
Sources
Written from the project's own documentation, checked November 2026.
- fal.ai /docs/documentation/setting-up/mcp
- fal.ai /docs/documentation/setting-up/mcp/claude-code
- fal.ai /docs/documentation/setting-up/mcp/cursor
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.