fui-studio-mcp

v0.1.4
fui-studio-mcp Checked 2 days ago Published 17 days ago

FUI Studio for AI assistants: build animated HUD graphics over MCP and watch them appear in FUI Studio.

Let an AI assistant build animated HUD and FUI graphics in FUI Studio: rings, ticks, readouts, crosshairs, scanning bars. You describe it in chat, the assistant builds it as a node graph, and you watch it appear in the studio, where you can keep editing by hand. It is an MCP server: your AI app starts it on your computer when it needs it. You don't run it yourself. Make a folder for your FUI projects, for example FUI-Studio in your home folder. The assistant saves there, and the studio watches the same folder. If the config names no folder, the server uses FUI-Studio in your home folder.

Summary extracted from the README.

fui-studio-mcp

Let an AI assistant build animated HUD and FUI graphics in FUI Studio: rings, ticks, readouts, crosshairs, scanning bars. You describe it in chat, the assistant builds it as a node graph, and you watch it appear in the studio, where you can keep editing by hand.

It is an MCP server: your AI app starts it on your computer when it needs it. You don't run it yourself.

What you need

  • Node.js 18 or newer (nodejs.org). Check with node --version.
  • An AI app that supports MCP servers: Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and others.
  • To watch along: FUI Studio in Chrome or Edge. In Brave, first turn on brave://flags/#file-system-access-api. Firefox and Safari can't open a folder on your computer.

1. Pick a projects folder

Make a folder for your FUI projects, for example FUI-Studio in your home folder. The assistant saves there, and the studio watches the same folder. If the config names no folder, the server uses FUI-Studio in your home folder.

2. Add the server to your AI app

Each snippet below uses ~/FUI-Studio; change it if your folder is somewhere else. On Windows, write the full path, for example C:\\Users\\you\\FUI-Studio.

Claude Desktop: Settings → Developer → Edit Config, which opens claude_desktop_config.json. Add:

{
  "mcpServers": {
    "fui-studio": {
      "command": "npx",
      "args": ["-y", "fui-studio-mcp", "--projects", "~/FUI-Studio"]
    }
  }
}

Then quit and reopen Claude Desktop.

Claude Code: run once in a terminal:

claude mcp add fui-studio --scope user -- npx -y fui-studio-mcp --projects ~/FUI-Studio

Cursor: Settings → MCP → Add new MCP server, or edit ~/.cursor/mcp.json and use the same mcpServers block as Claude Desktop.

Windsurf: edit ~/.codeium/windsurf/mcp_config.json and use the same mcpServers block as Claude Desktop.

VS Code (Copilot agent mode): create .vscode/mcp.json in your project, or run MCP: Open User Configuration:

{
  "servers": {
    "fui-studio": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "fui-studio-mcp", "--projects", "~/FUI-Studio"]
    }
  }
}

Any other app: the command is npx -y fui-studio-mcp --projects <folder>, over stdio. Instead of --projects, you can set the environment variable FUI_PROJECTS.

Windows and Claude Desktop: if the server doesn't start, use "command": "cmd" and put "/c", "npx" in front of the other args.

3. Open the same folder in the studio

In FUI Studio, click folder… in the toolbar and choose your projects folder, the same one as in step 1. The assistant also tells you the folder when it first saves. Once it has saved a project, open it from Open. From then on, every save the assistant makes shows up within a second, on the page you're looking at. One undo takes a change back.

You can edit too:

  • If you have unsaved changes when the assistant saves, the studio asks whether to load theirs or keep mine.
  • If you saved while the assistant was working, its next save is refused and it reopens the file first, so your edits are never silently overwritten.

Try it

Make a 1920×1080 radar HUD: a tick ring, a sweeping arc that rotates once every 4 seconds, and a readout with the bearing. Save it as radar.

The assistant looks at its own work as it goes, using render_preview. You can ask for changes ("thinner ticks, more orange") or make them yourself in the studio and ask it to carry on.

Video (optional)

Projects with a Video node need a 31 MB decoder that isn't installed by default. Without it, everything else renders and Video nodes stay empty. To add it, use these args instead:

"args": ["-y", "-p", "fui-studio-mcp", "-p", "@ffmpeg/core@0.12.10", "fui-studio-mcp", "--projects", "~/FUI-Studio"]

What the assistant can do

These are the server's 28 tools:

  • Projects: new_project, open_project, save_project, list_projects, get_project.
  • Presets: list_presets, new_from_preset — the studio's starter documents (radar, dial, boot sequence, depth stack…) as a place to begin.
  • Elements: list_elements, insert_element — layers the user saved for reuse in the studio (its elements/ folder), put into the project as a new layer. The list says which folders the user filed each one in.
  • Prefabs: list_prefabs, insert_prefab — groups of nodes the user saved for reuse (its prefabs/ folder), put on a layer's page and wired into that layer. Listed with their folders, as elements are.
  • Building: list_node_types, describe_node (every param explained, with units and ranges), add_node, add_image, remove_node, set_param, connect, disconnect, set_keyframe, list_nodes.
  • Layers and timing: list_layers, add_clip, remove_clip.
  • DaVinci Resolve titles: set_ograf_controls.
  • Output: render_preview, export (SVG, PNG, .ograf, .drfx), render_sequence (PNG frames).

When it connects, the server gives the assistant a short guide to how projects fit together.

Troubleshooting

  • The assistant saved somewhere else. Its save message names the folder. Without --projects in the config, it saves in FUI-Studio in your home folder.
  • Changing the folder. For the assistant, change the path after --projects in its config and restart your AI app; with Claude Code, run claude mcp remove fui-studio and the add command again. For the studio, choose change folder… at the bottom of the Open dialog.
  • "npx: command not found", or the server won't start. Install Node.js, then restart your AI app. Apps started from the Dock or Start menu may not see a Node installed through nvm; in that case, put the full path to npx in "command".
  • The studio doesn't update. Check that it has the same folder open (the Open dialog shows which), and that you opened the very project the assistant is saving.
  • Which version is this? Run npx fui-studio-mcp --version.

Licence

Free to use, including commercially; what you make is yours. See LICENSE. Third-party components are listed in THIRD_PARTY_NOTICES.md.