This documentation covers how to set up and use Rive's documentation system, which is available at https://rive.app/docs. The system is powered by Mintlify and allows you to preview and contribute to Rive's documentation locally.
To get started with the Rive documentation system:
npm i -g mintlify
git clone https://github.com/rive-app/rive-docs
cd rive-docs
Once you have installed the dependencies, you can run the documentation server locally:
mintlify dev
This command should be run at the root of the documentation repository, where the mint.json
file is located.
After starting the development server, you can view the documentation in your web browser and see your changes in real-time as you edit the content.
If you encounter issues with the documentation system:
mintlify install
mint.json
file is located.For more information about Mintlify, visit their Local Development guide.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "rive-docs" '{"command":"npx","args":["-y","mintlify","dev"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"rive-docs": {
"command": "npx",
"args": [
"-y",
"mintlify",
"dev"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"rive-docs": {
"command": "npx",
"args": [
"-y",
"mintlify",
"dev"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect