eat-pray-ai/yutu

CLI, MCP server, and AI agent to automate YouTube workflows

What it solves

Managing a YouTube channel manually is time-consuming and error-prone. yutu automates the entire workflow — uploading videos, optimizing titles and descriptions, handling comments, playlists, channel branding, and even live streams — so you can get more views and engagement with less effort. It also lets AI assistants drive these tasks directly, so you can run your channel from a chat interface.

How it works

You first set up a Google Cloud project, enable the YouTube Data API v3, and create OAuth credentials (a client_secret.json file). Then you authenticate with yutu auth, which saves a token for future use. Once set up, yutu gives you three ways to interact:

  • CLI: Run commands like yutu video, yutu comment, or yutu playlist to manage specific parts of your channel from the terminal.
  • MCP server: Start yutu as an MCP server so AI agents (like Claude, Codex, or opencode) can call its functions directly, using a command like yutu mcp setup --agents claude,codex.
  • Agent mode: Launch a built-in AI agent (Miffy) that can plan and execute YouTube tasks on its own, using providers like Google Gemini, OpenAI, or Anthropic. You provide an API key, and the agent handles actions like uploading, optimizing, and analyzing performance.

yutu also ships a “skill” that AI agents can load to get YouTube domain knowledge and best practices for SEO and growth.

Who it’s for

  • Content creators who want to automate repetitive YouTube tasks.
  • Developers building AI agents that need to manipulate YouTube data.
  • Anyone who prefers terminal-based workflows or wants to integrate YouTube management into larger automation pipelines.

Highlights

  • Three interfaces in one: CLI, MCP server, and AI agent mode.
  • Covers a wide range of YouTube operations: videos, captions, comments, playlists, live broadcasts, memberships, and more.
  • Agent mode comes with built-in growth strategy and SEO expertise.
  • Installable via many channels: Homebrew, WinGet, npm, Docker, Go install, or a shell script.
  • Uses OAuth for secure, scoped access to your YouTube account.
  • Supports multiple LLM providers (Google, OpenAI, Anthropic) and custom endpoints.

Related

  • Project
  • Project
  • Project
  • Project