Spotify Playlist Generator MCP Server

MCP server for Spotify music search and playlist management

Local serverstdioTypeScript

What is the Spotify Playlist Generator MCP server?

MCP server for Spotify music search and playlist management. Exposed over MCP by the spotify playlist generator mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.

What it actually does

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

  • 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)

Its toolset

Everything the assistant can do here goes through one of these:

  • Permissions — OAuth scope determines available operations
  • Prerequisites — The Prerequisites tool exposed by this server
  • Installation — 1. Clone this repository: bash git clone https://github.com/danisss9/spotify-playlist-generator-mcp-server
  • authenticate_spotify — Authenticate with Spotify OAuth to enable music search and playlist management features
  • get_auth_status — The get_auth_status tool exposed by this server
  • search_tracks — The search_tracks tool exposed by this server
  • get_track_details — The get_track_details tool exposed by this server
  • create_playlist — The create_playlist tool exposed by this server
  • edit_playlist — Edit existing playlist information (requires authentication)
  • add_to_playlist — The add_to_playlist tool exposed by this server
  • list_playlists — The list_playlists tool exposed by this server
  • get_playlist_tracks — Get tracks from a Spotify playlist (requires authentication)

Configuration

You will need 2 environment variables: SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

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

Adding it to your client

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

When to reach for it

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Spotify Playlist Generator's toolset — Permissions, Prerequisites, Installation and 11 more — is a fair guide to whether it matches your workflow. It is maintained by danisss9; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Spotify Playlist Generator's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 14 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Spotify Playlist Generator.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the spotify playlist generator mcp server does with a few real requests.

Available tools

ToolWhat it does
PermissionsOAuth scope determines available operations
PrerequisitesThe Prerequisites tool exposed by this server.
Installation1. Clone this repository: bash git clone https://github.com/danisss9/spotify-playlist-generator-mcp-server
authenticate_spotifyAuthenticate with Spotify OAuth to enable music search and playlist management features.
get_auth_statusThe get_auth_status tool exposed by this server.
search_tracksThe search_tracks tool exposed by this server.
get_track_detailsThe get_track_details tool exposed by this server.
create_playlistThe create_playlist tool exposed by this server.
edit_playlistEdit existing playlist information (requires authentication).
add_to_playlistThe add_to_playlist tool exposed by this server.
list_playlistsThe list_playlists tool exposed by this server.
get_playlist_tracksGet tracks from a Spotify playlist (requires authentication).
remove_from_playlistRemove tracks from a Spotify playlist (requires authentication).
BuildingThe Building tool exposed by this server.

Configuration

  • Node.js 18 or higher - A Spotify Developer Account - Spotify App credentials (Client ID and Client Secret)
VariableDescriptionRequired
SPOTIFY_CLIENT_IDConfiguration value read at startup.Optional
SPOTIFY_CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • Use Spotify Playlist Generator to Permissions.
  • Use Spotify Playlist Generator to Prerequisites.
  • Use Spotify Playlist Generator to Installation.

Frequently asked questions

It connects Spotify Playlist Generator to MCP-compatible AI assistants such as Claude and Cursor, exposing 14 tools (Permissions, Prerequisites, Installation, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Spotify Playlist Generator directly.