Fidelia MCP server
OfficialWith the Fidelia MCP server, you can explore your music library and control playback from an MCP-enabled AI app.
Search the library in plain words by genre, artist, album, song, composer, year/decade, or date added.
Browse genres, artists, composers, artists in a genre, recently added albums, album tracks, radio stations, playlists, and playlist tracks.
See what is currently playing, including progress, volume, shuffle, repeat, and queue position.
Play music by plain query, album, tracks, playlist, genre, artist, or radio station, with optional shuffle.
Queue music next or at the end without stopping playback.
Pause, resume, toggle play/pause, skip forward, or go back.
Set volume by percentage or step up/down.
Turn shuffle on/off and set repeat mode to off, all, or one.
Create playlists and add music to editable playlists.
Lists are paginated for large libraries; tracks are often grouped by album.
The server reads library metadata and controls Fidelia, but does not reveal file locations or change/delete your files.
Click on "Deploy 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., "@Fidelia MCP server Play some Irish traditional music"
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.
Fidelia MCP server
Play and explore the music you own in Fidelia, an audiophile music player for Mac, from Claude, Codex or any MCP app.
Ask for music the way you'd ask a friend who knows your records: "play some irish trad", "put on that album I got yesterday", "something by Planxty". Fidelia finds it in the music you own (your files, your Music library and any servers you've added) and plays it: a record in track order, a genre or an artist shuffled. When the tags say less than you mean, "Folk" where you mean Irish traditional music, your AI app reads your genres, artists and composers and uses what it knows about the music to choose.
The server is part of Fidelia itself. This repository holds what an AI app needs to reach it: a Claude Desktop extension, a Claude Code plugin, and the setup for other MCP apps.
What your AI app can and can't do
It can read your whole Fidelia library (titles, artists, albums, genres, composers, years, when you added each one, your playlists, your radio stations and what's playing), play, queue, pause and skip, set the volume, shuffle and repeat, and make playlists or add to them.
It never learns where your files are, and it can't change or delete them. What it reads goes to your AI app's service, under that app's terms.
Related MCP server: xiaozhi-local-music-mcp
What you need
Fidelia for Mac 2.13 or later, on macOS 14 or later.
Fidelia ▸ Settings ▸ Agent ▸ Let AI apps use Fidelia turned on. It's off until you turn it on, and the same page shows your token.
Playing music needs Fidelia's one-time unlock or its free trial, as it does in the app; music from a server also needs the Network & Server unlock. Reading the library, pausing, the volume and playlists work without them.
Set it up
Claude
In Fidelia, open Settings ▸ Agent and click Make Extension…. Fidelia saves the extension with your token inside and opens it in Claude, which asks to install it.
Or download Fidelia.mcpb from the latest release, open it, and paste the token from Fidelia's Settings ▸ Agent when Claude asks for it.
When Fidelia isn't running, the extension opens it with no window, so asking Claude for music starts it.
Claude Code
Add this repository as a plugin marketplace and install the plugin. Claude Code asks for the token from Fidelia's Settings ▸ Agent and for Fidelia's port (keep 38412 unless you changed it there). The plugin runs the same bridge as the Claude extension, so it needs Node.js on your PATH:
/plugin install fidelia --marketplace weareaudiofile/fidelia-mcpOn Claude Code before 2.1.275, add the marketplace first:
/plugin marketplace add weareaudiofile/fidelia-mcp
/plugin install fidelia@fidelia-mcpOr run one line in Terminal; Settings ▸ Agent shows it with your token already in it:
claude mcp add --transport http fidelia http://127.0.0.1:38412/mcp --header "Authorization: Bearer YOUR_TOKEN"Codex
Add this to ~/.codex/config.toml, then restart Codex. Settings ▸ Agent shows it with your token already in it:
[mcp_servers.fidelia]
url = "http://127.0.0.1:38412/mcp"
http_headers = { "Authorization" = "Bearer YOUR_TOKEN" }Other MCP apps
Fidelia serves Streamable HTTP at http://127.0.0.1:38412/mcp and wants the header Authorization: Bearer YOUR_TOKEN. In an app that takes an mcpServers JSON file:
{
"mcpServers": {
"fidelia": {
"url": "http://127.0.0.1:38412/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}If you change the port in Settings ▸ Agent, change it here too.
Things to ask
"Play some irish trad."
"Put on the album I got yesterday."
"Queue that Bothy Band record next."
"What's playing?"
"Make a playlist of everything I added last month."
"What's the oldest piece I own, by when it was written? Play it."
"Play one of my radio stations."
Tools
Tool | What it does | |
| Search the library | reads |
| List genres | reads |
| List artists | reads |
| List composers | reads |
| List a genre's artists | reads |
| List recently added albums | reads |
| List an album's tracks | reads |
| What's playing | reads |
| List radio stations | reads |
| List playlists | reads |
| List a playlist's tracks | reads |
| Play | acts |
| Add to the queue | acts |
| Pause | acts |
| Resume or skip | acts |
| Set the volume | acts |
| Shuffle on or off | acts |
| Set repeat | acts |
| Make a playlist | acts |
| Add to a playlist | acts |
Lists come in pages, because a library can run to 100,000 tracks. A page of tracks is grouped by album.
What's in this repository
plugins/fidelia/: the Claude Code plugin. It runs its own copy ofserver/index.js(below) with Node.js, with Fidelia's port and your token from its settings.server/index.js: the script insideFidelia.mcpb, which Claude runs with its own Node. It hands each message to Fidelia at 127.0.0.1 with your token and writes back Fidelia's answer. When nothing answers, it opens Fidelia with no window (open -g -b com.audiofile.fidelia --args -agent.headless YES) and tries again for up to 45 seconds. It uses only Node's own modules.server.json: Fidelia's entry in the official MCP Registry.tools/publish_listing.pyandtools/listing.json: how Fidelia's own CI keeps this repository, its releases and its registry entry equal to what Fidelia serves. When a Fidelia release changes its tools, the script writes them here from Fidelia itself, releases the newFidelia.mcpband publishes the new version to the registry. People never run it.glama/,Dockerfileandglama.json: for Glama's automated build check only. Fidelia's server is part of the Fidelia app, so Glama's Linux build machine runsserver/index.jsagainst a stand-in that lists Fidelia's real tools (glama/tools.json, read from Fidelia itself) and answers every call with a note to install Fidelia. People never run these files.
Privacy and security
Fidelia listens on 127.0.0.1 only. Nothing on your network or the internet can reach it.
Only an app with the token from Settings ▸ Agent can connect. New Token there turns the old one away at once. A request from a web page is refused.
The server answers only the AI app you set up. That app sends what it reads to its own AI service, under that app's terms.
Audiofile's privacy policy: https://audiofile.engineering/privacy
Support
Questions and problems: https://audiofile.engineering/support
License
The files in this repository are under the MIT License. Fidelia itself is Audiofile Engineering's app, on the Mac App Store.
Available Tools
20 toolsadd_to_playlistAdd to a playlistB
Add to the end of one of the person's playlists what play would take (plain words, an album_id, track_ids, a genre or an artist).
Inputs: playlist_id (required), genre, query, artist, +2 more.
album_tracksList an album's tracksBRead-onlyIdempotent
An album's tracks in disc and track order: the album's id, title, artist and whatever all the page's tracks share once, then a page of its tracks.
Inputs: album_id (required), limit, offset.
artistsList artistsARead-onlyIdempotent
The library's artists (as albums credit them), most tracks first, with their track counts.
Inputs: limit, offset.
artists_in_genreList a genre's artistsARead-onlyIdempotent
The artists whose tracks carry a genre (as genres names it), with their track counts, most first.
Inputs: genre (required), limit, offset.
composersList composersARead-onlyIdempotent
Every composer in the library as tagged, with how many tracks carry them, most first. Spellings that differ only in case or accents are one composer. Names are short: ask for up to 500 at a time. A composer's tracks: search "composer ".
Inputs: limit, offset, contains.
genresList genresARead-onlyIdempotent
Every genre in the library as tagged, with how many tracks carry it, most first. Spellings that differ only in case or accents are one genre.
Inputs: limit, offset, contains.
make_playlistMake a playlistB
Make a new playlist in Fidelia, empty or holding what play would take (plain words, an album_id, track_ids, a genre or an artist), in that order.
Inputs: name (required), genre, query, artist, +3 more.
now_playingWhat's playingARead-onlyIdempotent
What is playing now: the track, where in it, the volume, shuffle and repeat, and where in the queue.
Inputs: no named parameters.
pausePauseB
Pause playback.
Inputs: no named parameters.
playPlayA
Play from the library, replacing the queue: plain words (Fidelia chooses the genre, artist, album, song or radio station they mean and plays it — a record in order, a genre or an artist's music shuffled), or an album_id, track_ids, playlist_id, genre, artist, station or station_id. shuffle overrides. With nothing named, resumes what was playing, or plays the newest album added.
Inputs: genre, query, artist, shuffle, +5 more.
playlistsList playlistsARead-onlyIdempotent
The library's playlists with their track counts, and whether each can take tracks (the person's own lists can; smart lists, folders and a server's lists cannot).
Inputs: limit, offset.
playlist_tracksList a playlist's tracksBRead-onlyIdempotent
A playlist's tracks in its order, grouped by album where neighbours share one (by_album).
Inputs: playlist_id (required), limit, offset.
queueAdd to the queueA
Add to the queue without stopping what plays: after the playing track (position "next") or at the end. Takes what play takes.
Inputs: genre, query, artist, album_id, +3 more.
recently_addedList recently added albumsARead-onlyIdempotent
Albums added to the library in a window, newest first, with the day each was added and its whole track count. The window in plain words ("yesterday", "last week", "the past 3 months"); the last 30 days if none.
Inputs: limit, since, offset.
searchSearch the libraryARead-onlyIdempotent
Search the whole library in plain words — a genre, an artist, an album, a song, a composer ("composer Anonymous", "composed by Hildegard"), a year ("2026", "this year") or decade, a date added ("irish trad", "the album I got yesterday", "something by Planxty", "jazz from the fifties"). Answers how the words were read, what play would choose, the albums (each with its whole track count) and artists found, a radio station of that name, and a page of tracks grouped by album (by_album: each album's id, title, artist and whatever all its tracks share — year, genre, composer, date added, disc, format — once, then its tracks with what is their own).
Inputs: query (required), limit, offset.
set_repeatSet repeatB
Repeat off, the whole queue (all), or the playing track (one).
Inputs: mode (required).
set_shuffleShuffle on or offA
Turn shuffle on or off, as the shuffle button does.
Inputs: on (required).
set_volumeSet the volumeA
Set Fidelia's volume as a percentage, or move it one step up or down (the step a Remote's buttons take).
Inputs: step, percent.
stationsList radio stationsARead-onlyIdempotent
The internet radio stations in Fidelia's library: name, station_id, tags and preset number. Play one with play's station_id, or by name with station.
Inputs: limit, offset, contains.
transportResume or skipC
Resume, toggle play/pause, skip to the next track, or go to the previous one.
Inputs: command (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools target clearly distinct resources or actions, and the descriptions distinguish playback, searching, queueing, and playlist management well. The main overlaps are pause versus transport (which also toggles play/pause) and play versus queue (replace versus append), though the descriptions largely clarify the intended use.
All names use snake_case and are readable, but the set mixes plural nouns (artists, genres), state phrases (now_playing, recently_added), bare verbs (play, pause, queue), and verb_noun forms (make_playlist, add_to_playlist). There is no single predictable naming pattern across the 20 tools.
At 20 tools this is in the heavy borderline range for a music library/player. Most tools map to real features, but there is some redundancy, especially pause versus transport's toggle behavior.
The surface covers library browsing, playback control, queueing, and basic playlist creation/addition well. However, playlist lifecycle management is incomplete: there is no remove-from-playlist, delete-playlist, rename/reorder, or queue removal/clear operation, which are notable gaps for a library and player server.
Maintenance
Related MCP Connectors
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
MCP server for Producer/Riffusion AI music generation
Create, inspect, and manage Wubble music, speech, voice, and sound-effect requests through MCP.
Search and install 4,000+ security-scanned MCP servers from inside any MCP-aware AI client.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceConnects AI assistants to a local music library for full-text search and filtering of tracks, albums, artists, genres, composers, and lyrics, plus listening analytics and metadata hygiene audits. Also lets users generate and populate playlists and control playback (play, pause, seek, volume) in a running player instance.MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables local music playback on Windows via MCP, supporting playback control, playlists, shuffle, and system volume adjustment.1-
- AlicenseBqualityCmaintenanceLets Claude or any MCP client drive the macOS Music app locally to control playback, search the library, build and edit playlists, set favorites, and pull listening statistics like top tracks, artists, albums, and genres.17MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to search and manage playlists, library, catalog, discovery, playback, and the Up Next queue across macOS, Windows, and Linux.-