Search for tracks, albums, artists, or playlists on Spotify
Get information about the currently playing track on Spotify
Get a list of the current user's playlists on Spotify
Get a list of tracks in a specific Spotify playlist
Retrieves a list of recently played tracks from Spotify
Start playing a track, album, artist, or playlist on Spotify
Pause the currently playing track on Spotify
Skip to the next track in the current playback queue
Skip to the previous track in the current playback queue
Create a new playlist on Spotify
Add tracks to an existing Spotify playlist
Adds a track, album, artist or playlist to the current playback queue
Spotify Controller is a lightweight Model Context Protocol server that enables AI assistants like Claude and Cursor to interact with your Spotify account. It provides a comprehensive set of tools for searching music, controlling playback, creating playlists, and managing your Spotify library. With this integration, you can ask your AI assistant to play specific songs, create themed playlists, manage your music collection, and control playback - all through natural language commands. The server handles authentication with Spotify's API and translates your requests into the appropriate API calls.
Spotify Controller allows AI assistants to interact with your Spotify account through the Model Context Protocol (MCP). This enables natural language control of your music experience, from simple playback commands to complex playlist management.
Clone the repository:
git clone https://github.com/marcelmarais/spotify-mcp-server.git
cd spotify-mcp-server
Install dependencies:
npm install
Create a Spotify Developer Application:
http://localhost:3000/callback
Configure the server:
spotify-config.example.json
to spotify-config.json
Start the server:
npm start
Complete the authentication process:
Add the following to your Claude Desktop configuration:
{
"mcpServers": {
"spotify": {
"command": "npm",
"args": ["start"],
"cwd": "/path/to/spotify-mcp-server"
}
}
}
Add the following to your Cursor configuration:
{
"mcpServers": {
"spotify": {
"command": "npm",
"args": ["start"],
"cwd": "/path/to/spotify-mcp-server"
}
}
}
Add the following to your Cline configuration:
{
"mcpServers": {
"spotify": {
"command": "npm",
"args": ["start"],
"cwd": "/path/to/spotify-mcp-server"
}
}
}
Once set up, you can interact with Spotify through your AI assistant using natural language:
The AI assistant will use the appropriate tools to fulfill your requests, allowing for a seamless music control experience.