Skip to main content
Glama

Spotify MCP Server

by latiftplgu

start_playback

Initiate Spotify music playback for specific tracks, albums, playlists, or artist collections. Enables voice-activated requests, custom music controllers, and mood-based or event-themed playback. Requires a valid Spotify access token and active device.

Instructions

Initiate music playback with specific tracks, albums, playlists, or artist collections.

🎯 USE CASES: • Start playing music when users enter smart spaces • Create voice-activated music requests • Build custom music controllers and interfaces • Implement mood-based automatic music selection • Start themed playlists for events, workouts, or activities

📝 WHAT IT RETURNS: • Confirmation of playback initiation • Current track information and playback state • Device information where playback started • Error details if playback couldn't start • Queue information showing what will play next

🔍 EXAMPLES: • "Play my Discover Weekly playlist" • "Start playing the album 'Abbey Road'" • "Play tracks by The Beatles on my laptop" • "Begin playback of my liked songs"

🎵 PLAYBACK OPTIONS: • contextUri: Play entire albums, playlists, or artist catalogs • trackUris: Play specific individual tracks in order • deviceId: Choose which device should start playing • Can resume from where you left off or start fresh

⚠️ REQUIREMENTS: • Valid Spotify access token with user-modify-playback-state scope • User must have an active Spotify device available • Content must be available in user's market

Input Schema

NameRequiredDescriptionDefault
contextUriNo
deviceIdNoSpotify device ID (optional, uses active device if not specified)
tokenYesSpotify access token for authentication
trackUrisNo

Input Schema (JSON Schema)

{ "properties": { "contextUri": { "description": "", "type": "string" }, "deviceId": { "description": "Spotify device ID (optional, uses active device if not specified)", "type": "string" }, "token": { "description": "Spotify access token for authentication", "type": "string" }, "trackUris": { "description": "", "items": { "description": "", "type": "string" }, "type": "array" } }, "required": [ "token" ], "type": "object" }

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/latiftplgu/Spotify-OAuth-MCP-server'

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