Spotify-MCP-Server
0
The Spotify MCP Server is a Flask application that integrates with the Spotify Web API to allow users to authenticate and control Spotify playback through various API endpoints. It supports actions like adjusting volume and managing playlists, with the added ability to execute custom MCP commands.
Spotify MCP Server
This is a Flask-based MCP server that integrates with the Spotify Web API to offer functionalities such as controlling playback, managing volume, retrieving 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
/login
: Redirects to Spotify for authentication/callback
: Handles Spotify OAuth callback/current-song
: Fetches currently playing song/play
: Starts playback/pause
: Pauses playback/next
: Skips to the next track/previous
: Returns to the previous track/volume?volume=50
: Sets volume (replace 50 with desired level)/playlists
: Fetches user playlists/mcp-command?command=play
: Executes MCP command