Quick Start

srtep 1.docker run music server

web ui:http://192.168.2.125:8095

 

step 2.add music server integration in home assistant

 

step 3.authenticated requests

You're about to give http://192.168.2.125:8095 access to your Home Assistant instance.

Long-lived access tokens on ha

Music Assistant QKfChj

 

add sidebar on ha

You need to add a web page access because it is like accessing to another webpage IPofyourserver:8095.

Settings>Dashboard>Add>webpage input ip:8095 it will appear on sidebar.

 

 

 

http://192.168.2.125:8095

 

add player  to music server from ha

Installation Instructions

1. Running the server - docker run

Music Assistant can be operated as a complete standalone produc.

docker run -d --name musicserver  --restart=unless-stopped -v /datadocker/music-assistant:/data --network host --cap-add=DAC_READ_SEARCH --cap-add=SYS_ADMIN --security-opt apparmor:unconfined ghcr.io/music-assistant/server:2.7

output

docker logs -f musicserver
2026-02-23 11:41:08.220 INFO (MainThread) [music_assistant] Starting Music Assistant Server (ef96cccc1e7c4b86b02b979e56891a35) version 2.7.3 - HA add-on: False - Safe mode: False
2026-02-23 11:41:08.229 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2026-02-23 11:41:08.256 INFO (MainThread) [ffmpeg] Detected ffmpeg version 7.1.2 with libsoxr support
2026-02-23 11:41:08.256 WARNING (MainThread) [music_assistant.streams] 

################################################################################
Starting streamserver on  192.168.2.125:8097
This is the IP address that is communicated to players.
If this is incorrect, audio will not play!
See the documentation how to configure the publish IP for the Streamserver
in Settings --> Core modules --> Streamserver
################################################################################

2026-02-23 11:41:08.325 INFO (MainThread) [music_assistant.auth] Authentication manager initialized (providers=1)
2026-02-23 11:41:08.328 WARNING (MainThread) [music_assistant.webserver] 

################################################################################
###                           SETUP REQUIRED                                 ###
################################################################################

Music Assistant is running in setup mode.
Please complete the setup by visiting:

    http://192.168.2.125:8095/setup

################################################################################

2026-02-23 11:41:10.044 INFO (MainThread) [music_assistant] Loaded metadata provider The Audio DB
2026-02-23 11:41:10.046 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv
2026-02-23 11:41:10.046 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant
2026-02-23 11:41:10.048 INFO (MainThread) [music_assistant] Loaded metadata provider LRCLIB
2026-02-23 11:41:10.050 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz
2026-02-23 11:41:10.063 INFO (MainThread) [music_assistant] Loaded player provider Sendspin
2026-02-23 11:41:10.063 INFO (MainThread) [aiosendspin.server.server] Starting Sendspin server on port 8927
2026-02-23 11:41:10.069 INFO (MainThread) [aiosendspin.server.server] Sendspin server started successfully on 0.0.0.0:8927

 

 

2. create username and password on MA

http://192.168.2.125:8095/setup

 

3. Add Music Assistant Integration on ha

Settings → Devices & Services → Add Integration

Music Assistant

http://music-assistant:8095

 

3. authenticated requests to ha

Long-Lived Access Token:  MA needs a Long-Lived Access Token. 

/datadocker/music-assistant/settings.json

 "hass": {
      "values": {
        "url": "http://192.168.2.125:8123",
        "token": "_encrypted_gAAAAABpnD-iFA8bG9HvJSsijujeeWOtBMxX_h-Fc5jRlnZHOG"
      },

 

4. Add player on home assistant to MA

/datadocker/music-assistant/settings.json

    "hass_players": {
      "values": {
        "players": [
          "media_player.esp32_s3_box_3_2d954c"
        ]
      },

 

 

 

changelog

20261202

docker run ghcr.io/music-assistant/server:2.10.14

################################################################################
Started streamserver on 192.168.2.125:8097
This is the IP address that is communicated to players.
If this is incorrect, audio will not play!
See the documentation for how to configure the publish IP for the Streamserver
in Settings --> System --> Streams
################################################################################

2026-12-01 19:17:32.531 INFO (MainThread) [music_assistant.auth] Authentication manager initialized (providers=1)
2026-12-01 19:17:32.533 INFO (MainThread) [music_assistant.webserver] 
################################################################################

Webserver available on: http://192.168.2.125:8095

If this address is incorrect, see the documentation on how to configure
the Webserver in Settings --> System --> Webserver

################################################################################

Comments


Comments are closed