Spotify Soundtrack MCP
v1.1.0Spotify + TMDB tools: movie soundtrack playlists, playlist curation, taste stats and playback.
Values you need
| Variable | What it is | |
|---|---|---|
SPOTIPY_CLIENT_ID | required | Client ID of your Spotify app (https://developer.spotify.com/dashboard). Sign-in uses PKCE, so no client secret is needed. |
SPOTIPY_REDIRECT_URI | optional | Redirect URI registered for your Spotify app. Default: http://127.0.0.1:8888/callback |
TMDB_API_KEY | optional secret | TMDB v3 API key for movie, cast and filmography lookups. Set this or TMDB_READ_ACCESS_TOKEN. |
TMDB_READ_ACCESS_TOKEN | optional secret | TMDB v4 Read Access Token, an alternative to TMDB_API_KEY. |
SPOTIFY_TOOLSETS | optional | Comma-separated toolsets to load: core, playback, playlists, search, taste, library, browse or all. Default: core |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add spotify-soundtrack-mcp -e 'SPOTIPY_CLIENT_ID=<SPOTIPY_CLIENT_ID>' -- uvx --from spotify-soundtrack-mcp==1.1.0 spotify-mcp --transport stdioAdd to
claude_desktop_config.json{
"mcpServers": {
"spotify-soundtrack-mcp": {
"args": [
"--from",
"spotify-soundtrack-mcp==1.1.0",
"spotify-mcp",
"--transport",
"stdio"
],
"command": "uvx",
"env": {
"SPOTIPY_CLIENT_ID": "<SPOTIPY_CLIENT_ID>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"spotify-soundtrack-mcp": {
"args": [
"--from",
"spotify-soundtrack-mcp==1.1.0",
"spotify-mcp",
"--transport",
"stdio"
],
"command": "uvx",
"env": {
"SPOTIPY_CLIENT_ID": "<SPOTIPY_CLIENT_ID>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SPOTIPY_CLIENT_ID",
"id": "spotipy-client-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"spotify-soundtrack-mcp": {
"args": [
"--from",
"spotify-soundtrack-mcp==1.1.0",
"spotify-mcp",
"--transport",
"stdio"
],
"command": "uvx",
"env": {
"SPOTIPY_CLIENT_ID": "${input:spotipy-client-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.spotify-soundtrack-mcp]
command = "uvx"
args = ["--from", "spotify-soundtrack-mcp==1.1.0", "spotify-mcp", "--transport", "stdio"]
env = { "SPOTIPY_CLIENT_ID" = "<SPOTIPY_CLIENT_ID>" }For AI agents
- Ask the user for: SPOTIPY_CLIENT_ID. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: create_actor_playlist, create_playlist, add_tracks_to_playlist, dedupe_playlist, add_movie_songs_to_playlist, get_user_playlists, reorder_playlist_by_audio_features, get_playlist_tracks, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json