跳到正文
TakoAPI
返回技能列表

apple-music

由 epheterson 提供

Media & Streaming
2.0k下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Apple Music integration via AppleScript (macOS) or MusicKit API.

描述

该技能的功能

MCP server for controlling Apple Music on macOS and via the MusicKit API. Handles AppleScript execution, token management, and the library-first workflow required to add catalog songs to playlists. Supports playback control, playlist management, catalog search, and listening history.

Abstracts the multi-step library-first workflow and AppleScript escaping that would otherwise require 4 separate API calls and manual ID conversion just to add one song to a playlist.

何时使用

  • Add a song from Apple Music catalog to a playlist
  • Control playback (play, pause, skip) from an AI assistant
  • Search the Apple Music catalog for tracks by artist or album
  • Create and manage playlists via natural language
  • Check recently played tracks or listening history

示例工作流

输入

User asks: Add 'Wonderwall' by Oasis to my Road Trip playlist

智能体
  1. 1

    Search Apple Music catalog for the track

  2. 2

    Add the catalog song to the user's library

  3. 3

    Retrieve the library ID for the track

  4. 4

    Add the track to the specified playlist using the library ID

输出

'Wonderwall' by Oasis has been added to your Road Trip playlist

前置要求

  • Apple Developer account ($99/year) for MusicKit API features
  • MusicKit private key (.p8 file) from Apple Developer portal
  • Apple Music subscription for library and playlist access

安装

clawhub install epheterson/mcp-applemusic

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接