Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SPOTIFY_CLIENT_IDYesYour Spotify Client ID obtained from the Spotify Developer Dashboard.
SPOTIFY_CLIENT_SECRETYesYour Spotify Client Secret obtained from the Spotify Developer Dashboard.
SPOTIFY_REFRESH_TOKENYesYour Spotify Refresh Token obtained by running the authorization script.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_music

Search for songs, artists, albums, or playlists on Spotify

get_current_track

Get the currently playing track

play_track

Play a specific track by its URI or ID

pause_playback

Pause the current playback

resume_playback

Resume the current playback

skip_to_next

Skip to the next track

skip_to_previous

Skip to the previous track

like_track

Add the current or specified track to your Liked Songs

unlike_track

Remove the current or specified track from your Liked Songs

create_playlist

Create a new playlist

add_to_playlist

Add tracks to a playlist

get_top_tracks

Get your top tracks

get_top_artists

Get your top artists

set_volume

Set playback volume

toggle_shuffle

Turn shuffle on or off

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/MadhurToshniwal/Spotify-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server