lyrion-mcp
Allows interaction with a Logitech Media Server (Lyrion Music Server) instance, providing tools for playback control, playlists, favorites, radio, and library search and browsing.
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-mcpPlay my 'Chill' playlist on the living room player."
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
MCP server for Lyrion Music Server / Logitech Media Server.
It lets an AI agent inspect and control LMS players through the LMS JSON-RPC API: players, playback, volume, playlists, favorites, radio, library search and library browsing.
Features
Server and players
Test LMS connectivity
Read server status, version, library statistics and scan progress
List players
Resolve players by LMS id, exact name, or unique name fragment
Read detailed player status and current playlist
Playback controls
Play, pause, toggle play/pause, stop
Previous / next
Set volume
Power on/off/toggle
Seek to position
Sleep timer
Shuffle and repeat modes
Sync / unsync players
Playlist and playback sources
Show current playlist
Clear current playlist
Load/play or append a library track by track id
Play a direct URL/stream
List saved LMS playlists
Play a saved playlist by playlist id
List favorites
List top-level radio providers/categories
Library browse/search
Search tracks, albums and artists
List genres, albums, years
Browse music folders
List an album's tracks
List an artist's albums or tracks
Trigger LMS library rescan
Diagnostics
Read-only raw JSON-RPC helper for safe troubleshooting commands.
Related MCP server: Music MCP Server
Tools
lms_test_connectionlms_server_statuslms_playerslms_player_statuslms_play,lms_pause,lms_play_pause,lms_stoplms_next,lms_previouslms_set_volume,lms_set_powerlms_seek,lms_sleeplms_set_shuffle,lms_set_repeatlms_sync,lms_unsynclms_playlist,lms_clear_playlistlms_play_track,lms_add_track,lms_play_urllms_saved_playlists,lms_play_playlistlms_favorites,lms_radioslms_search_tracks,lms_search_albums,lms_search_artistslms_genres,lms_albums,lms_yearslms_music_folder,lms_album_tracks,lms_artist_albums,lms_artist_trackslms_rescan_librarylms_raw_readonly
Configuration
Environment variables:
Variable | Default | Description |
|
| LMS hostname/IP |
|
| LMS HTTP port |
|
| LMS protocol |
| derived | Full JSON-RPC endpoint override |
|
| JSON-RPC timeout in seconds |
|
| MCP bind host |
|
| MCP SSE port |
Docker
docker build -t lyrion-mcp .
docker run --rm -p 8310:8310 \
-e LMS_URL=http://host.docker.internal:9000/jsonrpc.js \
lyrion-mcpMCP endpoint:
http://localhost:8310/sseDocker Compose
services:
lyrion-mcp:
image: ghcr.io/simoneb79/lyrion-mcp:latest
environment:
LMS_URL: http://host.docker.internal:9000/jsonrpc.js
ports:
- "8310:8310"
restart: unless-stoppedExample client config
{
"mcpServers": {
"lyrion-mcp": {
"url": "http://localhost:8310/sse"
}
}
}Notes
This server does not require LMS credentials by default because standard LMS JSON-RPC deployments are usually LAN-local. Put it behind your normal network controls.
Exposing playback controls to an AI agent can change what is playing on your speakers. Review agent permissions accordingly.
License
MIT
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.
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.
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI assistants to control Sonos audio devices over a local network using UPnP/SOAP protocols, supporting playback, volume, queue management, zone grouping, and music library browsing.592115MIT
- AlicenseNot gradedqualityDmaintenanceEnables music library management and Chromecast playback control via LM Studio, with 21 tools for search, playback, navigation, and queue management.8MIT
- AlicenseBqualityCmaintenanceMCP server that provides LLM tools to interact with Lyrion Music Server (LMS), enabling player control, playback management, playlist operations, and music library search.5524MIT
- AlicenseNot gradedqualityBmaintenanceEnables LLMs to control a Lyrion Music Server (LMS/Squeezebox) for playback, search, library browsing, and player management.-