Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LMS_URLYesBase URL of the Lyrion Music Server, e.g. http://192.168.1.10:9000
LMS_PASSWORDNoHTTP basic auth password, only if password protection is enabled
LMS_USERNAMENoHTTP basic auth username, only if password protection is enabled
MCP_HTTP_PORTNoPort for the HTTP transport3000
MCP_TRANSPORTNoTransport mode for the MCP serverstdio
MCP_AUTH_TOKENNoBearer token required for the HTTP endpoint
LMS_DEFAULT_PLAYERNoMAC address or exact name of the player to target by default

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_playersA

List all Squeezebox / squeezelite players known to the server and their state.

now_playingA

Show the current track, playback mode, volume and queue position for a player.

playback_controlB

Control transport: play, pause, toggle, stop, next or previous track.

set_volumeA

Set absolute volume (0-100) or a relative change like +5 / -10.

seekA

Seek to a position (seconds from start) in the current track.

set_powerB

Turn a player on or off.

search_libraryA

Search the music library. Returns matching artists, albums and tracks with the ids used by play_music.

play_musicA

Load or queue music by library id (from search_library) or by direct URL. mode 'load' replaces the queue and plays, 'add' appends, 'insert' plays next.

show_queueB

List the current play queue (playlist) for a player.

queue_editC

Clear the queue, remove a track by index, move a track, or jump to an index.

set_repeat_shuffleB

Set repeat (off/one/all) and/or shuffle (off/songs/albums) for a player.

raw_commandB

Escape hatch: run an arbitrary LMS CLI command. See http://:9000/html/docs/cli-api.html. Example command: ["mixer","muting","1"].

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/eggs-gd/lms-mcp'

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