Skip to main content
Glama

Spotify MCP Server

by latiftplgu

transfer_playback

Switch Spotify playback between devices while preserving playback state, queue, and settings. Ideal for transitioning music across smart speakers, phones, or computers without interruption.

Instructions

Seamlessly transfer active playback from one device to another while maintaining playback state.

🎯 USE CASES: • Move music from phone to home speakers when arriving home • Switch from desktop to phone when leaving office • Transfer playback to car system when starting drive • Move music between rooms using different smart speakers • Continue listening on different devices without interruption

📝 WHAT IT RETURNS: • Confirmation of successful transfer • New active device information • Preserved playback position and queue • Current track information on new device • Transfer success status and any error details

🔍 EXAMPLES: • "Transfer playback to my bedroom speaker" • "Move music to my phone" • "Switch playback to device ID: 1a2b3c4d5e6f" • "Continue playing on my laptop"

🔄 TRANSFER FEATURES: • Maintains exact playback position • Preserves queue, shuffle, and repeat settings • Keeps volume level appropriate for target device • Option to start playing immediately or stay paused • Seamless transition with minimal interruption

💡 SMART HANDOFFS: • Perfect for multi-room audio setups • Enables mobility without losing music context • Great for smart home automation scenarios • Supports lifestyle-based listening patterns

⚠️ REQUIREMENTS: • Valid Spotify access token with user-modify-playback-state scope • Target device must be available and online • User must have control permissions for target device

Input Schema

NameRequiredDescriptionDefault
deviceIdYesThe ID of the device to transfer playback to
playNo
tokenYesSpotify access token for authentication

Input Schema (JSON Schema)

{ "properties": { "deviceId": { "description": "The ID of the device to transfer playback to", "type": "string" }, "play": { "default": false, "description": "", "type": "boolean" }, "token": { "description": "Spotify access token for authentication", "type": "string" } }, "required": [ "token", "deviceId" ], "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