youtube-automation
v0.11.1CLI, MCP server, and AI Agent to automate YouTube workflows
Values you need
| Variable | What it is | |
|---|---|---|
YUTU_CREDENTIAL | required secret | GCP project credential for yutu, Base64 encoded JSON or path to JSON file |
YUTU_CACHE_TOKEN | required secret | YouTube authentication token, Base64 encoded JSON or path to JSON file |
YUTU_LOG_LEVEL | optional | 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 stdioAdd 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
- 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.
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: abuseReport-insert, activity-list, caption-delete, caption-download, caption-insert, caption-list, caption-update, channel-list, ….
- 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