lyrion-mcp

lyrion-mcp

Enables 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.

Category
Visit Server

README

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.

Tools

  • lms_test_connection
  • lms_server_status
  • lms_players
  • lms_player_status
  • lms_play, lms_pause, lms_play_pause, lms_stop
  • lms_next, lms_previous
  • lms_set_volume, lms_set_power
  • lms_seek, lms_sleep
  • lms_set_shuffle, lms_set_repeat
  • lms_sync, lms_unsync
  • lms_playlist, lms_clear_playlist
  • lms_play_track, lms_add_track, lms_play_url
  • lms_saved_playlists, lms_play_playlist
  • lms_favorites, lms_radios
  • lms_search_tracks, lms_search_albums, lms_search_artists
  • lms_genres, lms_albums, lms_years
  • lms_music_folder, lms_album_tracks, lms_artist_albums, lms_artist_tracks
  • lms_rescan_library
  • lms_raw_readonly

Configuration

Environment variables:

Variable Default Description
LMS_HOST host.docker.internal LMS hostname/IP
LMS_PORT 9000 LMS HTTP port
LMS_PROTOCOL http LMS protocol
LMS_URL derived Full JSON-RPC endpoint override
LMS_TIMEOUT 10 JSON-RPC timeout in seconds
MCP_HOST 0.0.0.0 MCP bind host
MCP_PORT 8310 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-mcp

MCP endpoint:

http://localhost:8310/sse

Docker 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-stopped

Example 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured