spotify-mcp
Provides tools for controlling playback, searching for music, managing playlists, and accessing personalized recommendations and top-played tracks on Spotify.
Click on "Install 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-mcpCreate a 'Focus' playlist and add some lo-fi tracks"
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
An MCP (Model Context Protocol) server for Spotify. Control playback, search for music, manage playlists, and get personalized recommendations -- all through any MCP-compatible client like Claude.
Tools
Tool | Description |
| Authenticate with Spotify via OAuth |
| Search for tracks, albums, artists, or playlists |
| Get the current playback state (track, device, progress) |
| Play a specific track on an active device |
| Pause playback |
| Skip to the next track |
| Skip to the previous track |
| List the user's playlists |
| Create a new playlist |
| Add tracks to a playlist |
| Get the tracks in a playlist |
| Rename a playlist (and optionally update description/visibility) |
| Unfollow (or delete) a playlist |
| Get track recommendations based on seed tracks, artists, or genres |
| Get the user's top played tracks over a time range |
Environment Variables
Variable | Required | Description |
| Yes | Spotify app client ID |
| Yes | Spotify app client secret |
| No | OAuth redirect URI (defaults to |
Create a Spotify app at developer.spotify.com and add your redirect URI to the app's settings.
Setup
npm ciUsage
Stdio mode (for MCP clients that launch the server directly)
node build/index.jsHTTP mode (using mcp-proxy)
mcp-proxy --port 8002 -- node build/index.jsAuthentication
On first use, call the auth-spotify tool. It will open a browser window for Spotify OAuth. Tokens are persisted to ~/.spotify-mcp/tokens.json so you only need to authenticate once.
License
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/GraysonCAdams/spotify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server