Install
$ agentstack add mcp-virat-mankali-youtube-mcp ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
youtube-mcp
YouTube CLI and MCP tool for humans and AI agents. Upload videos, manage comments, search, view analytics, and more — from your terminal or via any MCP-compatible AI agent.
The CLI command is just yt — short and sweet.
Install
brew install virat-mankali/tap/youtube-mcp
Setup
- Go to console.cloud.google.com
- Create a project and enable YouTube Data API v3
- Create an OAuth 2.0 Client ID (Desktop App type)
- Copy your Client ID and Client Secret, then run:
yt auth login --client-id YOUR_ID --client-secret YOUR_SECRET
CLI Usage
# Auth
yt auth login
yt auth login --manual # SSH/headless environments
yt auth logout
yt auth status
# Videos
yt videos list
yt videos get
yt videos upload ./video.mp4 --title "My Video" --privacy public
yt videos update --title "New Title"
yt videos delete --yes
# Comments
yt comments list
yt comments reply "Thanks!"
yt comments post "Great video!"
yt comments delete
# Search
yt search "typescript tutorials"
yt search "react hooks" --order viewCount --max-results 5
# Analytics
yt analytics channel
yt analytics video
# Playlists
yt playlists list
yt playlists create "My Playlist"
yt playlists add
# MCP Server
yt serve
MCP Config
Add to your MCP client config (e.g. Claude Desktop, Kiro, Cursor):
{
"mcpServers": {
"youtube": {
"command": "yt",
"args": ["serve"]
}
}
}
Or pass credentials via env vars for headless setups:
{
"mcpServers": {
"youtube": {
"command": "yt",
"args": ["serve"],
"env": {
"YOUTUBE_CLIENT_ID": "your_client_id",
"YOUTUBE_CLIENT_SECRET": "your_client_secret",
"YOUTUBE_ACCESS_TOKEN": "ya29.xxx",
"YOUTUBE_REFRESH_TOKEN": "1//xxx"
}
}
}
}
Environment Variables
| Variable | Description | |----------|-------------| | YOUTUBE_CLIENT_ID | Google OAuth2 Client ID | | YOUTUBE_CLIENT_SECRET | Google OAuth2 Client Secret | | YOUTUBE_ACCESS_TOKEN | Access token (overrides saved token) | | YOUTUBE_REFRESH_TOKEN | Refresh token (overrides saved token) |
MCP Tools
| Tool | Description | |------|-------------| | list_my_videos | List your uploaded videos | | get_video | Get video details | | upload_video | Upload a video | | update_video | Update video metadata | | delete_video | Delete a video | | list_comments | List comments on a video | | reply_to_comment | Reply to a comment | | post_comment | Post a new comment | | delete_comment | Delete a comment | | search_youtube | Search YouTube | | get_channel_stats | Get channel statistics | | get_video_stats | Get video statistics | | list_playlists | List your playlists | | create_playlist | Create a playlist | | add_to_playlist | Add a video to a playlist |
License
MIT
Source & license
This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: virat-mankali
- Source: virat-mankali/youtube-mcp
- License: MIT
- Homepage: https://virat.me
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.