Skip to content

feat(glyph): enable music-assistant - #528

Open
stackptr wants to merge 1 commit into
mainfrom
glyph/music-assistant
Open

stackptr wants to merge 1 commit into
mainfrom
glyph/music-assistant

Conversation

@stackptr

Copy link
Copy Markdown
Owner

Summary

  • Enables services.music-assistant on glyph with opensubsonic (Navidrome), airplay, musicbrainz, and coverartarchive providers
  • Moves grafana-mcp from port 8095 β†’ 8096 and obsidian-vault-mcp from port 8097 β†’ 8098 to free those ports for Music Assistant's defaults
  • Updates MCPJungle aggregator URLs to match the new MCP ports

Why the MCP ports moved

Music Assistant's web UI defaults to 8095 and its audio stream port to 8097 (derived as web_port + 2). Both of these collided with existing localhost MCP services:

  • grafana-mcp was on 8095
  • obsidian-vault-mcp was on 8097

The nixpkgs services.music-assistant module has no port option β€” the only escape hatch is passing --port via extraOptions. However, the module's openFirewall implementation hardcodes 8097 unconditionally regardless of what --port is passed, so changing MA's port would mean openFirewall = true opens the wrong port and misses the actual stream port. That would require openFirewall = false plus manual firewall rules, adding complexity for no real benefit.

Moving the two MCP services by one port each (8095β†’8096, 8097β†’8098) is the cleaner fix: MA runs on its standard ports, openFirewall = true works correctly, and the MCP services remain localhost-only so nothing external is affected.

Test plan

  • Deploy to glyph: nh os switch .#glyph
  • Music Assistant web UI reachable at http://glyph:8095
  • Configure Navidrome as an OpenSubsonic source in the MA UI (URL: http://localhost:4533)
  • Verify grafana-mcp still reachable by MCPJungle: curl http://localhost:8096/mcp
  • Verify obsidian-vault-mcp still reachable: curl http://localhost:8098/mcp
  • Verify Open WebUI MCP tools still work end-to-end

πŸ€– Generated with Claude Code

Adds music-assistant with opensubsonic (Navidrome), airplay, musicbrainz,
and coverartarchive providers. Moves grafana-mcp to port 8096 and
obsidian-vault-mcp to 8098 to free 8095/8097 for music-assistant defaults.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Entire-Checkpoint: c4d63236242a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant