MCP Spotify Server

add_tracks_to_playlist

Add one or more tracks to a playlist

Input Schema

NameRequiredDescriptionDefault
idYesThe Spotify ID or URI of the playlist
positionNoOptional. The position to insert the tracks (zero-based)
urisYesArray of Spotify track URIs to add

Input Schema (JSON Schema)

{ "properties": { "id": { "description": "The Spotify ID or URI of the playlist", "type": "string" }, "position": { "description": "Optional. The position to insert the tracks (zero-based)", "minimum": 0, "type": "number" }, "uris": { "description": "Array of Spotify track URIs to add", "items": { "type": "string" }, "type": "array" } }, "required": [ "id", "uris" ], "type": "object" }