Rive MCP Server
officialRive MCP let AI handle repetitive tasks, like creating complex View Models, State Machines with hundreds of states/layers, Layouts, Shapes, and more.
Documentation
Rive MCP Integration
export const YouTube = ({id, timestamp}) => {
const videoSrc = timestamp ? https://www.youtube.com/embed/${id}?start=${timestamp} : https://www.youtube.com/embed/${id};
return ;
};
<Note>
MCP Integration is currently only available in [Early Access](https://rive.app/downloads?utm_source=docs\&utm_medium=content).
Have feedback? Join the Early Access community to share your thoughts and help shape the feature.
You can connect the Rive Editor to AI tools through MCP (Model Context Protocol). The first set of tools are designed to let AI handle repetitive tasks, like creating complex View Models, State Machines with hundreds of states/layers, Layouts, Shapes, and more.
Supported Features
- Create and manage Rive files — add, rename, resize, arrange, and focus artboards.
- Inspect and edit the scene — query hierarchies, select objects, update properties, rename, duplicate, reorder, reparent, or delete elements.
- Build designs — create shapes, paths, layouts, component instances, component lists, and asset-based elements.
- Create animation and interaction — edit linear animations, state machines, states, transitions, conditions, keyframes, and interpolation.
- Work with data binding — create view models, properties, instances, bindings, and custom property groups.
- Edit scripts and shaders — manage Luau scripts and WGSL shaders, update source code, run diagnostics, recompile, test, search code, and read console output.
Installation
Install and open the latest version of the [Rive Early Access](https://rive.app/downloads) desktop app for Mac. Create a [Cursor](https://www.cursor.com/) account and install the app. Open Cursor and navigate to the settings panel in the top right corner.<img src="https://mintcdn.com/rive/4WyvnoR1218cyi0r/images/editor/cursor-settings-button.png?fit=max&auto=format&n=4WyvnoR1218cyi0r&q=85&s=39bb9802e31872b2317fed055e5cf24b" alt="" width="1660" height="1090" data-path="images/editor/cursor-settings-button.png" />
Open the Tools & MCPs tab and click Add Custom MCP.
<img src="https://mintcdn.com/rive/4WyvnoR1218cyi0r/images/editor/cursor-mcp-settings.png?fit=max&auto=format&n=4WyvnoR1218cyi0r&q=85&s=d82531f4741d02cdd01233d7517a5f25" alt="" width="1658" height="1080" data-path="images/editor/cursor-mcp-settings.png" />
Save the following JSON snippet to your computer as `mcp.json`.
```json theme={null}
{
"mcpServers": {
"rive": {
"url": "http://127.0.0.1:9791/mcp"
}
}
}
```
Turn the MCP connection `On`
If everything was installed correctly, you should see Rive as an available MCP server.
<img src="https://mintcdn.com/rive/4WyvnoR1218cyi0r/images/editor/cursor-mcp-connection.png?fit=max&auto=format&n=4WyvnoR1218cyi0r&q=85&s=59ca6c71d1cc1317320ab8272eae0e16" alt="" width="1660" height="1104" data-path="images/editor/cursor-mcp-connection.png" />
<Note>
For the Rive server to be available, you must have the Rive Early Access app opened.
</Note>
Additional information on setting up MCP can be found here.
What can it do?
Once Cursor is installed and everything is set up correctly, it's time to start prompting the AI.
Have a Rive File open and an Artboard created. Type your prompt into the chat UI and hit enter. The AI will take a moment to process the request.Example prompt:
```
Create a State Machine about birds with 20 states and 2 layers
```
Once the request has been processed, type **End Prompt** to allow the AI to make changes to the Rive file.