Lyrion MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lyrion MCP Serverplay some jazz in the kitchen"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Lyrion MCP Server
An MCP server that lets LLMs control a Lyrion Music Server (LMS / Squeezebox) instance.
Features
9 MCP tools (optimized for context efficiency — ~1,400 tokens of definition overhead)
Play by URL, track ID, search, collection ID, or Artist Radio
Search across local library + streaming plugins (Spotify/Spotty, Deezer, TIDAL)
Pluggable streaming-service adapters, configured via
LYRION_PLUGINSFull playback control: pause, stop, seek, power on/off
Playlist management: add, insert, delete, clear, move, jump, save
Player settings: volume, shuffle, repeat, mute
Player sync/unsync
Library browsing: genres, artists, albums, titles, years, playlists
Raw LMS CLI passthrough for advanced commands
Related MCP server: Music MCP Server
Quick Start
pip install -r requirements.txt
LMS_HOST=your-lms-host python main.pyConfiguration
Set environment variables (see .env.example):
Variable | Default | Description |
|
| Lyrion server host |
|
| Lyrion server port |
| (none) | LMS username (if auth enabled) |
| (none) | LMS password (if auth enabled) |
| off | Set |
| (all) | Comma-separated streaming plugins to enable ( |
|
|
|
|
| Bind address (HTTP transports) |
|
| Port (HTTP transports) |
Docker
docker build -t lyrion-mcp .
docker run -d -p 8000:8000 -e LMS_HOST=your-lms-host lyrion-mcpThe server runs on http://localhost:8000 using the streamable-http
transport. Point your MCP client at that URL.
Tools
Tool | Description |
| System topology (all players) or now-playing (with player_id) |
| Play by URL, track_id, search (defaults to Artist Radio), or collection ID |
| Search local library + Spotify, return playable URLs |
| Pause, stop, play, seek, power on/off |
| Add, insert, delete, clear, move, jump, save |
| Volume, shuffle, repeat, mute |
| Sync or unsync players |
| Browse genres/artists/albums/titles/years/playlists |
| Raw LMS CLI passthrough |
Development
pip install -r requirements.txt
python -m pytest -q # unit tests
python -m mypy client.py main.py plugins.py
python -m pyflakes client.py main.py plugins.py tests/Requirements
Python 3.12+
A running Lyrion Music Server (9.x)
One or more streaming plugins (all optional):
Spotty plugin (Spotify)
lms-deezer (Deezer)
TIDAL plugin (TIDAL)
This server cannot be deployed
Maintenance
Related MCP Connectors
The media memory layer for AI agents and their humans. Your AI client gets 29 tools to search your collection, add items, update ratings, preview music, and find patterns across everything you've read, watched, and listened to.
Enable Large Language Model clients to interact seamlessly with any MediaWiki wiki. Perform action…
Control your internet radio from any AI client: listeners, stream, playlists, AutoDJ, DJs, store.
Manage Superlist tasks and lists in plain language from any MCP-compatible AI agent.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with Spotify through LLMs using OAuth2 authentication. Supports music search, playback control, playlist management, and device management through natural language commands.142MIT
- AlicenseNot gradedqualityCmaintenanceEnables music library management and Chromecast playback control via LM Studio, with 21 tools for search, playback, navigation, and queue management.9 npmMIT
- AlicenseBqualityCmaintenanceMCP server that provides LLM tools to interact with Lyrion Music Server (LMS), enabling player control, playback management, playlist operations, and music library search.5524 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables an AI agent to inspect and control Lyrion Music Server (Logitech Media Server) players via the LMS JSON-RPC API, including playback, volume, playlists, favorites, radio, and library search/browse.MIT