SuperAPI AI Directory

yutu

Automate YouTube operations, also available as a CLI.

Open website

About this tool

yutu is an AI-driven toolkit for YouTube, positioned as "letting YouTube channels grow on autopilot." It provides its capabilities in three forms at once: a CLI command-line tool, an MCP server, and an AI agent, used to automate the entire YouTube workflow, from uploading and optimizing videos to managing comments, playlists, and channel branding, thereby achieving more views, higher click-through rates, and stronger audience engagement with less manual effort.

Purpose

yutu covers multiple aspects of YouTube operations, including video uploading and optimization, as well as management operations such as comments, playlists, and channel branding. The materials mention that its range of capabilities also involves videos, playlists, comments, channels, captions, subscriptions, and more. It has built-in YouTube growth strategies and SEO expertise, intended to help channel operators carry out their daily work more efficiently.

Main capabilities and forms

  1. CLI: Runs as a command-line tool and provides subcommands such as auth. By default, it reads client_secret.json and youtube.token.json from the current directory, where the --credential/-c and --cacheToken/-t flags are available only in the auth subcommand. The default paths for all subcommands can be modified through environment variables.

  2. MCP server: yutu can be configured as an MCP server to connect to the user's preferred tools. Before use, yutu must first be installed, and valid client_secret.json and youtube.token.json files must be prepared. During configuration, the YUTU_CREDENTIAL and YUTU_CACHE_TOKEN in the MCP settings must be replaced with the correct paths on the local machine.

  3. AI agent (agent mode Miffy): yutu provides an agent mode named Miffy to automate the YouTube workflow. This agent can retrieve, create, update, and delete YouTube content, and has built-in YouTube growth strategies and SEO expertise.

  4. Skill: yutu provides a unified skill that extends AI agents with YouTube domain knowledge, common workflows, and SEO best practices, covering videos, playlists, comments, channels, captions, subscriptions, and more. For the complete list of supported operations, see skills/youtube/SKILL.md.

In addition, the repository also mentions two actions for yutu: one for general purposes, and another for uploading videos to YouTube. For details, see youtube-action and youtube-uploader.

Usage

Prerequisites: A Google Cloud Platform account is required, and the following setup must be completed.

  • Create a GCP project, and under APIs & Services -> Enable APIs and services, enable these APIs: YouTube Data API v3 (required), YouTube Analytics API (optional), YouTube Reporting API (optional).

  • Create OAuth credentials: Go to APIs & Services -> OAuth consent screen, create a consent screen and set yourself as a test user; then go to Credentials -> Create Credentials -> OAuth Client ID, and select Desktop app; download the credential file and save it as client_secret.json. Its content format should be similar to: { "installed": { "client_id": "11181119.apps.googleusercontent.com", "project_id": "yutu-11181119", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_secret": "XXXXXXXXXXXXXXXX", "redirect_uris": ["http://localhost"] } }

  • Authentication: Run yutu auth --credential client_secret.json. A browser window will open for you to grant YouTube access; after granting permission, the token will be saved to youtube.token.json, and its content format should be similar to: { "access_token": "ya29.XXXXXXXXX", "token_type": "Bearer", "refresh_token": "1//XXXXXXXXXX", "expiry": "2024-05-26T18:49:56.1911165+08:00", "expires_in": 3599 }

Installation: You can download yutu directly from the releases page, or install it using your preferred method. Installing with Homebrew is recommended, or run the shell script. You can also use its associated cryptographic signature attestation to verify yutu's integrity and origin. The material mentions that if using an AI agent, you can copy and paste the corresponding prompt to complete the installation.

Configuration: By default, yutu reads client_secret.json and youtube.token.json from the current directory; the auth subcommand supports the --credential/-c and --cacheToken/-t flags. To modify the default paths in all subcommands, you can set the corresponding environment variables (the material mentions the "Global Environment Variables" section).

Use Cases

yutu is suitable for users who want to operate and grow YouTube channels through automation, especially in scenarios requiring batch processing of video uploads and optimization, comment management, playlist maintenance, channel branding setup, subtitles and subscription management, and other tasks. It is also suitable for users who want to connect YouTube operation capabilities to AI agents or the MCP ecosystem, as well as developers or operators who need to script YouTube workflows in a command-line manner.

Limitations and Missing Information

Using yutu requires a Google Cloud Platform account and completion of API enablement and OAuth configuration, so there is a certain configuration threshold. Facts such as fees, pricing, specifically supported platforms, and actual effectiveness are not yet provided in the material. The repository's FEATURES.md, CONTRIBUTING.md and other documents can provide more information, but this introduction is compiled only based on the provided material.