How to connect Fal.ai MCP with Cursor

Connect Cursor to Fal.ai MCP. Generate a photorealistic portrait of a cat, create a 15-second ai-generated promo video, and more using natural language, with authentication handled for you.

Fal.ai logoFal.ai
Api Key

Fal.ai is a generative media platform offering 600+ AI models for images, video, voice, and audio. Developers use Fal.ai for fast, scalable access to cutting-edge generative AI tools.

13 Tools

How to integrate Fal.ai MCP with Cursor

Cursor is one of the leading AI-powered code editors. It is built to help developers write, understand, and refactor code faster with AI assistance built directly into the editor.

And in this guide, I will explain the easiest and most secure way to connect your Fal.ai account to Cursor via Composio Connect, so it can generate a photorealistic portrait of a cat, create a 15-second AI-generated promo video, synthesize an audio clip saying 'Welcome home!', and more without ever putting your account credentials at risk.

For exact tool slugs and parameter tables, see the tool catalog in the Composio docs.

Also integrate Fal.ai with

Why Composio?

  • 1,700+ SaaS toolkits out of the box. Skip the work of building and maintaining integrations, Composio gives you instant access to a vast catalog of pre-built connectors.
  • One MCP server for every app. Connect any of your applications on demand through a single endpoint, rather than juggling a separate server for each app.
  • Smart, context-aware tool loading. Unlike traditional MCP servers that dump every available tool into the LLM context window, Composio searches for and loads only the tools relevant to the task at hand. A remote CLI workbench lets LLMs compose these tools into workflows for complex automation.

Connect Fal.ai to Cursor

Two ways to install — pick whichever you prefer.

1. Install with one click

Click the button below to add Composio to Cursor.

↗Install in Cursor

2. Or add manually

Add to your Cursor mcp.json

Open .cursor/mcp.json in your project root (or ~/.cursor/mcp.json for global config) and add the following configuration:

bash
{
  "servers": {
    "composio": {
      "type": "http",
      "url": "https://connect.composio.dev/mcp"
    }
  }
}

3. Authorize

Restart Cursor, then click "Connect" next to Composio in MCP Tools settings.

Cursor MCP Tools settings with Connect button next to Composio

A browser window will open to authorize.

Composio authorization browser window

Connect your Fal.ai account

Back in Cursor, ask the agent to connect to Fal.ai or give it any Fal.ai-related task.

For example, ask it to:

  • "Generate a photorealistic portrait of a cat"
  • "Create a 15-second AI-generated promo video"
  • "Synthesize an audio clip saying 'Welcome home!'"

It will prompt you to authenticate and authorize access to Fal.ai.

That is it. Composio tools are now available in Cursor, and your Fal.ai account is ready to use.

Conclusion

You have successfully connected Fal.ai to Cursor using Composio Connect. Your agent can now use Fal.ai securely without exposing credentials in prompts or local scripts.

TOOLS

Supported Tools

Every Fal.ai action and event your agent gets out of the box.

Cancel Queue Request

Request cancellation of a queued or in-progress fal.ai job using your own fal account.

Estimate Pricing

Estimate expected costs for API calls or unit-based usage across one or more fal.ai model endpoints using your own fal account.

Get JWKS for Webhook Verification

Retrieve the JSON Web Key Set used for fal.ai webhook signature verification using your own fal account.

Get Models

Discover and search fal.ai model endpoints using your own fal account.

Get Model Pricing

Retrieve unit pricing for specific fal.ai model endpoints using your own fal account, including unit price, billing unit and currency.

Get Queue Request Result

Tool to retrieve the final result of a completed queue request.

List Model Requests

List recent fal.ai model requests with filters and cursor pagination using your own fal account.

Check Queue Request Status

Check the status of a queued fal.ai request using your own fal account.

Stream Request Status Updates

Collect SSE status updates for a queued fal.ai request using your own fal account.

Run Model (Sync)

Run a fal.ai model synchronously using your own fal account and return its model-specific output.

Submit Async Inference Job

Start image, text-to-video, image-to-video or 3D generation and return a job ID immediately.

Subscribe to Async Inference Job

Submit a fal.ai inference job using your own fal account, poll until it completes or the wait deadline is reached, and return the final result.

Upload Input File

Upload an input media file to fal.ai storage using your own fal account and return its access URL for use as a model input.

FAQ

Frequently asked questions

Start with Fal.ai.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Fal.ai tool your agent needs.Free to start.

Start building