The manifest
Every provider has a manifest.json next to its code. The server reads it before the provider loads, to show the provider, to install its requirements and to know what it listens for.
{ "type": "music", "domain": "my_service", "name": "My Service", "description": "Play your playlists and albums from My Service.", "codeowners": ["@your-github-handle"], "provides": ["album", "playlist", "track"], "requirements": ["my-service-client==2.1.0"], "documentation": "https://music-assistant.io/music-providers/my-service/"}Fields
Section titled “Fields”The fields are those of ProviderManifest in the models package. The first five are required.
| Field | Type | What it is for |
|---|---|---|
type |
string | music, player, metadata, plugin or audio_analysis. |
domain |
string | The unique id of the provider, such as spotify. In the server it matches the name of the folder. |
name |
string | The name users see. |
description |
string | One or two sentences users see. |
codeowners |
array of strings | The GitHub handles of the maintainers, each starting with @, at least one. |
stage |
string | alpha, beta, stable, experimental, unmaintained or deprecated. Defaults to stable. |
requirements |
array of strings | The Python packages the provider needs, in PEP 508 syntax, such as package==1.2.3. A provider in the server may also use a direct reference, such as name @ git+https://.... |
documentation |
string | The URL of the user documentation of the provider. |
support_url |
string | An https URL where you take questions and bug reports, when not the support repository of Music Assistant. |
multi_instance |
boolean | Whether the provider can run more than once, such as for two accounts. Defaults to false. |
builtin |
boolean | Whether the provider is always configured and loaded. Defaults to false. |
allow_disable |
boolean | Whether a built-in provider can be switched off. Defaults to true. |
depends_on |
string | The domain of a provider that has to load first. |
icon |
string | The name of a Material Design Icon for the provider. |
mdns_discovery |
array of strings | The Zeroconf service types the provider listens for. |
upnp_discovery |
array of strings | The SSDP search targets the provider listens for. |
self_service |
boolean | Whether a user who is not an administrator may set up an instance as a music source of their own. Defaults to true. A provider whose setup reaches into the server itself, such as a folder on its disk, keeps it true only when its setup flow checks what the user picks against what that user may use (the Local files setup flow checks every folder with mass.storage.can_hold_music_source()); otherwise set it to false. |
credits |
array of strings | Credits for the libraries or icons the provider uses, in Markdown. |
provides |
array of strings | What the provider offers in every config, for discovery only, such as the filters of the Marketplace. A music provider lists media types: artist, album, track, playlist, radio, podcast, audiobook, sound_effect. A plugin lists main features: audio_source, ai, tts, scrobble, assistant, visualizer, recommendations, fun. A player provider can list audio_source. |
menu_actions |
array of objects | Entries in the menu of a media item: see Menu actions. |
mcp_tools |
array of objects | Tools for AI assistants: see Tools for AI assistants. |
page |
object | A page of the provider in the main menu of the app: see Provider pages. |
A provider with the AUDIO_SOURCE, AI_QUERY, TTS or SCROBBLE feature in every config lists the matching value in provides. What a provider does at runtime always comes from its code.
Fields the server fills in
Section titled “Fields the server fills in”Do not put these in the manifest:
tier:corefor a provider that ships with the server,communityfor one from the community catalog.icon_images: the icons found in the folder:icon,icon_darkandicon_monochrome, each as.svgor.png, SVG first.has_setup_flow: set when the folder has asetup_flow.py.
Config entries
Section titled “Config entries”The options of a provider are not in the manifest. They are built in code by get_config_entries() and read with self.config.get_value(key). A login or other one-time input comes from the setup flow: see Setup flows.
Checks
Section titled “Checks”- In the server,
scripts/check_manifests.pyruns in pre-commit and CI. It fails on a missing required field, adomainthat differs from the folder, atier, asupport_urlthat is nothttps, aprovidesvalue that does not fit the type, and a menu action, MCP tool or page that breaks its rules. - When the server reads a manifest, it leaves out a menu action, MCP tool or page that breaks its rules, with a warning in the log, and loads the provider without it.
- A provider in the community catalog may only use requirements that are a package name with optional extras and version specifiers: no URLs, environment markers or options. Each must come as wheels for Linux amd64 and arm64. The registry lists the other limits in What a provider needs.
Music Assistant is a project of the Open Home Foundation.