Skip to content

Integration

AI Image and Video in VS Code with FunAI MCP

Add FunAI as an MCP server in VS Code and the chat can make and edit images and video for your project. Install it from the FunAI MCP page or with MCP: Add Server, allow the sign-in, and ask.

OAuth sign-in. No key to paste.

FunAI for VS Code - FunAI
A wide monitor showing a space image

Generate Assets Where You Write Code

Ask in the chat the way you would ask a designer. The FunAI tools handle new images, edits and short clips, and the free read-only tools let the chat compare models and prices first.

Add FunAI to VS Code

Prompt or edit

generate_image makes a picture from a prompt or edits one you pass in, with a mask or reference images. upload_file brings a file from your machine in first.

Clips from a still

generate_video works from text, or animates an image with a start frame and an optional end frame, for example to turn a screenshot into a short walkthrough clip.

Signed in, capped

You approve the connection on funai.art and can switch off every permission except read. Each connection has its own spending limit, renewed every 30 days.

Models to call from VS Code

A mix of editing and video models that suit project assets. Ask for one by name, or ask the chat to list options and prices first.

  • •
    FLUX.2 Pro:Black Forest Labs' editing model for restyling and step-by-step image edits.
  • •
    Qwen Image Edit:Changes objects, colours and in-image text from a plain instruction.
  • •
    PixVerse v5.6:Text-to-video for short clips from a description.
  • •
    Kling 2.6 Pro:Image-to-video with native audio: a picture in, a scene with sound out.
Browse all models
A portrait restyled into golden armour with AI

FunAI for VS Code explained

VS Code runs MCP servers for its chat, and its documentation notes that Copilot selects relevant tools, so you do not have to name the server in every request. Adding FunAI gives that chat generate_image and generate_video, so a README banner, a docs illustration or a product demo clip can come from the same window as the code.

Setup is URL-only. Use Install in VS Code on the FunAI MCP page, or run MCP: Add Server… from the Command Palette with type http and the URL https://mcp.funai.art. The first time the server starts, VS Code asks you to authenticate with FunAI: allow it, sign in, and pick a spending limit for the connection.

VS Code is one of the clients that show MCP Apps, so a finished result opens in a FunAI viewer inside the chat with Open on FunAI and Download. Every result also has a shareable funai.art link, and generations spend credits from your FunAI account at studio prices.

Why add FunAI to VS Code

  • Create and edit images and video without leaving the editor
  • URL-only setup with OAuth sign-in, so no key in a workspace file
  • Bring local files in with upload_file for edits and image-to-video
  • Results open in a FunAI viewer inside the chat
  • Permissions you can narrow, plus a 30-day spending limit

Connect FunAI to VS Code

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

Add the server

Click Install in VS Code on the FunAI MCP page, or run MCP: Add Server… from the Command Palette with { "servers": { "funai": { "type": "http", "url": "https://mcp.funai.art" } } }

02

Start it and allow sign-in

When the server first starts, VS Code asks you to authenticate with FunAI. Allow it.

03

Approve and set a limit

Sign in on funai.art, review the permissions, choose a spending limit and allow the connection.

04

Ask in chat

Try “Use the funai MCP server to make a wide banner for this project’s README: a paper plane over a city at dusk.” The banner opens in the chat.

Permissions You Approve

When VS Code signs in to FunAI, you see these permissions on funai.art. You can switch off all but read.

  What it allowsCan spend credits
readBrowse models, prices, Tools and templates; check jobs; list your generations—
generateGenerate, run Tools and templates, upload input files
editorDrive an open FunAI video editor and render saved projects
account:readSee your credit balance—

No public creations to show yet.

Everything you need to know