mcp-applemusic

kennethreitz/mcp-applemusic

3.5

If you are the rightful owner of mcp-applemusic and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A FastMCP server implementation for controlling Apple Music on macOS through AppleScript commands.

Tools

Functions exposed to the LLM to take actions

itunes_play

Start playback in Music (iTunes).

itunes_pause

Pause playback in Music (iTunes).

itunes_next

Skip to the next track.

itunes_previous

Return to the previous track.

itunes_search

Search the Music library for tracks whose names contain the given query. Returns a list of tracks formatted as "Track Name - Artist".

itunes_play_song

Play the first track whose name exactly matches the given song name. Returns a confirmation message.

itunes_create_playlist

Create a new playlist with the given name and add tracks to it. 'songs' should be a comma-separated list of exact track names. Returns a confirmation message including the number of tracks added.

itunes_library

Return a summary of the Music library, including total tracks and user playlists.

itunes_current_song

Get information about the currently playing track. Returns the track name, artist, and album.

itunes_all_songs

Get a list of all songs in the Music library. Returns a formatted list of all tracks with their names and artists.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources