Enables control of Spotify playback and management of your queue through a Model Context Protocol (MCP) server.
Enables control of Spotify playback and management of your queue through a Model Context Protocol (MCP) server. The spotify mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 2 defined tools rather than through you.
MCP project to connect Claude with Spotify. Built on top of spotipy-dev's API.
The server ships on npm as @modelcontextprotocol/inspector, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Everything the assistant can do here goes through one of these:
Troubleshooting — Please open an issue if you can't get this MCP working. Here are some tips: 1. Make sure uv is updated. I recommend version >=0.54. 2. Make sureDebugging — Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCPYou will need 6 environment variables: SPOTIFY_REDIRECT_URI, SPOTIFY_CLIENT_ID, YOUR_CLIENT_ID, SPOTIFY_CLIENT_SECRET, YOUR_CLIENT_SECRET, UV_PUBLISH_TOKEN. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Spotify's toolset — Troubleshooting, Debugging — is a fair guide to whether it matches your workflow. It is maintained by Naunau75; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Spotify's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Troubleshooting | Please open an issue if you can't get this MCP working. Here are some tips: 1. Make sure uv is updated. I recommend version >=0.54. 2. Make sure claude has execution permisisons for the project: chmod -R 755. 3. Ensure y |
| Debugging | Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector). |
{
"mcpServers": {
"spotify-6": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/inspector"],
"env": {
"SPOTIFY_REDIRECT_URI": "your-value",
"SPOTIFY_CLIENT_ID": "your-value",
"YOUR_CLIENT_ID": "your-value",
"SPOTIFY_CLIENT_SECRET": "your-value",
"YOUR_CLIENT_SECRET": "your-value",
"UV_PUBLISH_TOKEN": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| SPOTIFY_REDIRECT_URI | Filesystem location the server is allowed to use. | Optional |
| SPOTIFY_CLIENT_ID | Configuration value read at startup. | Optional |
| YOUR_CLIENT_ID | Configuration value read at startup. | Optional |
| SPOTIFY_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| YOUR_CLIENT_SECRET | Credential the server authenticates with. | Yes |
| UV_PUBLISH_TOKEN | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.