Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HTTP_BRIDGE_PORTNoThe port for the HTTP bridge server3001
SPOTIFY_CLIENT_IDYesYour Spotify Client ID from the Spotify Developer Dashboard
HTTP_BRIDGE_API_KEYNoOptional API key for authenticating HTTP bridge requests
SPOTIFY_REDIRECT_URINoThe redirect URI configured in your Spotify app settingshttp://localhost:3000/callback
SPOTIFY_CLIENT_SECRETYesYour Spotify Client Secret from the Spotify Developer Dashboard

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
play_playlist

Play a Spotify playlist by name

play_album

Play a Spotify album by name and optional artist

play_track

Play a specific track by name and optional artist

play_random_song

Play a random song from Spotify

search_music

Search for music (tracks, albums, artists) on Spotify

control_playback

Control Spotify playback (play, pause, skip, volume). Note: skip-next and skip-previous will only skip once per call.

get_current_playing

Get information about the currently playing track

set_sleep_timer

Set a sleep timer to automatically pause playback after specified minutes

cancel_sleep_timer

Cancel an active sleep timer

get_active_timers

Get list of active sleep timers

get_devices

Get list of available Spotify devices and the current default device

set_default_device

Set the default Spotify device ID to use for all playback operations

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/Ackberry/spotify_mcp'

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