Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

apple-music

bởi epheterson

Media & Streaming
2.0kLượt tải do clawskills.sh công bố
2Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

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

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

  • 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

Cài đặt

clawhub install epheterson/mcp-applemusic

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết