Youtube Playlist Generator Mcp Server

by danisss9

283 downloads
Not rated
GitHub

About

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.

Details

Author
danisss9
Downloads
283
Categories
Developer Tools

- Search YouTube music videos with customizable parameters
- Retrieve detailed information for specific videos
- List videos from public YouTube playlists
- Full playlist management (create, edit, add/remove videos)
- OAuth 2.0 authentication for write operations
- Works with Claude Desktop and VS Code/GitHub Copilot

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Youtube Playlist Generator Mcp Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install Node.js 18+, clone the repo, run npm install, obtain a YouTube Data API key (and optional OAuth credentials), set environment variables (YOUTUBE_API_KEY, YOUTUBE_CLIENT_ID, YOUTUBE_CLIENT_SECRET), build with npm run build, then configure the server in your MCP client’s settings using the node command with the built index.js path. Use tools like search_music_videos or create_playlist via natural language in the client.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "youtube playlist generator mcp server": {
            "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"
                }
            }
        }
    }
}

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"
        }
    }
}

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

1. Clone this repository:

git clone https://github.com/danisss9/yt-playlist-generator-mcp-server

2. Install dependencies:

npm install

3. 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

4. Set up environment variables:
```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.