← Catalog

Connecting Your Agent to Apple Music

Learn how to connect your agent to Apple Music for enhanced playlist management. Follow these steps to set up the MCP server and enjoy personalized music experiences for your family.

added by @JJEnglert

I kid you not. I've had a paid sub to Apple Music for as long as I can remember.

But for some reason, I don't like the interface. It has always been hard to find the type of music that I actually enjoy.

(I don't search by artists, but my style, genre, and I really love mashups, etc)

tl;dr I barely used it while it worked well for my wife so we kept it.

But now that my @Muse agent controls my music / playlists, and I didn't want to subscribe to another music service, I taught my agent how to use Apple music.

And now I'm enjoying it more than ever.

Not only that, but I'm now having my agent manage playlists for each member of my family too.

My kids love this especially. Always asking if "Carl" can add this to their playlist, or to play their playlist in the car while we're traveling together.

But connecting my @Muse agent to Apply Music was way harder than it needed to be, and the typical user will just go with a platform like that works really well with agents.

So for the crazy ones out there, here are the steps your agent can take to connect to Apple Music.

Copy/paste this whole thing to your agent and let them cook:

1. You need an Apple Music account. You do NOT need an Apple Developer account. That's the $99/yr one.

2. Use this MCP server: applemusic-mcp by epheterson (it's on GitHub and PyPI). It is NOT official — Apple doesn't make one. It's open source (MIT). I scanned it for security before trusting it with my account and it appears to be a trusted community resource right now. Have your agent read the code too. It's your Apple ID. Act accordingly.

3. Install it, and pin these exact versions.
pip install applemusic-mcp==0.18.0
pip install mcp==1.30.0
Unpinned, it grabs mcp 2.x and the server breaks. Learned that one the hard way.

4. Install it on your own computer and sign in there:
applemusic-mcp login
It opens Apple Music in Chrome. Sign in with your Apple ID, do the 2FA dance, done. No developer token needed — the server pulls Apple's public web player token on its own.

Your login token gets saved locally in ~/.config/applemusic-mcp/. Treat that file like a password. Never paste it into a chat.

5. You need a separate computer because of where your agent lives. Mine (@muse) runs on a cloud VM, and the VM can't do this sign-in — no real browser for Apple to talk to. Mine can't even load the sign-in page.

Once you're signed in there, copy one file — music_user_token.json, from ~/.config/applemusic-mcp/ — into the same folder on the machine your agent lives on. The token isn't tied to the machine that made it, which is basically the trick that makes all of this work.

This is also where having Claude Code, Codex, or Cursor on your computer helps a lot. A coding agent can run the install, walk the sign-in with you, and help you copy the file over to the VM for you.

6. Connect the MCP to your agent (it's a stdio server: applemusic-mcp serve) and test it. Ask your agent to list your playlists. If it reads back your real library, you're in.

7. From there your agent can search the catalog, build and edit playlists, add and remove songs, and manage your library.

Two warnings before you run off and do this. It's a community project, so if Apple changes something it can break until the maintainer fixes it. And the sign-in token has rate limits. Totally fine for everyday playlist stuff, just don't try to import 10,000 songs at once. If your agent ever gets locked out, sign in again and re-copy the file.

Took me way longer to figure out than it'll take you to steal it. Hopefully this helps!

View similar

Ranked from stored criteria vectors. No live classification on this page.

Muse: Your AI Chief of Staff

added by @andr3barroso

Muse connects seamlessly with your iPhone reminders and calendar, providing personalized assistance. In just 24 hours, it scanned emails, planned around your work schedule, and even created video content for your projects.

view details →

Practical Uses of Muse for Everyday Tasks

added by @amyneurons

Discover how Muse can help manage subscriptions, organize household calendars, and streamline shopping by pulling ingredients from recipe videos. It also assists in printing shipping labels and finding discount codes.

view details →

Building a House-Scale AI with Muse

added by @n3PyVpnDDx79860

A user shares their experience of creating a house-scale AI system using Raspberry Pi 5 and Home Assistant. The AI, named Muse, handled engineering tasks, fixed issues, and documented the process.

view details →

AI Handles Internet Bill Adjustments

added by @ravitej03

A user instructed AI to review their internet bill, leading to the cancellation of an unnecessary security add-on and the addition of streaming options. The AI managed the entire process with a live agent while the user was unavailable.

view details →

Efficient Appointment Scheduling with Muse AI

added by @ChrisUniverse

Muse AI quickly set up a dental appointment while maintaining privacy, completing the task in under 10 minutes. Users can save costs compared to other models while enjoying near-instant response times.

view details →

AI Agent Negotiates Internet Bill Savings

added by @raunaqbn

An AI agent successfully negotiated a reduction in an internet bill, resulting in savings of $85.30 per month for five years, totaling approximately $5118. The user received a call transcript showing the interaction between the AI and the Xfinity representative.

view details →