YouTube Comments MCP Server
Provides tools for managing YouTube video comments, including reading comments, replying, moderating held comments, and getting channel info via YouTube Data API v3.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@YouTube Comments MCP Serverlist held comments and approve the safe ones"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
YouTube Yorum Cevaplama + Moderasyon — Cowork için MCP Sunucusu
Kanalına gelen video yorumlarını her sabah tarayıp cevaplayan ve incelemede bekleyen (held) yorumları modere eden bir MCP sunucusu. Tarayıcı otomasyonu yok — doğrudan YouTube Data API v3 kullanır, bu yüzden hızlı ve kararlıdır.
Önemli sınır: YouTube API'si Topluluk (Community) gönderisi yorumlarını desteklemez. Bu sistem yalnızca video yorumlarını işler; topluluk gönderisi yorumları elle (Studio'dan) cevaplanır.
Cevap politikası (zamanlanmış görevde uygulanır):
Süre/tamamlama yorumları (ör. "2 saat 9 dakika") → eğitimi sonuna kadar izleyene özel teşekkür
Etkileşim/destek yorumları (ör. "+D e s t e k+", "etkileşim") → kısa teşekkür (spam sayılmaz)
Basit teşekkür/övgü → otomatik kısa teşekkür
Soru içerenler → taslak hazırlanır, sen onaylayınca gönderilir
Siyasi/imalı yorumlar → cevaplanmaz, held ise onaylanmaz (tarafsızlık)
Dosyalar (hepsi C:\Codes\youtube_mcp klasöründe)
Dosya | Ne işe yarar |
| MCP sunucusu — 5 araç: |
| OAuth yetkilendirme scripti ( |
| Python bağımlılıkları |
| Zamanlanmış görevin prompt metni (referans) |
| (sen ekledin) Google Cloud OAuth istemci dosyası |
| (otomatik oluşur) Yetki token'ı |
Related MCP server: YouTube Comments MCP Server
Adım 1 — Google Cloud kurulumu (tek seferlik)
Google Cloud Console'da proje oluştur.
APIs & Services > Library → YouTube Data API v3'ü etkinleştir.
Yeni arayüzde Google Auth Platform:
Branding/Overview: uygulama adı ve destek e-postası.
Audience: User type External; kanal sahibi hesabı test kullanıcısı ekle.
Publishing status: In production yap ("PUBLISH APP"). Bu önemli — "Testing" modunda token her 7 günde bir geçersiz olur; production'da olmaz.
Clients / Credentials → Create OAuth client ID → tür Desktop app → JSON'u indir, adını
client_secret.jsonyap ve klasöre koy.
Adım 2 — Python bağımlılıkları
C:\Codes\youtube_mcp klasöründe komut penceresi aç (adres çubuğuna cmd yazıp Enter):
pip install -r requirements.txtAdım 3 — Yetkilendirme (token alma)
C:\Users\KMK\miniconda3\python.exe auth_setup.pyTarayıcı açılır. Sırasıyla:
Kanal sahibi Google hesabıyla giriş yap.
"Google bu uygulamayı doğrulamadı" uyarısı çıkarsa (kendi uygulaman olduğu için normaldir): sol alttaki "Gelişmiş" / "Advanced" → altta çıkan "... (güvenli değil) sayfasına git" bağlantısına tıkla.
İzin ekranında "İzin ver / Allow" de.
Komut penceresinde "✅ Başarılı. Token kaydedildi" görünce tamam.
token.json klasörde oluşur. (Uygulama production'da olduğu için token kalıcıdır.)
Adım 4 — Claude Desktop'a MCP olarak ekle
%APPDATA%\Claude\claude_desktop_config.json dosyasını Claude kapalıyken aç ve
mcpServers altına ekle:
{
"mcpServers": {
"youtube-comments": {
"command": "C:\\Users\\KMK\\miniconda3\\python.exe",
"args": ["C:\\Codes\\youtube_mcp\\youtube_comments_mcp.py"],
"env": { "YOUTUBE_MCP_DIR": "C:\\Codes\\youtube_mcp" }
}
}
}Kaydet, Claude'u tamamen kapatıp yeniden aç. (Config'i Claude açıkken düzenlersen kapanışta üzerine yazabilir — bu yüzden önce kapat.)
Adım 5 — Test et
Yeni bir sohbette: "get_channel_info aracını çağır ve kanalımın adını söyle." Kanal adın gelirse bağlantı tamam.
Adım 6 — Her sabah otomatik çalıştır
gunluk_gorev_promptu.md içeriğiyle Cowork'te zamanlanmış görev kurulur
(youtube-yorum-cevaplama, her sabah). Görev: held moderasyonu → video
yorumlarına cevap → yapısal rapor. Kenar çubuğundaki Scheduled bölümünden
görülür; bir kez Run now yaparak izinleri önden onaylaman önerilir.
Sorun giderme
invalid_grant: Token has been expired or revoked → Token düşmüş. Çözüm:
Adım 3'teki auth_setup.py'yi tekrar çalıştır (yeni token.json üretir). Tekrar
tekrar yaşanıyorsa Adım 1.3'teki Publishing status = In production ayarını yap.
Araçlar Claude'da görünmüyor → Config'i Claude kapalıyken düzenle, sonra aç. Developer/Connectors yerine yeni araçlar sohbette araç çağrısıyla test edilir.
"Yeni cevapsız yorum yok" ama Studio'da yorum görüyorum → O yorumlar büyük ihtimalle Topluluk gönderilerinde (API erişemez) ya da senin kendi yorumların/siyasi yorumlar (kurallar gereği atlanır).
Kota, kapsam ve güvenlik
Günlük ücretsiz kota 10.000 birim; yorum okuma ~1, cevap yazma ~50 birim. Fazlasıyla yeter.
Sunucu yalnızca yorum okuma, cevap yazma ve moderasyon (onayla/held) yapar.
rejected/yazar engelleme yalnızca senin açık talimatınla yapılır; video yükleme/silme yetkisi yoktur.client_secret.jsonvetoken.jsondosyalarını kimseyle paylaşma — kanalına yazma erişimi verirler.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables interaction with YouTube through the YouTube Data API, allowing users to search for videos, playlists, and channels, generate video titles using AI, and manage YouTube content through natural language commands.22
- FlicenseAqualityDmaintenanceEnables fetching and analyzing YouTube video comments and replies through the YouTube Data API. Supports sorting by relevance or time and returns structured JSON data for comment analysis, summarization, and translation tasks.1
- Alicense-qualityCmaintenanceEnables AI assistants to search videos, read channels, browse playlists, fetch comments, and get transcripts from YouTube using the YouTube Data API v3 and InnerTube API for captions.2GPL 3.0
- AlicenseBqualityCmaintenanceProvides comprehensive access to YouTube Data, Analytics, and Reporting APIs, enabling AI assistants to manage videos, analyze performance, handle comments, and extract transcripts.40MIT
Related MCP Connectors
Manage Gmail end-to-end: search, read, send, draft, label, and organize threads. Automate workflow…
Provide token-optimized, structured YouTube data to enhance your LLM applications. Access efficien…
YouTube MCP — wraps the YouTube Data API v3 (BYO API key)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kmkarakaya/youtube_reviews_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server