Rive VS Code MCP

v1.2.12
io.github.KshKnsl/rive-vscode-mcp Checked 17 hours ago Published 18 hours ago

Read-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.

ParameterTypeDescription
filePath *stringPath to a .riv file, relative to the configured root or absolute within it.
artboardNamestringWhen set, return only the artboard with this name.
includeAnimationDetailsbooleanInclude animation timing fields. Defaults to false.
includeAnimationsbooleanInclude animation names. Defaults to true.
includeStateMachinesbooleanInclude state machines and inputs. Defaults to true.
summarybooleanWhen 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.

ParameterTypeDescription
artboardName *stringArtboard name to export.
filePath *stringPath to a .riv file, relative to the configured root.
includeAnimationDetailsbooleanInclude animation timing fields. Defaults to false.
includeAnimationsbooleanInclude timeline animations. Defaults to true.
includeStateMachinesbooleanInclude 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.

ParameterTypeDescription
patternstringGlob 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.

ParameterTypeDescription
filePathA *stringFirst .riv file path (relative to root or absolute within root).
filePathB *stringSecond .riv file path (relative to root or absolute within root).