spotify-mcp-server
Allows controlling Spotify playback, searching tracks, artists, albums, and playlists, managing the queue, creating and modifying playlists, browsing liked songs and listening history, and managing Spotify Connect devices.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@spotify-mcp-serverplay some lo-fi beats and set the volume to 30"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
spotify-mcp-server 🎵
A full-featured Spotify MCP server that lets any MCP-compatible AI (Antigravity, Claude, Cursor, etc.) control your Spotify — search tracks, manage playback, create playlists, browse your library, and more.
Built by SAYOS-crs
✨ Features
Category | Tools |
🎵 Playback | Play track, pause, resume, skip next/prev, set volume, shuffle, repeat, transfer device |
🔍 Search | Search tracks, artists, albums, playlists |
📋 Queue | View queue, add track to queue |
📁 Playlists | Get your playlists, get tracks, create playlist, add/remove tracks, play playlist |
❤️ Library | Liked songs, like/unlike track, top tracks, recently played |
📱 Devices | List available devices, transfer playback |
20+ tools total.
Related MCP server: Spotify MCP Server
🚀 Quick Setup
1. Install
pip install sayos-spotify-mcp2. Create a Spotify App
Click Create app
Set Redirect URI to:
http://127.0.0.1:8888/callbackCopy your Client ID and Client Secret
3. Add to your MCP config (~/.gemini/config/mcp_config.json for Antigravity)
{
"mcpServers": {
"spotify": {
"command": "sayos-spotify-mcp",
"env": {
"SPOTIPY_CLIENT_ID": "YOUR_CLIENT_ID",
"SPOTIPY_CLIENT_SECRET": "YOUR_CLIENT_SECRET",
"SPOTIPY_REDIRECT_URI": "http://localhost:8888/callback"
}
}
}
}4. Authorize
On first use, a browser window will open asking you to log in to Spotify and grant access. After that, your token is cached automatically.
🧠 Works with
Antigravity (AGY) — add to
~/.gemini/config/mcp_config.jsonClaude Desktop — add to
claude_desktop_config.jsonCursor — add to
.cursor/mcp.jsonAny other MCP-compatible client
🛠 Available Tools
Playback
Tool | Description |
| Get what's currently playing |
| Play a specific track by ID |
| Resume paused playback |
| Pause playback |
| Skip to next track |
| Go back to previous track |
| Set volume 0–100 |
| Enable/disable shuffle |
| Set repeat: |
| List Spotify Connect devices |
| Move playback to another device |
Search
Tool | Description |
| Search for tracks |
| Search for artists |
| Search for albums |
| Search for playlists |
Queue
Tool | Description |
| View current queue |
| Add a track to the queue |
Playlists
Tool | Description |
| Get your playlists |
| Get tracks in a playlist |
| Create a new playlist |
| Add tracks to a playlist |
| Remove tracks from a playlist |
| Play a playlist |
Library
Tool | Description |
| Get your Liked Songs |
| Like a track |
| Unlike a track |
| Your top tracks |
| Recently played tracks |
📋 Requirements
Python 3.10+
A Spotify Premium account (required for playback control)
A Spotify Developer app
📄 License
MIT © SAYOS-crs
This server cannot be deployed
Maintenance
Related MCP Connectors
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Create, inspect, and manage Wubble music, speech, voice, and sound-effect requests through MCP.
YouTube transcripts, search, channel browsing, and playlists for AI agents via MCP.
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables AI assistants to control Spotify playback, search for music, manage playlists, and interact with your Spotify library through natural language commands.19-
- FlicenseAqualityDmaintenanceEnables AI assistants to control Spotify playback, search for music, manage playlists, and access library information through the Spotify API. Requires Spotify Premium for playback control features.4-
- AlicenseBqualityDmaintenanceEnables AI assistants to control Spotify playback, manage playlists, search music, and access listening history. Requires Spotify Premium and uses secure OAuth 2.0 with PKCE authentication.13132 npmMIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and recently played.-