MCP Spotify Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPOTIFY_CLIENT_IDYesYour Spotify API Client ID
SPOTIFY_CLIENT_SECRETYesYour Spotify API Client Secret

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
get_access_token

Get a valid Spotify access token for API requests

search

Search for tracks, albums, artists, or playlists

get_artist

Get Spotify catalog information for an artist

get_multiple_artists

Get Spotify catalog information for multiple artists

get_artist_top_tracks

Get Spotify catalog information about an artist's top tracks

get_artist_related_artists

Get Spotify catalog information about artists similar to a given artist

get_artist_albums

Get Spotify catalog information about an artist's albums

get_album

Get Spotify catalog information for an album

get_album_tracks

Get Spotify catalog information for an album's tracks

get_multiple_albums

Get Spotify catalog information for multiple albums

get_track

Get Spotify catalog information for a track

get_available_genres

Get a list of available genre seeds for recommendations

get_new_releases

Get a list of new album releases featured in Spotify

get_recommendations

Get track recommendations based on seed tracks, artists, or genres

get_audiobook

Get Spotify catalog information for an audiobook

get_multiple_audiobooks

Get Spotify catalog information for multiple audiobooks

get_audiobook_chapters

Get Spotify catalog information about an audiobook's chapters

get_playlist

Get a playlist owned by a Spotify user

get_playlist_tracks

Get full details of the tracks of a playlist

get_playlist_items

Get full details of the items of a playlist

modify_playlist

Change a playlist's name and public/private state

add_tracks_to_playlist

Add one or more tracks to a playlist

remove_tracks_from_playlist

Remove one or more tracks from a playlist

get_current_user_playlists

Get a list of the playlists owned or followed by the current Spotify user