Spotify MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SPOTIFY_CLIENT_ID | Yes | Your Spotify Client ID from developer.spotify.com | |
| SPOTIFY_REDIRECT_URI | No | The redirect URI configured in your Spotify app | http://localhost:8888 |
| SPOTIFY_CLIENT_SECRET | Yes | Your Spotify Client Secret from developer.spotify.com |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| playback_controlC | Control Spotify playback. |
| search_tracksA | Search Spotify for tracks, albums, artists, or playlists. |
| add_to_queueB | Add a track to the playback queue. |
| get_queueA | Get the current playback queue. Returns: Dict with currently_playing track and queue of upcoming tracks |
| get_track_infoA | Get detailed information about one or more Spotify tracks. |
| get_artist_infoB | Get detailed information about a Spotify artist. |
| get_playlist_infoA | Get basic information about a Spotify playlist. |
| create_playlistB | Create a new Spotify playlist. |
| add_tracks_to_playlistC | Add tracks to a playlist. |
| get_user_playlistsA | Get current user's playlists with pagination support. |
| get_playlist_tracksA | Get tracks from a playlist with full pagination support. |
| remove_tracks_from_playlistC | Remove tracks from a playlist. |
| modify_playlist_detailsC | Modify playlist details. |
| get_album_infoA | Get detailed information about a Spotify album. |
| get_audio_featuresA | Get audio features for one or more tracks (tempo, key, energy, danceability, etc). |
| get_saved_tracksA | Get user's saved/liked tracks (Liked Songs library). |
| get_recommendationsA | Get track recommendations based on seed artists, tracks, or genres. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| create_mood_playlist | Create a playlist based on mood and preferences. |
| analyze_large_playlist | Analyze a large playlist efficiently using pagination. |
| discover_music_systematically | Systematically discover music using search pagination. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| current_user | Current user's profile. |
| current_playback_resource | Current playback state. |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jamiew/spotify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server