Shrau1711

Spotify MCP Server

Community Shrau1711
Updated

A server that enables AI assistants to interact with Spotify via the Model Context Protocol (MCP). It allows fetching current playback, controlling playback, and accessing user playlists.

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

Endpoint Description
/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 to 50% (replace 50 with desired level)
/playlists Fetches user playlists
/mcp-command?command=play Executes MCP command

MCP Server ยท Populars

MCP Server ยท New