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

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

search_music

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

control_playback

Control Spotify playback (play, pause, skip, volume)

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

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