mcp-spotify
Allows creating, managing, and populating Spotify playlists using the Spotify Web API.
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., "@mcp-spotifycreate a playlist called 'Morning Vibes' with upbeat songs"
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.
mcp-spotify
Describe the vibe. Get the playlist! ✨
This is a Python-based MCP (Model Context Protocol) server that allows AI agents (like Claude, Cursor) to create, manage, and populate Spotify playlists using the Spotify Web API.
🚀 Features
You can create new private playlists
Can search songs by name
Add tracks to playlists
Fully compatible with MCP client tool systems like Claude Desktop, Cursor, or your custom client
Related MCP server: Spotify MCP Server
🔧 Setup Instructions
1. Clone the Repository
git clone https://github.com/HimanshuSharmaKUL/mcp-spotify.git
cd mcp-spotify2. Create .env file
Create a .env file in the repo and collect the following credentials for Spotify API integration
CLIENT_ID=your_spotify_client_id
CLIENT_SECRET=your_spotify_client_secret
REDIRECT_URI=http://localhost:8888/callback3. Install uv if not installed
From the official uv installation guide For windows use
pipx install uv4. Install dependencies
uv pip install -r requirements.txt5a. Run it with mcp inspector
npx @modelcontextprotocol/inspector uv run mcpspotify_server.py5b. Can also integrate it with Claude Desktop
Add the following in your the config.json of your Claude Desktop. Add it under the mcpServers
"mcp-spotify": {
"command": "uv",
"args": [
"--directory",
"C:\\Path\\To\\mcp-spotify-playlist",
"run",
"mcpspotify_server.py"
]
}This server cannot be deployed
Maintenance
Related MCP Connectors
The media memory layer for AI agents and their humans. Your AI client gets 29 tools to search your collection, add items, update ratings, preview music, and find patterns across everything you've read, watched, and listened to.
Spotify: Spotify Data API for Millions of songs & podcasts, artists, albums, playlists and more.
Full Spotify Web API coverage - albums, artists, playlists, player controls, and more.
YouTube transcripts, search, channels, playlists and bulk transcript jobs for AI agents. 14 tools.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables interaction with Spotify through LLMs using OAuth2 authentication. Supports music search, playback control, playlist management, and device management through natural language commands.142MIT
- 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-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to control Spotify playback, search music, manage playlists and library, and access user listening insights via the Spotify Web API.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to search Spotify, inspect playback state, manage devices, and control music through the official Spotify Web API using OAuth authentication.2MIT