A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

YouTube Playlist Generator MCP Server
A Model Context Protocol server that lets AI applications search YouTube music videos and manage playlists through the YouTube Data API v3.
WHAT IT DOES
- •Searches YouTube for music videos with configurable query, result count, and sort order.
- •Retrieves detailed information about a specific YouTube video and lists videos from public playlists.
- •Creates and edits playlists and adds or removes videos, using OAuth authentication.
- •Lists the authenticated user's own playlists and reports OAuth authentication status.
BEST FOR
- •AI chat users who want to search for music videos and assemble YouTube playlists through natural language.
- •Users needing to manage their own YouTube playlists, including adding videos and adjusting title, description, or privacy.
ABOUT YT-PLAYLIST-GENERATOR-MCP-SERVER
YouTube Playlist Generator MCP Server is cataloged as an MCP server attributed to danisss9. A Model Context Protocol server that lets AI applications search YouTube music videos and manage playlists through the YouTube Data API v3. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
HOW TO INSTALL
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
LICENSE
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力检查器
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
Tools (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Resources (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Prompts (0)
暂无可展示的已审核记录。这不表示上游不支持此能力。
Newsletter subscriptions are not open yet
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Community Reviews
Reviews for YouTube Playlist Generator MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
FREQUENTLY ASKED QUESTIONS
Does managing playlists require OAuth?
Yes, playlist management tools require OAuth authentication, while read-only tools work with an API key.
How are OAuth tokens handled?
Access tokens expire and are refreshed automatically.
上游原版 README
README.md · a798e984a7a7 · 采集于 2026-11-13 13:04:49 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
YouTube Playlist Generator MCP Server
A Model Context Protocol (MCP) server that enables AI applications to search for YouTube music videos and manage playlists using the official YouTube Data API v3.
Features
- Search Music Videos: Find music videos on YouTube with customizable search parameters
- Get Video Details: Retrieve comprehensive information about specific videos
- Get Playlist Items: List videos from public playlists
- Playlist Management: Complete playlist management including creating, editing, and managing playlists (requires OAuth setup)
Setup
Prerequisites
- Node.js 18 or higher
- A Google Cloud Project with YouTube Data API v3 enabled
- YouTube Data API key
- OAuth 2.0 Client credentials (optional, required for playlist management features)
Installation
- Clone this repository:
git clone https://github.com/danisss9/yt-playlist-generator-mcp-server
- Install dependencies:
npm install
-
Get a YouTube Data API key:
- Go to the Google Cloud Console
- Create a new project or select an existing one
- Enable the YouTube Data API v3
- Create credentials (API key)
- Copy the API key
-
Set up environment variables:
# Create a .env file
echo "YOUTUBE_API_KEY=your_api_key_here" > .env
echo "YOUTUBE_CLIENT_ID=your_client_id_here" >> .env
echo "YOUTUBE_CLIENT_SECRET=your_client_secret_here" >> .env
- Build the TypeScript code:
npm run build
Running the Server
For development with auto-rebuild:
npm run dev
For production:
npm start
Using with MCP Clients
This server uses the stdio transport, so it can be used with any MCP client that supports stdio.
Claude Desktop Configuration
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"youtube-playlist-generator": {
"command": "node",
"args": ["/absolute/path/to/yt-playlist-generator/build/index.js"],
"env": {
"YOUTUBE_API_KEY": "your_youtube_api_key_here",
"YOUTUBE_CLIENT_ID": "your_client_id_here",
"YOUTUBE_CLIENT_SECRET": "your_client_secret_here"
}
}
}
}
Visual Studio Code with GitHub Copilot Configuration
To use this MCP server with GitHub Copilot in Visual Studio Code, you need to configure it in your VS Code settings:
-
Open VS Code Settings: Press
Ctrl+,(Windows/Linux) orCmd+,(macOS) -
Search for MCP: Type "mcp" in the search bar
-
Add MCP Server Configuration: Add the following to your VS Code settings JSON:
{
"github.copilot.chat.mcp.servers": {
"youtube-playlist-generator": {
"command": "node",
"args": ["/absolute/path/to/yt-playlist-generator/build/index.js"],
"env": {
"YOUTUBE_API_KEY": "your_youtube_api_key_here",
"YOUTUBE_CLIENT_ID": "your_client_id_here",
"YOUTUBE_CLIENT_SECRET": "your_client_secret_here"
}
}
}
}
Alternative: Use Settings UI
- Go to File > Preferences > Settings (or use
Ctrl+,) - Search for "GitHub Copilot MCP"
- Click "Edit in settings.json" next to "Github › Copilot › Chat: Mcp Servers"
- Add the server configuration as shown above
Environment Variables Setup
For security, you can also set environment variables system-wide instead of in the config:
Windows (PowerShell):
[Environment]::SetEnvironmentVariable("YOUTUBE_API_KEY", "your_api_key_here", "User")
[Environment]::SetEnvironmentVariable("YOUTUBE_CLIENT_ID", "your_client_id_here", "User")
[Environment]::SetEnvironmentVariable("YOUTUBE_CLIENT_SECRET", "your_client_secret_here", "User")
Windows (Command Prompt):
setx YOUTUBE_API_KEY "your_api_key_here"
setx YOUTUBE_CLIENT_ID "your_client_id_here"
setx YOUTUBE_CLIENT_SECRET "your_client_secret_here"
macOS/Linux:
export YOUTUBE_API_KEY="your_api_key_here"
export YOUTUBE_CLIENT_ID="your_client_id_here"
export YOUTUBE_CLIENT_SECRET="your_client_secret_here"
# Add to ~/.bashrc, ~/.zshrc, or ~/.profile to persist
echo 'export YOUTUBE_API_KEY="your_api_key_here"' >> ~/.bashrc
echo 'export YOUTUBE_CLIENT_ID="your_client_id_here"' >> ~/.bashrc
echo 'export YOUTUBE_CLIENT_SECRET="your_client_secret_here"' >> ~/.bashrc
Then remove the env section from the VS Code configuration:
{
"github.copilot.chat.mcp.servers": {
"youtube-playlist-generator": {
"command": "node",
"args": ["/absolute/path/to/yt-playlist-generator/build/index.js"]
}
}
}
Usage in VS Code
Once configured, you can use the MCP server through GitHub Copilot Chat:
- Open Copilot Chat (
Ctrl+Alt+Ior click the chat icon) - Use natural language to interact with YouTube:
- "Search for music videos about jazz"
- "Create a new playlist called 'My Favorites'"
- "Add this video to my playlist"
- "Show me details about this YouTube video"
Available Tools
Read-Only Tools (API Key Authentication)
search_music_videos
Search YouTube for music videos with specified criteria.
Parameters:
query(string): Search query for music videosmaxResults(number, 1-50, default: 10): Maximum number of resultsorder(enum): Sort order - "relevance", "date", "rating", "viewCount", "title"
get_video_details
Get detailed information about a specific YouTube video.
Parameters:
videoId(string): YouTube video ID
get_playlist_items
Retrieve videos from a public YouTube playlist.
Parameters:
playlistId(string): YouTube playlist IDmaxResults(number, 1-50, default: 25): Maximum number of items
OAuth-Required Tools (Playlist Management)
authenticate_youtube
Authenticate with YouTube OAuth to enable playlist management features.
Parameters:
getAuthUrl(boolean, default: false): Set to true to get the authorization URLauthCode(string, optional): Authorization code from OAuth flow
get_auth_status
Check current OAuth authentication status.
Parameters: None
create_playlist
Create a new YouTube playlist (requires OAuth authentication).
Parameters:
title(string): Playlist titledescription(string, optional): Playlist descriptionprivacy(enum): "private", "public", or "unlisted"
edit_playlist
Edit existing playlist information (requires OAuth authentication).
Parameters:
playlistId(string): ID of the playlist to edittitle(string, optional): New title for the playlistdescription(string, optional): New description for the playlistprivacy(enum, optional): New privacy setting - "private", "public", or "unlisted"
Note: At least one field (title, description, or privacy) must be provided to update.
add_to_playlist
Add a video to an existing playlist (requires OAuth authentication).
Parameters:
playlistId(string): Target playlist IDvideoId(string): Video ID to add
list_playlists
List user's playlists (requires OAuth authentication).
Parameters:
maxResults(number, 1-50, default: 25): Maximum number of playlistsmine(boolean, default: true): List authenticated user's playlists
remove_from_playlist
Remove a video from a playlist (requires OAuth authentication).
Parameters:
playlistItemId(string): ID of the playlist item to remove (get from get_playlist_items)
OAuth Authentication Setup
For full playlist management capabilities, you need to set up OAuth 2.0:
1. Google Cloud Console Setup
- Go to Google Cloud Console
- Create a new project or select existing one
- Enable the YouTube Data API v3
- Go to "Credentials" → "Create Credentials" → "OAuth 2.0 Client ID"
- Choose "Desktop Application" as application type
- Download the credentials or copy the Client ID and Client Secret
2. Environment Configuration
Add your OAuth credentials to the .env file:
YOUTUBE_API_KEY=your_api_key_here
YOUTUBE_CLIENT_ID=your_client_id_here
YOUTUBE_CLIENT_SECRET=your_client_secret_here
3. Authentication Flow
- Use the
authenticate_youtubetool withgetAuthUrl: true - Open the provided URL in your browser
- Sign in to your Google account and grant permissions
- Copy the authorization code
- Use
authenticate_youtubetool again with theauthCodeparameter
4. Using Authenticated Features
Once authenticated, you can:
- Create new playlists
- Edit existing playlist information (title, description, privacy)
- Add videos to your playlists
- List your private playlists
- Remove videos from playlists
API Limitations
- Quota Limits: YouTube API has daily quota limits (10,000 units/day by default)
- Rate Limiting: API calls are subject to rate limiting
- OAuth Tokens: Access tokens expire and need refresh (handled automatically)
- Permissions: OAuth scope determines available operations
Development
Building
npm run build
Development Mode
npm run dev
Project Structure
src/
└── index.ts # Main server implementation
build/ # Compiled JavaScript output
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
License
MIT License - see LICENSE file for details
Troubleshooting
Common Issues
-
"YOUTUBE_API_KEY environment variable is required"
- Make sure you've set the YOUTUBE_API_KEY environment variable
- Verify the API key is valid and has YouTube Data API access
-
"Quota exceeded" errors
- You've hit the daily API quota limit
- Wait for quota reset or request quota increase
-
"Playlist not found" errors
- Ensure the playlist ID is correct
- Verify the playlist is public (private playlists require OAuth)
-
Build errors
- Make sure you have Node.js 18+ installed
- Run
npm installto ensure all dependencies are installed - Check TypeScript compilation with
npm run build
Security Considerations
- Never commit API keys to version control
- Use environment variables for sensitive configuration
- Validate all user inputs
- Implement proper error handling and logging
This project was created using GitHub Copilot
Install configuration
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for YouTube Playlist Generator MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/yt-playlist-generator-mcp-server)REPOSITORY STATS
Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
下载与拉取统计
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Related media design MCP Servers
Alternative and complementary servers in the same category

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.
