Skip to content

Integration

Image Generation in Cursor with FunAI MCP

Give Cursor's agent FunAI's image and video models. Add the server with one click or a few lines of JSON, sign in when Cursor shows Needs login, and ask for the assets your project is missing.

OAuth sign-in. Nothing secret in mcp.json.

FunAI for Cursor - FunAI
A desk with a monitor by a window

From Prompt to Asset Without Leaving Cursor

The FunAI MCP page centres Cursor on image and video, the results that fit an editor. The server offers one tool set to every client, so audio and 3D calls are there too, each returning a funai.art link.

Add FunAI to Cursor

Image and video calls

Ask for a hero image, an icon, a product shot or a short clip. Cursor's agent chooses generate_image or generate_video and uses the model you name.

Price before you run

list_models shows every model with its price per run, and estimate_cost prices a generation before it starts. Both are free calls.

One limit per connection

Sign-in happens on funai.art, where you choose $5, $10, $25 or $50 every 30 days. Paid calls stop at the limit until the window resets or you raise it.

Models to call from Cursor

Name a model in your prompt and the agent passes it to FunAI. Open any page to see its inputs and its price per run.

Browse all models
A neon city at sunset made with AI

FunAI for Cursor explained

Cursor's agent can change a whole codebase, yet a placeholder image or a demo clip still means leaving the editor. The FunAI MCP server adds generate_image and generate_video to the agent, with the image and video models in FunAI's catalog behind them, so an asset can be made in the same place it is used.

There are two ways in. The FunAI MCP page has an Add to Cursor button that installs the server for you. Or add it by hand to ~/.cursor/mcp.json, or to a project’s .cursor/mcp.json, with only the URL https://mcp.funai.art. Cursor then lists FunAI under Settings → MCP as Needs login: click it, sign in to FunAI and choose a spending limit.

Because the config holds no key, a project file can carry it and each developer signs in with their own FunAI account and their own limit. In clients that show MCP Apps, Cursor among them, a finished result opens in a FunAI viewer with Open on FunAI and Download, and every result also has a funai.art link.

Why add FunAI to Cursor

  • Make images and clips in the same window as the code that uses them
  • No API key in mcp.json: each person signs in with OAuth
  • Call models by name, such as Ideogram or Veo, with no ids to find
  • Free calls to compare model prices before a paid run
  • A 30-day spending limit on each connection

Connect FunAI to Cursor

Feature visual preview 1
Feature visual preview 2
Feature visual preview 3
Feature visual preview 4
01

Add the server

Click Add to Cursor on the FunAI MCP page, or add this to ~/.cursor/mcp.json: { "mcpServers": { "funai": { "url": "https://mcp.funai.art" } } }

02

Click Needs login

Open Cursor Settings → MCP. FunAI shows Needs login; click it.

03

Sign in and set a limit

FunAI opens in your browser. Sign in, review the permissions, pick a spending limit and allow the connection.

04

Paste a first prompt

In the agent chat try “Use the funai MCP server to make a square app icon of a paper plane on a gold background.” The image comes back in the chat.

Cursor and VS Code Setup

Both editors reach the same FunAI server with a URL-only config and sign in over OAuth. The difference is where the config lives and when you are asked to sign in.

  CursorVS Code
One-click install on the FunAI MCP pageAdd to CursorInstall in VS Code
Manual setup~/.cursor/mcp.jsonMCP: Add Server…
Config root keymcpServersservers
When you sign inClick Needs login in Settings → MCPWhen the server first starts
API key in the config——

No public creations to show yet.

Everything you need to know