Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the YouTube Data API in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Read YouTube data — videos, channels, playlists, search, comments — and (with OAuth) manage your own uploads. 9 tools, API key + optional OAuth Bearer.
こう聞いてみよう
YouTube Data API のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → YouTube Data API をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
YouTube Data API + Gemini
Read YouTube data — videos, channels, playlists, search, comments — and (with OAuth) manage your own uploads. 9 tools, API key + optional OAuth Bearer.
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
YOUTUBE_API_KEY
ステップ 1 — 認証情報を取得
google.com/youtube/v3).
Setup:
- Create / pick a Google Cloud project at https://console.cloud.google.com.
- APIs & Services → Library → enable YouTube Data API v3.
- Credentials → Create credentials → API key. (For write operations, also do OAuth2 client + get a Bearer token with
youtube.upload/youtubescopes — out of scope here.) - Set
YOUTUBE_API_KEYto the API key.
Authentication: query-string ?key=.... Read operations don't need OAuth.
…(continued in the in-app connector instructions)
ステップ 2 — アダプターをインストール
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
ステップ 3 — Gemini にコネクタを追加
Gemini CLI は ~/.gemini/settings.json (Windows は %APPDATA%\gemini\settings.json) から MCP サーバを読み込みます。追加:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- AnythingMCP の Profile → MCP API Keys → New Key で MCP API key を取得。
- ファイルを保存し
geminiを再起動。 - Gemini CLI で
/mcpを実行 —YouTube Data APIが利用可能として表示されます。 - Vertex AI Studio: 同じ Bearer ヘッダーで
https://cloud.anythingmcp.com/mcpをリクエストのtools配列に渡してください。
利用可能なツール
| Tool | What it does |
|---|---|
youtube_search | Search videos / channels / playlists |
youtube_get_videos | Fetch video details by ID(s) |
youtube_get_videos_chart | Get videos from a chart (currently only 'mostPopular') |
youtube_get_channels | Fetch channel details by ID, handle (@username), forUsername (legacy), or 'mine' (requires OAuth) |
youtube_list_playlists | List playlists, filtered by channelId or 'mine' (OAuth) |
youtube_list_playlist_items | List items in a playlist (videos in playlist) |
youtube_list_video_comments | List top-level comments on a video |
youtube_list_categories | List video categories for a region |
youtube_get_captions | List caption tracks available for a video |
FAQ
Gemini 1.5 Pro / 2.x は MCP をサポートしますか? はい — Gemini CLI ≥ 0.4 と Vertex AI tools API は Bearer ヘッダー付きの httpUrl MCP コネクタを受け入れます。
次のステップ
このガイドは役に立ちましたか?