Skip to main content
Glama
Zheng-Kun
by Zheng-Kun

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
music_healthA

Check platform, Music availability, JXA connectivity, and writable object kinds.

music_get_player_stateA

Return playback state, current track, position, volume, shuffle, repeat, and EQ.

music_get_library_summaryA

Return track and playlist counts without returning the full library.

music_list_playlistsC

List playlists with stable IDs, kinds, parents, counts, and mutation capabilities.

music_get_playlistA

Get one playlist by persistent ID.

music_list_playlist_tracksA

List a playlist's tracks in current order with opaque pagination.

music_search_tracksC

Search or browse local library tracks with metadata filters and stable IDs.

music_get_tracksA

Resolve up to 500 persistent track IDs while preserving request order.

music_analyze_libraryA

Run deterministic library or playlist analysis without sending every track to the AI.

music_list_playback_targetsA

List AirPlay outputs and EQ presets, including active selections.

music_control_playbackC

Control playback or play a local track/playlist by persistent ID.

music_set_playback_optionsB

Set volume, mute, shuffle, repeat, EQ, and AirPlay output selection.

music_plan_changesB

Validate library mutations and return a 10-minute, single-use approval token.

music_get_change_planA

Read a pending or completed plan without exposing approval token hashes.

music_cancel_change_planB

Cancel a pending plan without changing Music.

music_apply_changesA

Apply an approved plan after token, expiry, and optimistic concurrency checks.

music_list_changesA

List persistent audit history without exposing stored before/after metadata.

music_plan_undoA

Create a normal preview-and-approval plan for the reversible part of a prior change.

Prompts

Interactive templates invoked by user choice

NameDescription
organize_libraryAnalyze a local library and propose safe playlist changes.
clean_playlistFind duplicates and stale entries in one playlist and propose cleanup.
build_playlistSelect local tracks from criteria and create a new ordered playlist.

Resources

Contextual data attached and managed by the client

NameDescription
apple_music_capabilitiesMachine-readable supported and intentionally excluded capabilities.
apple_music_safetyRules clients must follow before mutating Music.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Zheng-Kun/apple-music-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server