lms-mcp-server
Click on "Install 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., "@lms-mcp-serverplay the latest Radiohead album in the office"
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.
lms-mcp-server
MCP server for Lyrion Music Server (LMS). Lets Claude query the music library ("what John Coltrane albums do I have?", "which albums did I add this month?") and control players ("play the latest Mali Sheard album in the office").
Runs as a streamable HTTP MCP server. Also records play history by polling player status, since LMS does not store last-played dates - "what have I played this week?" works from the day the server starts. Play counts are whole-album listening sessions (not tracks heard), and each play records the release year and the date the album was added to the library, so "this year's releases, ordered by how much I've played them" is answerable from history alone.
This is an opinionated server, and the opinion is that music comes in albums:
The album is the default unit. "Play Vamala by Champs" plays the whole album. Single tracks are for when you ask for one explicitly ("play the song Vamala") - the tool descriptions steer the model the same way.
Artists mean album artists. "Albums by John Coltrane" returns the albums he made, not every tribute album he has a guest solo on. Artist queries use LMS's
ALBUMARTISTrole, matching the "Album Artists" browse view.Local files beat streaming copies. If an album (or track) exists both as local files and as a synced online-library copy (e.g. Qobuz favourites), only the local version is surfaced. Online-only albums still appear.
Code and docs are 100% Claude
Tools
Tool | |
| Players/rooms with power and playing state |
| Albums by free text and/or album artist; sort by newest or random |
| Individual tracks, for explicit single-song requests |
| Albums added in the last N days, with added dates |
| Albums played in the last N days, from the server's own history |
| Play or queue a whole album on a player (fuzzy-matched name) |
| Play or queue one track |
| Pause, resume, stop, volume |
Configuration
Env var | Default | |
| required | LMS base URL (no auth), e.g. |
|
| HTTP listen port |
|
| Play-history store |
|
| Player status poll interval |
Malformed values fail at startup rather than silently misbehaving.
Run locally
npm install
npm test # unit + transport integration tests (vitest)
npm run bdd # BDD scenarios (cucumber) - full stack against a stub LMS, no real server needed
LMS_URL=http://<lms-host>:9000 npm run smoke # read-only checks against the real LMS
LMS_URL=http://<lms-host>:9000 npm run dev
claude mcp add --transport http lms http://localhost:3000/mcpThe BDD suite in features/ is the end-to-end check: real MCP client, real HTTP transport, real play recorder, against the stateful stub in test/stub/lms-stub.ts. Nothing there touches the real server, so playback scenarios are safe to run any time. npm run smoke is the only thing that talks to the real LMS, and it never sends playback commands.
Docker
docker compose up --buildCI (GitHub Actions) runs the test suites and pushes ghcr.io/sixeyed/lms-mcp-server with latest and sha-* tags on every push to main. No registry secrets needed - it authenticates with the workflow's GITHUB_TOKEN.
Deployment
Notes for running on Kubernetes (or any orchestrator):
Image:
ghcr.io/sixeyed/lms-mcp-server(public package).LMS_URLmust be set - the server refuses to start without it.Single replica (
strategy: Recreate) - the play-history poller must not run twice or plays are double-recorded.RWO persistent volume mounted at
/datafor the history file.Probes: liveness
GET /healthz, readinessGET /readyz.
Clients
Claude Code (LAN):
claude mcp add --transport http lms http://<host>:3000/mcp; if you serve it over HTTPS with a private CA, setNODE_EXTRA_CA_CERTS.Claude Desktop: custom connectors are proxied through Anthropic's cloud so a LAN-only server is unreachable - use a local stdio bridge in
claude_desktop_config.json:{ "mcpServers": { "lms": { "command": "npx", "args": ["mcp-remote", "http://<host>:3000/mcp", "--allow-http"] } } }Claude iPhone app: not supported - would need public HTTPS exposure, and this server has no auth.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Search MusicBrainz artists, releases, works, labels; resolve ISRC/ISWC/barcode; fetch cover art.
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
LLM chat, text summarization and AI image generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sixeyed/lms-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server