Rive VS Code MCP
v1.2.12Read-only access to Rive files: list, inspect, compare, and export artboard metadata.
Open .riv files in a rich custom editor—play timelines, poke state-machine inputs, align artboards over reference images—while a bundled MCP server gives Cursor, Copilot, Claude, and other clients accurate artboard metadata from your repo. All tools are read-only, path-scoped to RIVE_MCP_ROOT, and return compact text plus full structuredContent JSON. Animation timing details are omitted by default; request includeAnimationDetails: true when needed. 1. Install Rive VS Code MCP from the Marketplace (or Open VSX). 2. Open a .riv file and choose Rive VS Code MCP as the editor when prompted.
Summary extracted from the README.
Rive VS Code MCP
Preview Rive in the editor. Feed structure to your AI.
Open .riv files in a rich custom editor—play timelines, poke state-machine inputs, align artboards over reference images—while a bundled MCP server gives Cursor, Copilot, Claude, and other clients accurate artboard metadata from your repo.

What you get
In the preview
- Artboard picker, timeline animations, and state machines with live inputs
- Play, pause, scrub, fit, zoom, and background controls
- PNG screenshot export
- Optional alignment over a background image; copy placement as
x,y, and scale - MCP path / MCP context buttons to copy
filePathand tool arguments for chat
From MCP (extension or rive-vscode-mcp-server)
| Tool | What it does |
|---|---|
list_rive_files |
Find .riv files under the project root (optional glob) |
inspect_rive_file |
Artboards, animations, state machines, and inputs |
export_rive_artboard |
Full JSON for one named artboard |
compare_rive_files |
Diff artboards, animations, and state machines between two files |
All tools are read-only, path-scoped to RIVE_MCP_ROOT, and return compact text plus full structuredContent JSON. Animation timing details are omitted by default; request includeAnimationDetails: true when needed.
Use the preview
- Install Rive VS Code MCP from the Marketplace (or Open VSX).
- Open a
.rivfile and choose Rive VS Code MCP as the editor when prompted. - Use the sidebar for artboards, animations, and inputs; use the toolbar for playback and screenshots.
Feedback
Use GitHub issue in the preview to report a problem or suggest an improvement. The preview also has a five-star selector that opens the VS Code Marketplace review page after a rating is selected. You'll need to submit the rating on that page; the extension doesn't collect or send your selection. After a Rive preview loads successfully, the extension may also offer a rating reminder, shown at most once every 30 days.
MCP in VS Code
VS Code 1.101+ loads Rive MCP from this extension automatically (MCP: List Servers). Set rive-vscode-mcp.mcpRoot to workspace (default) or home in Settings to control RIVE_MCP_ROOT for the built-in provider.
Preview-only Command Palette actions: Copy MCP Inspect Path and Copy MCP Context from Preview.
Cursor, Claude, and other editors
Install via npx or the MCP Registry (rive-vscode-mcp-server on npm). Interactive setup:
npx -y rive-vscode-mcp-server
Includes Claude Code, Claude Desktop, Cursor, Google Antigravity, Codex / ChatGPT desktop, and VS Code global MCP. Non-interactive:
npx -y rive-vscode-mcp-server setup --cursor
npx -y rive-vscode-mcp-server setup --claude-code --claude-desktop --antigravity --codex
RIVE_MCP_ROOT=/path/to/project npx -y rive-vscode-mcp-server setup --claude-code
npx -y rive-vscode-mcp-server list
npx -y rive-vscode-mcp-server uninstall --cursor
Set RIVE_MCP_ROOT to the directory that contains your .riv files. Restart Claude, Cursor, or other clients after setup.
Requirements
- Visual Studio Code 1.101 or later for the extension and built-in MCP provider
- Node.js 18+ for the standalone server (
npx) and external MCP clients
Development
npm install
npm run compile
"/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" --new-window --extensionDevelopmentPath="$PWD" "/absolute/path/to/sample.riv"
npm test runs unit and MCP integration tests (fixture .riv files are test-only and not packaged).
Standalone npm package
rive-vscode-mcp-server is the same server the extension bundles. See mcp-server/README.md for tool parameters and setup details.