applemusic-mcp@0.22.1
VERIFIED· not startedPublisher claims: "MCP server for Apple Music — cross-platform library, playlists, and playback; no Apple Developer account required" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Not started: dependency install failed; the server itself was not observed.- Tested
- the dependency install step · every file read, file written and host contacted by what ran
- Not tested
- server startup · the tool list · tool behavior
What this means for the label: Verified here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.
Before you give it your token
- It will ask for
APPLEMUSIC_FORCE_TOKENLESSAPPLEMUSIC_USER_TOKENConfiguration, not credentials: APPLEMUSIC_BROWSER_NO_SANDBOX, APPLEMUSIC_CACHE_DIR, APPLEMUSIC_CONFIG_DIR, APPLEMUSIC_DATA_DIR, APPLEMUSIC_FORCE_API_MODE, APPLEMUSIC_FORCE_BROWSER_PLAYBACK, APPLEMUSIC_MCP_HOME, APPLEMUSIC_NO_KEYRING- Where it talks to
- no vendor host named in the codeAlso apple.com, attacker.tld — not the publisher's domain; check what for before connecting.
- What we saw when it ran
- no credential files read · no network
- What we could not test
- server startup · the tool list · tool behavior
Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names apple.com, attacker.tld as well as its own vendor. The guard injects APPLEMUSIC_FORCE_TOKENLESS, APPLEMUSIC_USER_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.
Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.
What changed since 0.21.0
vet-skills diff applemusic-mcp 0.21.0 0.22.1In the sandbox, this version reached for nothing 0.21.0 did not. Compared from the two recorded runs, not from source.
0.21.0 was not run in the sandbox (install failed); the comparison covers what static analysis recorded only.
The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-23 and scored it 81/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 1 s · 2 scenarios · 0 deviationsStatic findings
subprocess.run(["open", https_url], check=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.return (do JavaScript "document.cookie" in theTab)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(["open", music_url], check=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.r = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out."""Pull media-user-token out of a document.cookie string, or '' if absent."""Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.r = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(["open", "-a", "Music"], check=False, timeout=5)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# otherwise open one, give it a moment to set cookies, then read document.cookie.Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.can read it with one AppleScript ``do JavaScript "document.cookie"`` and skipFix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.- Scripts are executed via subprocess.run() with capture_output=TrueFix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.r = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.result = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.# chmod failure path (102-104) — must be swallowedFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."""The Music User Token file must be chmod 600 — on a multi-user box otherFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts."""A platform/FS that rejects chmod must not break dir creation (268-269)."""Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.runpy.run_module("applemusic_mcp.cli", run_name="__main__")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.# change exists to kill (#42), so they stay separate.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.spec.loader.exec_module(mod)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell."name", ["../../.ssh/id_rsa", "/etc/passwd", "..", "../../../etc/hosts", "sub/../../x"]Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.runpy.run_module("applemusic_mcp", run_name="__main__")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.runpy.run_module("applemusic_mcp", run_name="__main__")Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.mod = importlib.util.module_from_spec(spec)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.ctx.close(); an abrupt kill is a known cause of the 'signed-out next launch' bug."""Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.raise OSError("no chmod here")Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.
Known vulnerabilities
No advisories in OSV for applemusic-mcp@0.22.1 as of 39 min ago. This is the package itself, not its dependencies.