Spotify-MCP-Server

Spotify-MCP-Server

3.1

If you are the rightful owner of Spotify-MCP-Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Spotify MCP Server is a Flask-based server that integrates with the Spotify Web API to manage music playback and more.

Spotify MCP Server

This is a Flask-based MCP server that integrates with the Spotify Web API to control playback, manage volume, retrieve playlists, and more.

🚀 Features

  • Authenticate with Spotify
  • Control playback (Play/Pause/Next/Previous)
  • Adjust volume
  • Fetch currently playing song
  • Retrieve user playlists
  • MCP Command Execution (for custom commands)

🔗 API Endpoints

EndpointDescription
/loginRedirects to Spotify for authentication
/callbackHandles Spotify OAuth callback
/current-songFetches currently playing song
/playStarts playback
/pausePauses playback
/nextSkips to the next track
/previousReturns to the previous track
/volume?volume=50Sets volume to 50% (replace 50 with desired level)
/playlistsFetches user playlists
/mcp-command?command=playExecutes MCP command