MCP server enabling conversational control of Spotify playback, library, playlists, and devices via the updated post-Feb-2026 Spotify API.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Spotify MCP.
playPlay by free-text query (search β best match β play) or Spotify URI
playbackpause / resume / next / previous / seek / volume / shuffle / repeat
now_playingCurrent track, progress, device, mode
queueAdd a track to the queue; show up next
devicesList devices; transfer playback
searchBrowse tracks/albums/artists/playlists (max 10 per type β API cap)
Control Spotify by talking to your AI. An MCP server for Claude Desktop, Claude Code, Cursor, and any other MCP client.
You: play something like early Bill Evans AI: βΆ Now playing: "Peace Piece" β Bill Evans Β· Everybody Digs Bill Evans
You: perfect, queue the whole album and save this one AI: β Queued Everybody Digs Bill Evans Β· β€οΈ Saved "Peace Piece" to your library
Built against the current (post-February-2026) Spotify Web API β many older Spotify MCP servers predate those changes and are partially broken.
The wizard walks you through creating your own (free) Spotify developer app, asks for its Client ID, and opens a browser to connect your account β about 2 minutes total.
Why your own app? Spotify caps third-party apps at a handful of users, so every user
brings their own; the wizard makes that painless. No client secret is involved (PKCE).
Tokens stay in ~/.spotify-mcp/ on your machine and refresh silently.
The one detail that must be exact β your app's Redirect URI:
Claude Code
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)
or Cursor (~/.cursor/mcp.json):
Restart the client and start talking.
| Tool | What it does |
|---|---|
play | Play by free-text query (search β best match β play) or Spotify URI |
playback | pause / resume / next / previous / seek / volume / shuffle / repeat |
now_playing | Current track, progress, device, mode |
queue | Add a track to the queue; show up next |
devices | List devices; transfer playback |
search | Browse tracks/albums/artists/playlists (max 10 per type β API cap) |
get_playlists | List your playlists |
get_playlist_items | Show a playlist's tracks (own/collaborative only β API restriction) |
modify_playlist | Create a playlist; add tracks |
library | Save / remove / check items in your library |
authenticate | Run the Spotify login from inside a conversation |
authenticate tool. The
model relays the fix instead of a stack trace.INVALID_CLIENT: Invalid redirect URI during login β the Redirect URI in your
app settings isn't exactly http://127.0.0.1:8888/callback (localhost is
rejected by Spotify).SPOTIFY_REDIRECT_PORT to a free port and
register the matching redirect URI.npx -y @xavifabregat/spotify-mcp auth to log in
again (e.g. after changing the Client ID).SPOTIFY_CLIENT_ID env var overrides
~/.spotify-mcp/config.json (written by init).Layout: src/auth.ts (OAuth PKCE + token store) Β· src/spotify.ts (typed API
client) Β· src/tools/ (tool implementations) Β· src/format.ts (compact output).
MIT Β© Xavi Fabregat
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/xavierfabregat-spotify-mcp)<a href="https://allmcps.com/mcp/xavierfabregat-spotify-mcp"><img src="https://allmcps.com/api/badge/xavierfabregat-spotify-mcp?style=directory" alt="Spotify MCP on AllMCPs" /></a>