Rive VS Code MCP
v1.2.12Read-only access to Rive files: list, inspect, compare, and export artboard metadata.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
inspect_rive_file Inspect Rive file
Read metadata from a Rive .riv file: artboard names and dimensions, timeline animation names, and state machines with input names and types. Timing fields (durationFrames, framesPerSecond, durationSeconds, workStart, workEnd, loopType) are included only when includeAnimationDetails is true. filePath may be relative to the configured project root or an absolute path inside it.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | Path to a .riv file, relative to the configured root or absolute within it. |
artboardName | string | When set, return only the artboard with this name. |
includeAnimationDetails | boolean | Include animation timing fields. Defaults to false. |
includeAnimations | boolean | Include animation names. Defaults to true. |
includeStateMachines | boolean | Include state machines and inputs. Defaults to true. |
summary | boolean | When true, return compact artboard rows with animationCount and stateMachineCount only. |
export_rive_artboard Export Rive artboard JSON
Return metadata for a single artboard in a .riv file (animation names and state machines). Set includeAnimationDetails to include animation timing fields. filePath may be relative to the configured project root or an absolute path inside it.
| Parameter | Type | Description |
|---|---|---|
artboardName * | string | Artboard name to export. |
filePath * | string | Path to a .riv file, relative to the configured root. |
includeAnimationDetails | boolean | Include animation timing fields. Defaults to false. |
includeAnimations | boolean | Include timeline animations. Defaults to true. |
includeStateMachines | boolean | Include state machines. Defaults to true. |
list_rive_files List Rive files
Discover .riv files under the configured project root. Paths and optional glob patterns (for example **/*booster*.riv or **/assets/*.riv) are relative to that root; the default searches the whole root. Use a returned filePath directly with inspect_rive_file. The text response lists up to 10 matching paths; the full result is in structuredContent.
| Parameter | Type | Description |
|---|---|---|
pattern | string | Glob pattern relative to root. Default: "**/*.riv". |
compare_rive_files Compare Rive files
Compare artboard names, dimensions, animations, and state machines between two .riv files under the project root.
| Parameter | Type | Description |
|---|---|---|
filePathA * | string | First .riv file path (relative to root or absolute within root). |
filePathB * | string | Second .riv file path (relative to root or absolute within root). |