play_music
Play music — via prompt (AI) or code (direct Strudel)
How to use it
play_music is exposed by the Dj Claude MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the play_music tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Dj Claude
npx dj-claudeOther tools in Dj Claude (19)
Orchestrate a full band — via directive (AI) or layers map
Evolve layers — via directive (AI) or layers map
Export current Strudel code with header comments
Stop all music playback
Add/update a layer — via prompt (AI) or code (direct Strudel)
Remove one or all layers from the jam session
Preview a jam layer without adding it — via prompt or code
Show all active layers with their role names and code
Autonomous DJ set — via prompt (AI) or stagescode (array of Strudel)
Analyze the mix for frequency balance, gains, and suggestions
Check what's currently playing
Play from the curated preset library (22 patterns across mood, genre, activity)
Evaluate raw Strudel/Tidal code directly
Set coding context so music adapts to your activity
Set the mood — chill, dark, hype, focus, funky, dreamy, weird, epic
List all saved snapshots
Restore a previously saved snapshot
Save the current mix as a named snapshot
Switch between Node and browser audio backends at runtime