Labsco
MCP SERVER

Spotify

by mfteloglu

Play, pause, identify the current track and add it to your Liked Songs, from a conversation.

Music & Audio Production
Summary
Deliberately three things.

There is no library browsing, no playlist management, no search — which means nothing to read through when you just want the music to stop. The one non-obvious dependency is that Spotify's API acts on an active device, so this controls a session you already have running rather than starting one from nothing.

What it is

A small Spotify controller. It starts and stops playback on your active device, reports what is playing now, and saves the current track to your Liked Songs — the three things you actually reach for while doing something else. It runs locally against your own Spotify developer app.

What you get
  • Start and pause playback on your active Spotify device
  • Read back what is playing right now — title and artist
  • Add the currently playing track to your Liked Songs
Requirements

Register an app at the Spotify Developer Dashboard and put `SPOTIPY_CLIENT_ID`, `SPOTIPY_CLIENT_SECRET` and `SPOTIPY_REDIRECT_URI` in a `.env` file. Clone the repository, create a virtualenv, `pip install -r requirements.txt`, and point your client at `uv --directory <project> run main.py` (package `spotify-mcp-server`, version 0.1.0). Playback control needs an active Spotify device, so something has to be open for it to act on.

Setup effort

One command plus a key — uvx spotify-mcp-server, then supply credentials