Combining Figma MCP and Rive Animation MCP to Ship Animated App Mascots
By the Charmotion team · Updated · How we write guides

Connect Figma's remote MCP server so your coding agent can read the mascot's frames, then pass the exported art and state list to a Rive animation MCP that builds one .riv file with a state machine. In this Figma MCP and Rive workflow, frontend teams bind app state to that file with the Rive runtime.
Key takeaways
- Figma's remote MCP server signs in with OAuth and can write to the canvas, while the desktop server needs the Figma app open with the file loaded.
- Figma MCP supplies design context and exports, and the Rive side builds the .riv with its state machines.
- Keep state logic in app code and let the .riv hold the motion, so each state change is a single input update.
- Free-plan Rive exports carry a splash screen, so check plan rules before a release.
- Write the state list into the repository's agent instructions so every tool names states the same way.
Already have a character or logo? See examples in real app screens: splash, onboarding, loading and empty-state screens, with the animation that plays in each.
What does each layer do in a Figma and Rive workflow?
The workflow has three layers, and each one owns a different job. Mixing them up is the most common reason a mascot ships late.
| Layer | Job | Output |
|---|---|---|
| Figma MCP | Gives the coding agent design context from Figma files, such as frames, components, names and styles | Structured context and exported art |
| Rive animation MCP | Builds or edits the animation, including artboards, state machines and data binding | A .riv file |
| App runtime | Loads the .riv and sets its inputs from app state | An animated mascot on screen |
Figma stays the source of truth for the look. Rive owns the motion and the states. The app owns the moment a state changes. If a designer changes a colour in Figma, the .riv needs a rebuild, so decide early which parts of the mascot come from design and which are fixed in the animation.
How does the Figma MCP plus Rive animation MCP workflow for frontend teams run step by step?
Each step has one owner and one check. Keep the order fixed, so a Figma change always reaches the app through the same path.
- Connect. Add the Figma remote server and sign in. Check that the agent can read the mascot frame.
- Prepare. Export one transparent image of the character. Check that the eyes and mouth are readable at the size the app will show them.
- Specify. List every state and the input value it uses. Check that the names match the ones your designers use in Figma.
- Build. Run the Rive animation MCP to create the .riv file. Check each state in the Rive editor preview.
- Wire. Load the file in the frontend and set the state from app code. Check every state in a real build, not only in the editor.
Teams that skip the specify step usually discover naming drift later, when a loading state in code points at a file that calls it spinner.
How do you connect the Figma MCP server to a coding agent?
Figma recommends a hosted remote server at https://mcp.figma.com/mcp for most users. It signs in through Figma OAuth and does not need the Figma desktop app. The desktop server runs through the Figma app with the file open and authentication turned on in Dev Mode. Figma reserves it for specific organisation, enterprise and government cases.
In Claude Code, one documented command adds the remote server over HTTP. After that, select Authenticate inside the client:
claude mcp add --transport http figma https://mcp.figma.com/mcpThe client must support Streamable HTTP remote servers and the MCP OAuth flow. Figma also limits access to supported clients and integrations, so confirm that your client is on the list before you plan a team rollout. Cursor and VS Code read their own MCP config files, which are documented at https://cursor.com/docs/mcp and https://code.visualstudio.com/docs/agents/reference/mcp-configuration.
| Option | Sign-in | Needs the Figma app | Writes to canvas |
|---|---|---|---|
| Remote (recommended) | Figma OAuth | No | Yes |
| Desktop | Authentication enabled in Dev Mode | Yes, with the file open | No |
Third-party servers differ. Figma Console MCP at https://figma-console-mcp.southleft.com/mcp accepts a Figma Personal Access Token as a Bearer token. It is not Figma's own endpoint, so review its token handling and permissions as a separate tool.
How do you prepare a Figma mascot for a Rive build?
Start from a frame that contains only the character. Remove captions, backgrounds and spare variants, and give the frame a name your team will recognise in code.
- One character per frame. A finished, coloured character facing the viewer is easier to animate than a group or a scene.
- A visible face. Eyes and mouth must read clearly at the size the app displays, because most states show on the face.
- A transparent export. Export a PNG with transparency, or an SVG, from Figma's export panel, which offers PNG, JPG, SVG and PDF.
- Flat or layered. A flat export animates as one piece. Separate layers for head, eyes and limbs allow a rig, but they take more design work. The single-export route covers the flat case, and the prep checklist covers padding and pose.
Save the exported file in the repository next to the .riv, and link the source frame in the README so a designer can trace each asset back to Figma.
How does a Rive animation MCP turn that asset into a .riv file?
A .riv file bundles artboards, animations, state machines and data binding settings, and it loads directly into a website or mobile app. The editable source is a .rev file, which runtimes cannot load. Keep both: the .rev for future edits and the .riv for shipping.
Rive does not document the tool list for its animation MCP in the pages cited here (as of December 2026). Check rive.app for the current server and its tools before you configure it. The Rive CLI and the editor's state machine and data binding features cover the same build steps when you work by hand.
Free-plan exports play a Rive splash screen, so an app that ships without one needs a plan that exports without it. Plan names and prices change, so read is Rive free before you commit to a pipeline.
One option is Charmotion's own MCP server at https://charmotion.app/mcp. Given one finished character image, its create_character_set tool returns a .riv with CharacterViewModelMachine (a number property named mood), CharacterStateMachine (a number input named mood) and, when launch is picked, LaunchStateMachine. Mood 0 is idle, 1 happy, 2 wave, 3 thinking, 4 sad, 5 loading, 6 listening, 7 talking, 8 sleeping and 9 attention. get_character_set returns download links and AI_README notes for coding assistants. Disclosure: Charmotion is our product.
How should frontend code drive the mascot's states?
Keep the state logic in app code and let the .riv hold only the motion. The React runtime package @rive-app/react-canvas exposes a useRive hook that returns a Rive instance and a RiveComponent to render. Rive's React docs mark useStateMachineInput as deprecated in favour of newer data binding hooks, so the example below sets the state machine input directly. The data binding guide for React covers the newer route.
import { useEffect } from 'react';
import { useRive } from '@rive-app/react-canvas';
const MOOD = { idle: 0, happy: 1, loading: 5 } as const;
export function Mascot({ state }: { state: keyof typeof MOOD }) {
const { rive, RiveComponent } = useRive({
src: '/mascot.riv',
stateMachines: 'CharacterStateMachine',
autoplay: true,
});
useEffect(() => {
if (!rive) return;
const mood = rive.stateMachineInputs('CharacterStateMachine').find((i) => i.name === 'mood');
if (mood) mood.value = MOOD[state];
}, [rive, state]);
return <RiveComponent />;
}Call setState when a request starts, succeeds or fails, and the mascot follows. Charmotion characters have no one-shot success or error triggers, so show a success with the happy state and an error with the sad state instead.
Native runtimes differ. Rive's React Native runtime needs a development build or a native project, so Expo Go cannot load it. Plan for that before the first Expo build. For the state pattern itself, see driving mood states from app state.
What breaks in a Figma to Rive handoff?
Most failures come from the handoff, not from the animation tool. These are the ones to plan for:
- Flattened exports hide the parts a rig needs. Head, eyes and limbs cannot move separately from one PNG.
- Names drift. A Figma component called Spinner and a Rive state called loading will eventually disagree. Agree on one state list, such as idle, happy, wave and loading, and keep it in the repository's agent instructions, for example CLAUDE.md or AGENTS.md.
- The desktop server needs a running app. It needs the Figma app with the file open, which blocks unattended runs.
- Client support can block a tool. Figma limits access to supported clients, so a team on an unlisted client cannot connect.
- The editor is not the test. A state can look right in the editor and fail in a web page or a native build. Test each state in the runtime your app ships.
Treat the .riv as a build artifact. Regenerate it when the Figma source changes, and review the state diff rather than the pixels, so a reviewer can see which states moved.
Ship an animated app mascot from a Figma frame with Figma MCP and a Rive animation MCP
- Connect Figma MCP. Add the Figma remote server at https://mcp.figma.com/mcp to your coding client and select Authenticate to sign in with Figma OAuth.
- Prepare the mascot frame. Keep one finished character facing the viewer, with visible eyes and mouth, and export it as a transparent PNG or SVG from Figma.
- Specify the states. List each state your app needs, such as idle, happy, wave and loading, and the input value each one uses, then name them the same way in Figma and code.
- Build the .riv file. Run the Rive animation MCP to create or edit the animation, check each state in the Rive editor preview, and keep the .rev source for future edits.
- Wire the runtime. Load the .riv with the Rive runtime for your platform and set the state machine input from app state with a small effect or hook.
- Test in a real build. Check every state in the runtime your app ships, using a development build for native apps, and confirm that the shipped plan exports the file without a splash screen.
Frequently asked questions
Can the Figma MCP server edit my design or only read it?
The remote Figma MCP server can write to the canvas, while the desktop server only reads. Writing lets an agent place or change layers, so keep a saved copy of the mascot frame before you give any agent write access to a production file. Review the permissions your client requests when it asks you to authenticate.
Do I need a paid Rive plan for this workflow?
Free-plan exports play a Rive splash screen, so an app that ships without one needs a plan that exports without it. Plan names, prices and seat limits change over time, so check the is-rive-free-pricing guide on this site for the current rules before you start building.
Does this workflow work with Expo Go?
Not for the Rive React Native runtime. It is a native runtime, so it needs a development build or a native project rather than Expo Go. Plan a development build from the start, so the mascot can be tested on a device before release.
Is Figma's MCP server free to use?
Figma does not document MCP pricing or rate limits (as of December 2026). Check figma.com for your plan's terms before you roll the workflow out to a team, because client support and usage rules can change.
Sources
- Figma MCP server guide, Uichemy
- Figma MCP server setup guide, BaseHub Forums
- Rive pricing, Rive
- Rive Editor, Rive
- Rive .riv and .rev file formats, ICS Media
- Rive React runtime, Rive
Related guides
- Rive Official Desktop MCP vs. Hosted Remote MCP: Which Should Developers Use?
- Streamable HTTP OAuth MCP vs. Local stdio MCP for Design and Animation Workflows
- Figma to Rive Without Bone Rigging: Animate Your Mascot From a Single Export
- How to Drive Rive Character Mood States (idle, happy, wave, loading) from App State
- Writing CLAUDE.md and .cursorrules for Rive Data Binding Mascot Integrations