# yutu

yutu lets an AI agent handle YouTube tasks such as uploading and optimizing videos, managing comments and playlists, and updating channel branding.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 704
- Author: eat-pray-ai
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/eat-pray-ai/yutu
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/mcp/yutu

## What it does

yutu combines a CLI, MCP server, and AI agent for YouTube workflows. It can help upload and optimize videos, manage comments and playlists, and update channel branding. A separate skill is available for AI agents.

You’ll need a Google Cloud Platform project with the YouTube Data API v3 enabled, an OAuth Client ID for a Desktop app, and authorization via `yutu auth --credential client_secret.json`. After access is granted, the token is saved as `youtube.token.json`. Without OAuth credentials, the server can’t access YouTube. YouTube Analytics API and YouTube Reporting API can also be enabled for analytics and reports; both are optional.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `YUTU_CREDENTIAL`, `YUTU_CACHE_TOKEN`, `YUTU_LOG_LEVEL` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add --env YUTU_CREDENTIAL=<YUTU_CREDENTIAL> --env YUTU_CACHE_TOKEN=<YUTU_CACHE_TOKEN> --env YUTU_LOG_LEVEL=<YUTU_LOG_LEVEL> --transport stdio yutu -- npx -y @eat-pray-ai/yutu
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add yutu --env YUTU_CREDENTIAL=<YUTU_CREDENTIAL> --env YUTU_CACHE_TOKEN=<YUTU_CACHE_TOKEN> --env YUTU_LOG_LEVEL=<YUTU_LOG_LEVEL> -- npx -y @eat-pray-ai/yutu
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "yutu": {
            "command": "npx",
            "args": [
                "-y",
                "@eat-pray-ai/yutu"
            ],
            "env": {
                "YUTU_CREDENTIAL": "<YUTU_CREDENTIAL>",
                "YUTU_CACHE_TOKEN": "<YUTU_CACHE_TOKEN>",
                "YUTU_LOG_LEVEL": "<YUTU_LOG_LEVEL>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "yutu": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@eat-pray-ai/yutu"
            ],
            "env": {
                "YUTU_CREDENTIAL": "<YUTU_CREDENTIAL>",
                "YUTU_CACHE_TOKEN": "<YUTU_CACHE_TOKEN>",
                "YUTU_LOG_LEVEL": "<YUTU_LOG_LEVEL>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e YUTU_CREDENTIAL=<YUTU_CREDENTIAL> -e YUTU_CACHE_TOKEN=<YUTU_CACHE_TOKEN> -e YUTU_LOG_LEVEL=<YUTU_LOG_LEVEL> yutu npx -y @eat-pray-ai/yutu
```
Replace <…> with your own values

## When to use it
- upload a video to YouTube
- optimize a video's settings
- review comments on a video
- manage channel playlists
- update channel branding

## Example prompts
- Upload this video to YouTube and optimize its description.
- Review comments on the latest video and draft replies.
- Add these videos to a channel playlist.

## Similar
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89433
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [AIHawk](https://affpapa.org/en/nevibecode/mcp/aihawk.md) — MCP server · ★ 32221
- [Skyvern](https://affpapa.org/en/nevibecode/mcp/skyvern.md) — MCP server · ★ 23263
- [SeleniumBase MCP](https://affpapa.org/en/nevibecode/mcp/seleniumbase-mcp.md) — MCP server · ★ 13169
- [Inbox Zero](https://affpapa.org/en/nevibecode/mcp/inbox-zero.md) — MCP server · ★ 12791

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
