Offers GitHub Actions for YouTube operations, including a general purpose action and a specialized action for uploading videos to YouTube.
Integrates with Google Cloud Platform for authentication and API access, requiring users to create a Project and enable YouTube-related APIs for functionality.
Provides comprehensive access to YouTube resources, allowing manipulation of videos, playlists, channels, comments, captions, memberships, and more. Supports authentication with YouTube API and enables automation of YouTube workflows.
yutu
yutu is a fully functional MCP server and CLI for YouTube to automate your YouTube workflows. It can manipulate almost all YouTube resources, like videos, playlists, channels, comments, captions, and more. 中文文档

Table of Contents
Prerequisites
Before you begin, an account on Google Cloud Platform is required to create a Project and enable these APIs for this project, in APIs & Services -> Enable APIs and services -> + ENABLE APIS AND SERVICES
After enabling the APIs, create an OAuth content screen with yourself as test user, then create an OAuth Client ID of type Web Application with http://localhost:8216 as the redirect URI.
Download this credential to your local machine with name client_secret.json, it should look like
To verify this credential, run the following command
A browser window will open asking for your permission to access your YouTube account, after granting the permission, a token will be generated and saved to youtube.token.json.
By default, yutu will read client_secret.json and youtube.token.json from the current directory, --credential/-c and --cacheToken/-t flags are available only in auth subcommand. To modify the default path in all subcommands, set these environment variables
Installation
You can download yutu from releases page directly, or use the following methods as you prefer.
GitHub Actions
There are two actions available for yutu, one is for general purpose and the other is for uploading video to YouTube. Refer to youtube-action and youtube-uploader for more information.
Docker
Gopher
Linux
macOS
Install yutu using Homebrew🍺(recommended), or run the shell script.
Windows
Verifying Installation
Verify the integrity and provenance of yutu using its associated cryptographically signed attestations.
MCP Server
As a MCP server, yutu can be used in MCP clients like Claude Desktop, VS Code or Cursor, which allows you to interact with YouTube resources in a chat-like interface.
Before using yutu as an MCP server, make sure yutu is installed(see Installation section), and you have a valid client_secret.json and youtube.token.json files(refer to Prerequisites section).
You can add yutu as a MCP server in VS Code or Cursor by clicking corresponding badge above, or add the following configuration manually to your MCP client. Remember to replace the values of YUTU_CREDENTIAL and YUTU_CACHE_TOKEN with correct paths on your local machine.
Usage
Features
Please refer to FEATURES.md for more information.
Contributing
Please refer to CONTRIBUTING.md for more information.
Star History
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A fully functional MCP server and CLI for YouTube to automate YouTube operation.
Related MCP Servers
- -security-license-qualityAn MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.Last updated -61MIT License
- -security-license-qualityAn MCP server that enables LLMs to search YouTube, retrieve video information, and access video transcripts through standardized tools.
- Asecurity-licenseAqualityA simple MCP server that allows AI assistants like Cursor or Claude Desktop to search for and play tracks on YouTube Music through natural language commands.Last updated -119
- Asecurity-licenseAqualityAn MCP server that provides AI assistants with powerful tools to interact with YouTube, including video searching, transcript extraction, comment retrieval, and more.Last updated -820