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_playlistC

Play a Spotify playlist by name

play_albumC

Play a Spotify album by name and optional artist

play_trackC

Play a specific track by name and optional artist

play_random_songC

Play a random song from Spotify

search_musicC

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

control_playbackA

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

get_current_playingB

Get information about the currently playing track

set_sleep_timerB

Set a sleep timer to automatically pause playback after specified minutes

cancel_sleep_timerC

Cancel an active sleep timer

get_active_timersB

Get list of active sleep timers

get_devicesA

Get list of available Spotify devices and the current default device

set_default_deviceB

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