Spotify Playlist Generator Mcp Server

by danisss9

286 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
286
Categories
Other, Media, Search, Knowledge Base

- Search music tracks on Spotify with customizable parameters
- Retrieve detailed information about specific tracks
- Create, edit, and delete playlists
- Add or remove tracks from playlists
- List user playlists with pagination
- OAuth 2.0 authentication flow for secure access

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 Spotify 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

Clone the repository, install dependencies, set up a Spotify App, configure environment variables (SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET), build the TypeScript code, then run the server. It uses stdio transport and can be added to Claude Desktop or VS Code Copilot as an MCP server. OAuth authentication is required for all features.

Claude Desktop / Cursor

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

{
    "mcpServers": {
        "spotify playlist generator mcp server": {
            "spotify-playlist-generator": {
                "command": "node",
                "args": [
                    "/absolute/path/to/spotify-playlist-generator/build/index.js"
                ],
                "env": {
                    "SPOTIFY_CLIENT_ID": "your_client_id_here",
                    "SPOTIFY_CLIENT_SECRET": "your_client_secret_here"
                }
            }
        }
    }
}

McpServers

{
    "spotify-playlist-generator": {
        "command": "node",
        "args": [
            "/absolute/path/to/spotify-playlist-generator/build/index.js"
        ],
        "env": {
            "SPOTIFY_CLIENT_ID": "your_client_id_here",
            "SPOTIFY_CLIENT_SECRET": "your_client_secret_here"
        }
    }
}

Spotify Playlist Generator MCP Server

A Model Context Protocol (MCP) server that enables AI applications to search for music tracks and manage playlists using the official Spotify Web API.

Features

- Search Music Tracks: Find music tracks on Spotify with customizable search parameters
- Get Track Details: Retrieve comprehensive information about specific tracks
- Get Playlist Tracks: List tracks from playlists
- Playlist Management: Complete playlist management including creating, editing, and managing playlists (requires OAuth setup)

Setup

Prerequisites

- Node.js 18 or higher
- A Spotify Developer Account
- Spotify App credentials (Client ID and Client Secret)

Installation

1. Clone this repository:

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

2. Install dependencies:

npm install

3. Create a Spotify App:
- Go to the Spotify Developer Dashboard
- Create a new app
- Note down your Client ID and Client Secret
- Add http://localhost:8888/callback to your redirect URIs

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.