youtube-automation

v0.11.1
io.github.eat-pray-ai/yutu Checked 2 hours ago Published 15 days ago

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

Values you need

VariableWhat it is
YUTU_CREDENTIALrequired secret GCP project credential for yutu, Base64 encoded JSON or path to JSON file
YUTU_CACHE_TOKENrequired secret YouTube authentication token, Base64 encoded JSON or path to JSON file
YUTU_LOG_LEVELoptional Log level Default: INFO

npm (npx) verified

Requires Node.js 18+

Run in a terminal
claude mcp add yutu -e 'YUTU_CACHE_TOKEN=<YUTU_CACHE_TOKEN>' -e 'YUTU_CREDENTIAL=<YUTU_CREDENTIAL>' -- npx -y @eat-pray-ai/yutu@0.11.1 mcp --mode stdio
Add to claude_desktop_config.json
{
  "mcpServers": {
    "yutu": {
      "args": [
        "-y",
        "@eat-pray-ai/yutu@0.11.1",
        "mcp",
        "--mode",
        "stdio"
      ],
      "command": "npx",
      "env": {
        "YUTU_CACHE_TOKEN": "<YUTU_CACHE_TOKEN>",
        "YUTU_CREDENTIAL": "<YUTU_CREDENTIAL>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "yutu": {
      "args": [
        "-y",
        "@eat-pray-ai/yutu@0.11.1",
        "mcp",
        "--mode",
        "stdio"
      ],
      "command": "npx",
      "env": {
        "YUTU_CACHE_TOKEN": "<YUTU_CACHE_TOKEN>",
        "YUTU_CREDENTIAL": "<YUTU_CREDENTIAL>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "YUTU_CACHE_TOKEN",
      "id": "yutu-cache-token",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "YUTU_CREDENTIAL",
      "id": "yutu-credential",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "yutu": {
      "args": [
        "-y",
        "@eat-pray-ai/yutu@0.11.1",
        "mcp",
        "--mode",
        "stdio"
      ],
      "command": "npx",
      "env": {
        "YUTU_CACHE_TOKEN": "${input:yutu-cache-token}",
        "YUTU_CREDENTIAL": "${input:yutu-credential}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.yutu]
command = "npx"
args = ["-y", "@eat-pray-ai/yutu@0.11.1", "mcp", "--mode", "stdio"]
env = { "YUTU_CACHE_TOKEN" = "<YUTU_CACHE_TOKEN>", "YUTU_CREDENTIAL" = "<YUTU_CREDENTIAL>" }

For AI agents

  1. Ask the user for: YUTU_CREDENTIAL, YUTU_CACHE_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: abuseReport-insert, activity-list, caption-delete, caption-download, caption-insert, caption-list, caption-update, channel-list, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json