rive-docs-mcp
Provides access to Rive's animation documentation, runtime guides, editor features, and tutorials via the Model Context Protocol.
README
Rive Docs MCP - Rive Documentation Model Context Protocol Server
Rive Documentation MCP Server - Access Rive's animation documentation, runtime guides, editor features, and tutorials through Model Context Protocol. Search animations, state machines, runtime implementations, and editor capabilities across web, mobile, and game platforms. Get instant access to React, Flutter, Unity integration guides, and complete API references directly in Claude, Cursor, or any MCP-compatible AI assistant.
⨠Features
- š Smart Search: Intelligent search across Rive documentation for animations, runtimes, editor features, and guides
- š Complete Documentation Access: Full access to Rive's documentation for all runtime platforms
- š® Multi-Platform Support: Web, React, Flutter, iOS, Android, Unity, Unreal Engine, and more
- šØ Editor Features: Browse animation tools, constraints, state machines, bones, and timeline features
- š Runtime Guides: Comprehensive implementation guides for all supported platforms
- šÆ Tutorial Access: Find and access tutorials by topic, difficulty, or runtime platform
- š§ API References: Complete API documentation for runtime-specific implementations
- ā” High Performance: Optimized with caching and concurrent request handling
- š Feature Support Matrix: Check feature compatibility across different runtime platforms
- š Developer Friendly: Built for AI-powered development workflows
š Quick Start
Claude Desktop (Recommended)
Add this to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\\Claude\\claude_desktop_config.json
{
"mcpServers": {
"rive-docs": {
"command": "node",
"args": ["path/to/rive-docs-mcp/dist/index.js"]
}
}
}
Local Development
- Clone and build the project:
git clone <repository-url>
cd rive-docs-mcp
npm install
npm run build
- Test the server:
npm start
š¦ Installation
Claude Code
# Add as MCP server
claude mcp add rive-docs -- node path/to/rive-docs-mcp/dist/index.js
Cursor
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"rive-docs": {
"command": "node",
"args": ["path/to/rive-docs-mcp/dist/index.js"]
}
}
}
Other MCP Clients
The server works with any MCP-compatible client. Use the command:
node path/to/rive-docs-mcp/dist/index.js
š ļø Available Tools
š search_rive_docs
Search Rive documentation across all categories.
Parameters:
query(required): Search terms (e.g., "React runtime", "state machine events")category: Filter by category (all,runtimes,editor,game-runtimes,tutorials)runtime: Filter by specific runtime platformlimit: Max results (default: 10, max: 50)
Example:
search_rive_docs query="React animation setup" category="runtimes" limit=5
š get_rive_doc_content
Get detailed content from a specific Rive documentation page.
Parameters:
url(required): Full Rive documentation URLincludeCode: Include code examples (default: true)includeLinks: Include related links (default: false)maxLength: Max content length (default: 10000)
Example:
get_rive_doc_content url="https://rive.app/docs/runtimes/react/getting-started"
š list_runtimes
List all available Rive runtime platforms.
Parameters:
platform: Filter by platform type (all,web,mobile,game)status: Filter by status (all,stable,beta,community)includeDetails: Include detailed information (default: true)
š get_runtime_guide
Get comprehensive implementation guide for a specific runtime.
Parameters:
runtime(required): Runtime platform (web,react,flutter,unity, etc.)section: Specific section (getting-started,setup,api-reference)includeExamples: Include code examples (default: true)
šØ list_editor_features
Browse Rive editor features and capabilities.
Parameters:
category: Feature category (all,animation,constraints,state-machines)includeDetails: Include detailed descriptions (default: true)
š get_tutorials
Find tutorials by topic, difficulty, or runtime.
Parameters:
topic: Tutorial topic or search termdifficulty: Filter by difficulty (all,beginner,intermediate,advanced)runtime: Filter by runtime platformlimit: Max tutorials to return (default: 10)
ā
check_feature_support
Check feature support across runtime platforms.
Parameters:
feature(required): Feature to check (e.g., "state machines", "bones")runtime: Specific runtime to check (optional)
š get_api_reference
Get API reference for a specific runtime.
Parameters:
runtime(required): Runtime platformclassName: Specific class/component name (optional)includeExamples: Include usage examples (default: true)
š” Usage Examples
Search for React Integration
search_rive_docs query="React component setup" category="runtimes" runtime="react"
Get Flutter Getting Started Guide
get_runtime_guide runtime="flutter" section="getting-started"
Find State Machine Tutorials
get_tutorials topic="state machine" difficulty="beginner"
Check Unity Feature Support
check_feature_support feature="timeline events" runtime="unity"
Browse Animation Features
list_editor_features category="animation"
šÆ Supported Runtimes
App Runtimes
- Web (JavaScript) - Browser-based animations
- React - React component integration
- React Native - Mobile React applications
- Flutter - Cross-platform mobile apps
- iOS - Native iOS applications (Swift)
- Android - Native Android applications (Kotlin/Java)
Game Runtimes
- Unity - Unity game engine (C#)
- Unreal Engine - Unreal Engine (C++)
- Defold - Defold game engine (Lua)
Community Runtimes
- C# - .NET applications
- Qt/QtQuick - Qt applications
š§ Development
Build Commands
# Install dependencies
npm install
# Build TypeScript
npm run build
# Development mode (watch)
npm run dev
# Run tests
npm test
# Lint code
npm run lint
# Clean build
npm run clean
Project Structure
src/
āāā index.ts # Main MCP server
āāā tools/ # Tool implementations
ā āāā definitions.ts # Tool definitions
ā āāā handlers.ts # Tool handlers
ā āāā search.ts # Search functionality
ā āāā doc-fetcher.ts # Document fetching
āāā utils/ # Utilities
ā āāā constants.ts # Configuration constants
ā āāā http-client.ts # HTTP client
ā āāā cache.ts # Caching system
ā āāā logger.ts # Logging utility
ā āāā error-handler.ts # Error handling
ā āāā content-extractor.ts # Content extraction
ā āāā navigation-crawler.ts # Navigation discovery
āāā types/ # TypeScript types
āāā index.ts # Type definitions
š Performance
- Caching: TTL-based caching for documentation content, search results, and navigation
- Rate Limiting: Built-in rate limiting to respect Rive's servers
- Concurrent Requests: Limited concurrent requests for optimal performance
- Error Handling: Comprehensive error handling with retry logic
- Memory Management: Efficient memory usage with cache size limits
š¤ Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
š License
This project is licensed under the MIT License - see the LICENSE file for details.
š Acknowledgments
- Rive for creating an amazing animation platform
- Anthropic for the Model Context Protocol
- The Rive community for excellent documentation and resources
š Links
Made with ā¤ļø for the Rive animation community
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.