Price Per TokenPrice Per Token
rendi-ffmpeg-mcp-server

rendi-ffmpeg-mcp-server

by ctaylor86

GitHub 1Remote
0

About

Rendi is a cloud-based FFmpeg processing service that enables video and audio conversions, editing, and workflows without local installation. It provides cloud infrastructure for running FFmpeg commands through the Rendi API. Key features of Rendi: - Execute single FFmpeg commands for video/audio conversions, resizing, and format changes - Chain multiple sequential commands for complex workflows (e.g., convert → extract thumbnail → apply watermark) - Poll commands to check processing status, execution metrics, and retrieve output metadata - Direct download URLs for processed files with codec, resolution, duration, and bitrate details - Delete output files to manage cloud storage space

README

Rendi MCP Server

A Model Context Protocol (MCP) server that provides cloud-based FFmpeg processing capabilities through the Rendi API. This server enables AI assistants to run FFmpeg commands in the cloud without local installation or infrastructure.

Features

This MCP server provides four powerful tools for cloud-based video and audio processing:

🎬 Run FFmpeg Command

Execute a single FFmpeg command in the cloud with automatic file handling and processing. Perfect for simple video conversions, resizing, format changes, and basic editing tasks.

⛓️ Run Chained FFmpeg Commands

Submit multiple sequential FFmpeg commands where outputs from earlier commands can be used as inputs in later ones. This is ideal for complex workflows like:
  • Convert video → Extract thumbnail → Apply watermark
  • Trim video → Resize → Extract audio → Convert to MP3
  • Chained commands are more efficient than running commands separately as they share system resources.

    📊 Poll FFmpeg Command

    Check the status of submitted commands and retrieve results including:
  • Processing status (queued, processing, success, failed)
  • Execution time and performance metrics
  • Output file metadata (resolution, duration, bitrate, codec, etc.)
  • Direct download URLs for processed files
  • 🗑️ Delete Command Files

    Clean up output files from Rendi's storage when you're done with them. This helps manage storage space and keeps your workspace organized.

    What is Rendi?

    Rendi is a cloud-based FFmpeg API service that allows you to run FFmpeg commands without installing FFmpeg locally. It provides:

  • ☁️ Cloud-based processing infrastructure
  • 🚀 Scalable vCPU allocation (up to your account limit)
  • 📦 Automatic file storage and management
  • 🔒 Secure API key authentication
  • ⚡ Fast processing with configurable resources
  • Prerequisites

  • A Rendi API key (get one at rendi.dev)
  • An MCP-compatible client (Claude Desktop, Cline, etc.)
  • Installation

    Via Smithery

    The easiest way to install this server is through Smithery:

    npx @smithery/cli install rendi-mcp-server
    

    You'll be prompted to enter your Rendi API key during installation.

    Manual Installation

    1. Clone this repository:

    git clone https://github.com/ctaylor86/rendi-mcp-server.git
    cd rendi-mcp-server
    

    2. Install dependencies:

    npm install
    

    3. Build the project:

    npm run build
    

    4. Configure your MCP client to use this server with your Rendi API key.

    Configuration

    This server requires one configuration parameter:

  • rendiApiKey (required): Your Rendi API key for authentication
  • Example Configuration for Claude Desktop

    Add this to your claude_desktop_config.json:

    {
      "mcpServers": {
        "rendi": {
          "command": "node",
          "args": ["/path/to/rendi-mcp-server/dist/index.js"],
          "env": {
            "RENDI_API_KEY": "your-rendi-api-key-here"
          }
        }
      }
    }
    

    Usage Examples

    Simple Video Conversion

    Use the run_ffmpeg_command tool to convert a video to MP4:
    
  • Command: "-i {{in_1}} -c:v libx264 -c:a aac {{out_1}}"
  • Input files: {"in_1": "https://example.com/video.avi"}
  • Output files: {"out_1": "converted.mp4"}
  • Extract Thumbnail from Video

    Use the run_ffmpeg_command tool to extract a thumbnail:
    
  • Command: "-i {{in_1}} -ss 00:00:05 -vframes 1 {{out_1}}"
  • Input files: {"in_1": "https://example.com/video.mp4"}
  • Output files: {"out_1": "thumbnail.jpg"}
  • Complex Workflow with Chained Commands

    Use the run_chained_ffmpeg_commands tool for a multi-step workflow:
    1. Concatenate two videos
    2. Extract a thumbnail from the result

    Commands: [ "-i {{in_1}} -i {{in_2}} -filter_complex \"[0:v][1:v]concat=n=2:v=1:a=0[v]\" -map [v] {{out_1}}", "-i {{out_1}} -ss 00:00:10 -vframes 1 {{out_2}}" ]

    Input files: { "in_1": "https://example.com/part1.mp4", "in_2": "https://example.com/part2.mp4" }

    Output files: { "out_1": "concatenated.mp4", "out_2": "thumbnail.jpg" }

    Check Command Status

    After submitting a command, use poll_ffmpeg_command with the returned command_id to check status and get results.
    

    Clean Up Files

    When you're done with the output files, use delete_command_files with the command_id to free up storage.
    

    Important Notes

    File Naming Convention

    Rendi uses a specific aliasing system for files:

  • Input files: Must use keys starting with in_ (e.g., in_1, in_video, in_audio)
  • Output files: Must use keys starting with out_ (e.g., out_1, out_result, out_thumbnail)
  • In commands: Reference files using {{alias}} format (e.g., {{in_1}}, {{out_1}})
  • Input File Requirements

  • Input files must be publicly accessible URLs
  • Supported sources: Direct URLs, Google Drive, Dropbox, S3, Rendi storage, etc.
  • The filename should appear at the end of the URL
  • Output File Storage

  • Output files are stored i
  • Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81