yutu
Lets your AI agent manage a YouTube channel: videos, comments, playlists, captions and channel branding.
713 stars on GitHubby eat-pray-aiLicense Apache-2.0Updated 18 days ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add yutu -e YUTU_CREDENTIAL="<your value>" -e YUTU_CACHE_TOKEN="<your value>" -- npx -y @eat-pray-ai/yutu mcp --mode stdio
What to fill in
| Name | What it is | Required |
|---|---|---|
YUTU_CREDENTIAL | GCP project credential for yutu, Base64 encoded JSON or path to JSON file | Yes |
YUTU_CACHE_TOKEN | YouTube authentication token, Base64 encoded JSON or path to JSON file | Yes |
YUTU_LOG_LEVEL | Log level | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
List my latest videos and suggest better titles.
Reply to the newest comments on my last upload.
What it is
yutu is a command line tool, MCP server and AI agent for YouTube. Through the YouTube Data API it can upload and update videos, and manage comments, playlists, captions, channels and subscriptions. It also ships a skill with YouTube growth and SEO advice.
What it can do
- Manage videos, playlists and comments
- Manage captions and subscriptions
- Manage channels, banners and channel sections
- Read activities and abuse reports
- Built-in agent mode (Miffy)
When to use
- βΊWhen you want an agent to update titles and descriptions across many videos.
- βΊWhen you want help managing comments and playlists.
- βΊWhen you want to automate YouTube uploads.
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
youtube-search-api-skillHelps your agent search YouTube by keyword and pull structured data for videos, Shorts, channels or playlists from the results.youtube-fullHelps your agent get YouTube transcripts, search videos, browse channels and track new uploads, without an API key or video downloads.youtube-automationAutomates YouTube tasks like uploading videos and managing comments. Allows the agent to interact with the platform efficiently.Frequently asked questions
Is it free and open source?
It is open source under the Apache-2.0 license. YouTube API use needs your own Google Cloud setup.
What do I need from Google?
A GCP project with YouTube Data API v3 enabled and an OAuth Desktop client.
How do I log in?
Run yutu auth --credential client_secret.json and approve access in the browser. A token is saved to youtube.token.json.
Which MCP modes are there?
Stdio mode and HTTP mode (start with yutu mcp --mode http).
How is it installed?
With npm, Docker, Go, Homebrew, winget, the install script or a release download.
Can it run its own agent?
Yes. yutu agent uses Gemini or OpenAI compatible models with your API key.
If it does not work
- βΊCheck that client_secret.json and youtube.token.json exist, or set YUTU_CREDENTIAL and YUTU_CACHE_TOKEN to their full paths.
- βΊRun yutu auth again if the token has expired.
- βΊCheck that the YouTube Data API is enabled in your Google Cloud project.
5 new skills a week. 1 minute to read.