Server
The server is the Python core of Music Assistant, in music-assistant/server. This section gets it running on your machine and points you to the part you want to change.
What you can work on
Section titled “What you can work on”- Controllers: players, queues, the library, metadata, the webserver and more, in
music_assistant/controllers/. - Providers: in
music_assistant/providers/, see Build a provider. - The stream engine: audio from source to player, in
music_assistant/controllers/streams/. - The API: the commands and events every client uses, see Build on the API.
- Tests and tooling:
tests/, the player scenario tests and the performance benchmark.
Start here
Section titled “Start here”You need: macOS or Linux (on Windows, use WSL 2), Python 3.14 or newer, ffmpeg 8.0 or newer, and uv.
- Set up your environment: fork, clone and run
scripts/setup.sh. - Run and debug: start the server with a data folder of its own and open
http://localhost:8095. - Test your change: run
pytestandpre-commit run --all-files, and test on a real device where your change talks to one. A change to playback, a queue or a player can also go through the end-to-end test lab. - Read Code conventions before you ask for a review.
- Open a pull request against the
devbranch and fill in the template. Tick one type of change: it sets the label the release notes use. If you used AI tools, the AI policy applies.
A good first change is small and stays in one place: a fix in a provider you use, with a test under tests/ that shows it works. Your first contribution walks you through the steps.
Bot-MArley, the review bot of the maintainers, reviews a ready pull request within about an hour. A change outside a single provider also needs a maintainer, which takes longer.
Where the details live
Section titled “Where the details live”- AGENTS.md: the rule book for code style, stored data and branches. It is written for AI assistants and holds for people too.
- The
README.mdnext to the code of a controller, in the controllers folder, and of some providers. - Architecture and Inside the server: how the parts fit together.
Who to talk to
Section titled “Who to talk to”- Ask questions on Discord.
- Report bugs in the support repository. The server repository is for code and pull requests.
- Suggest a feature in Feature requests and ideas.
- Discuss a change on its pull request.
Music Assistant is a project of the Open Home Foundation.