Apple Music MCP Server logo

Apple Music MCP Server

by akr4

An MCP server for interacting with the Apple Music API. It provides tools for searching songs and generating playback links.

View on GitHub

Last updated: N/A

What is Apple Music MCP Server?

This is an MCP (Model Context Protocol) server designed to interact with the Apple Music API. It allows users to search for songs and generate deep links for playback.

How to use Apple Music MCP Server?

To use the server, you need to install it using cargo install --path .. Then, run the server with your Apple Developer Team ID, Apple Music Key ID, and the path to your private key file using the command: cargo run -- --team-id YOUR_TEAM_ID --key-id YOUR_KEY_ID --private-key-path /path/to/AuthKey.p8. You can then use the API tools like searchSongs and generatePlaybackLink.

Key features of Apple Music MCP Server

  • Search for songs by title, artist, or album

  • Generate deep links for songs and playlists

  • Simple command-line interface

  • Uses the Model Context Protocol (MCP) to interact with clients

Use cases of Apple Music MCP Server

  • Integrating Apple Music search into other applications

  • Creating custom playlists with deep links

  • Building music discovery tools

  • Automating Apple Music playback

FAQ from Apple Music MCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a protocol used for interacting with clients.

What are the requirements to use this server?

You need Rust (nightly), an Apple Developer account with Apple Music API access, and an Apple Music API Key (.p8 file).

How do I install the server?

Use the command cargo install --path .

What credentials do I need to run the server?

You need to provide your Apple Developer Team ID, Apple Music Key ID, and the path to your private key file.

What API tools are available?

The server provides searchSongs for searching songs and generatePlaybackLink for generating deep links.