rive-mcp
Generates Flutter integration code for Rive animations, including artboard, state machine, and input names.
Generates React integration code for Rive animations, including artboard, state machine, and input names.
Allows creating, editing, inspecting, rendering, and live-previewing Rive (.riv) animations, including generating .riv from JSON, lossless editing, auto-rigging characters, and a local Studio for human-AI collaboration.
Generates Svelte integration code for Rive animations, including artboard, state machine, and input names.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@rive-mcpcreate a bouncing ball .riv file"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
rive-mcp
Create, edit, inspect, render and live-preview Rive (.riv) animations from Claude — no Rive editor, no cloud, no subscription.
rive-mcp is a free MCP (Model Context Protocol) server that gives Claude (or any MCP client) full control over .riv files. Unlike the official Rive MCP (which requires the editor running) or paid third-party servers, it works with nothing but a .riv file — and it can even build .riv files from scratch by serializing the binary format directly.
Rendering runs the official Rive runtime (@rive-app/canvas-advanced WASM) inside headless Chromium, so what you see is exactly what ships.

Highlights
Generate
.rivfrom JSON — shapes, gradients, embedded PNGs, text, bones + skinning, IK, mesh deformation, keyframe animation with easing, multi-layer state machines, listeners, events, physics baking, particlesLosslessly edit existing
.riv— change any property, swap text, delete subtrees (references auto-remapped); round-trip verified pixel-perfectLocal web Studio — Rive-editor-style 3-pane UI (hierarchy / canvas with click-select & drag / inspector / timeline) with hot reload; edits apply live
Human ⇄ AI loop — an "Instructions for AI" box in the Studio: you type feedback, the AI picks it up via
riv_studio_notesand fixes the file, your browser updates instantlyAuto-rig characters — one call turns a character PNG into a rigged
.rivwith cutout parts, bone-skinned head mesh, eye blink, idle/happy animations and a state machineEverything verified — generated files are loaded, rendered and state-machine-driven by the official runtime in E2E tests
Related MCP server: GSAP Master MCP Server
Tools (19)
Tool | What it does |
| Recursively find |
| Full metadata: artboards, animations (duration/fps/loop), state machines and inputs |
| Render any moment to PNG (inline image + file) |
| Turn an animation into a preview GIF |
| Animated PNG export — 24-bit color + alpha transparency (plays on GitHub) |
| Record an animation or state machine to WebM video |
| Sprite-sheet PNG + JSON metadata (for game engines) |
| Set/fire inputs → advance → state-transition report (+ optional frame captures) |
| Integration code with real artboard/SM/input names (React / JS / Vue / Svelte / Flutter) |
| Build a |
| Lossless editing of existing |
| Extract embedded images/fonts from a |
| Pixel diff of two |
| Low-level binary structure dump (typeKeys / properties / hierarchy) |
| Cut character parts out of a PNG by polygon (for cutout rigging) |
| Character PNG → fully rigged |
| Structural diff between two |
| Local web Studio: Rive-editor-style dark UI — hierarchy tree, canvas select/drag/resize, inspector, keyframe timeline editing, undo/redo, playback speed, one-click export (PNG/APNG/GIF/WebM), live preview + hot reload, EN/JA |
| Fetch instructions the human typed into the Studio UI |
Quick start
Install from npm:
npm install -g rive-mcp-server
# Register with Claude Code (user scope = available in every project)
claude mcp add --scope user rive -- rive-mcpOr run from source:
git clone https://github.com/ODU33104/rive-mcp.git
cd rive-mcp
npm install
npm run build
claude mcp add --scope user rive -- node /absolute/path/to/rive-mcp/dist/index.jsA Chromium-based browser is auto-detected in this order (usually nothing to install):
RIVE_MCP_CHROMEenv var (path to Chrome/Edge executable)Playwright browser cache
Installed Chrome → Edge
Requires Node.js 20+.
The Studio: human ⇄ AI collaboration
riv_studio opens a local web page where a human can inspect, directly edit, and request changes to whatever the AI built (first-run guide included, UI in English/Japanese):
Let the AI build — "create a bouncing-ball riv and open it with riv_studio"
Touch it — click/drag objects on the canvas, tweak numbers & colors in the inspector (applies live)
Ask the AI — type bigger changes into Instructions for AI, then say "check the studio notes" in chat
When the AI edits the file, the browser hot-reloads instantly
Works without a scene JSON too: any .riv can be edited property-by-property through the hierarchy + inspector.
Character animation
Turn a single character PNG into a naturally moving .riv:
riv_slice_imagecuts out ears/tail/etc. by polygon,riv_rig_characterassembles the whole rig in one call: pivot groups, a seamless 2-bone head mesh for tilting, vector eyelid blink, idle/happy animations and ahappytriggerOr compose manually with
riv_create: image embedding, grid meshes with per-vertex keyframes, bone chains with distance-weighted skinning, IK constraints
Example prompts
"List the riv files in
samples/and inspect vehicles.riv""Render the
curvesanimation as a GIF""Create a riv of falling snow over a night sky and open it in the studio"
"Rig
characters/cat.png— ears and tail should move, and it should look happy on click""Check the studio notes" (after typing feedback into the Studio UI)
"Write the React integration code for this file"
Development
npm run build # vendor runtime assets + tsc
npm run test:e2e # spawns the real server, exercises all 18 tools over JSON-RPC (48 checks)docs/riv-format.md documents the reverse-engineered knowledge of the .riv binary format used by the writer (typeKeys/propertyKeys resolved from the official rive-runtime type definitions vendored in vendor/rive-defs/defs.json).
Limitations
Text-run enumeration is not exposed by the runtime API (access by name works)
GIF output has no transparency (composited on a background color)
The Canvas2D preview renderer can show mesh seams that don't exist in the file (WebGL/Skia render clean)
Luau scripting and the Layout engine are not generated (runtime spec still moving)
License
Free to use (personal & commercial) — but not open source. This is source-available freeware:
✅ Use the software freely; the
.rivfiles and code it generates are yours without restriction❌ No modification, no redistribution, no derivative works
❌ No reverse engineering; no AI-assisted analysis, extraction or reproduction of the code (including use as training data)
See LICENSE for the exact terms. Bundled third-party components: Inter font (OFL 1.1), Rive runtime & type definitions (MIT, © Rive, Inc.).
rive-mcp is an unofficial tool and is not affiliated with or endorsed by Rive, Inc.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ODU33104/rive-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server