rive-docs-mcp

rive-docs-mcp

Provides access to Rive's animation documentation, runtime guides, editor features, and tutorials via the Model Context Protocol.

Category
Visit Server

README

Rive Docs MCP - Rive Documentation Model Context Protocol Server

License: MIT

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

  1. Clone and build the project:
git clone <repository-url>
cd rive-docs-mcp
npm install
npm run build
  1. 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 platform
  • limit: 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 URL
  • includeCode: 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 term
  • difficulty: Filter by difficulty (all, beginner, intermediate, advanced)
  • runtime: Filter by runtime platform
  • limit: 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 platform
  • className: 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

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured