Spotify MCP
Provides tools for searching tracks, albums, artists, and playlists, managing liked songs, saved albums, and playlists, and controlling playback and queue 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 MCPsearch for 'Bohemian Rhapsody' and add it to my Liked 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.
Spotify MCP
Spotify MCP server with OAuth authentication, built on Cloudflare Workers.
Connect your Spotify account to a compatible remote MCP client to search music, manage your library and playlists, and control playback. The server is not exclusive to Grok: client support depends on remote HTTP MCP and OAuth capabilities.
Features
Search tracks, albums, artists, and playlists.
Read and manage liked songs, saved albums, and playlists.
Inspect playback, queue, and available devices.
Control playback and queue tracks (subject to Spotify account and device requirements).
Per-user Spotify authorization, token refresh, and encrypted token storage in Workers KV.
Related MCP server: Spotify Universal MCP Server
Documentation
Deployment and recovery: deploy your own instance or restore an existing one.
AI handoff: context and checks for an assistant or future maintainer.
Quick start
You need Node.js LTS, a Cloudflare account, and a Spotify developer application.
npm ci
npx wrangler login
npx wrangler whoamiConfigure your own account and KV namespaces in wrangler.jsonc, then add the three required Worker secrets:
npx wrangler secret put SPOTIFY_CLIENT_ID
npx wrangler secret put SPOTIFY_CLIENT_SECRET
npx wrangler secret put APP_ENCRYPTION_SECRET
npx wrangler types
npx tsc --noEmit
npm test -- --run
npx wrangler deployThe configuration currently contains the maintainer's deployment identifiers. Replace them when deploying to a different account; they are identifiers, not credentials. Follow the complete setup instructions before deploying.
Register this exact redirect URI in your Spotify application:
https://<your-worker>.<your-subdomain>.workers.dev/spotify/callbackThen add this server URL to your MCP client and complete Spotify authorization:
https://<your-worker>.<your-subdomain>.workers.dev/mcpProject structure
src/ Worker entrypoint, Spotify integration, tools, and authorization UI
test/ Automated tests
scripts/ Optional live, read-only verification helper
docs/ Deployment, recovery, and maintainer notesSecurity and backups
Credentials belong in Cloudflare Worker secrets, never in this repository. Source code is not a backup of live KV data or secrets. Keep your Cloudflare account, Spotify application, and encryption key available to preserve existing authorizations. Do not upload local environment files, tokens, caches, or dependency folders.
Origin
Based on guirguispierre/spotifyMCP, with Spotify API compatibility fixes, additional tests, and recovery documentation. This repository does not declare an additional license for the upstream code.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Spotify MCP — Web API via client_credentials OAuth
Full Spotify Web API coverage - albums, artists, playlists, player controls, and more.
An authenticated remote MCP server for user-owned devices and one-shot capability invocation.
Spotify: Spotify Data API for Millions of songs & podcasts, artists, albums, playlists and more.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables control of Spotify playback, search, and playlist management through MCP tools and Apple Shortcuts/Siri integration via HTTP bridge.12-
- AlicenseNot gradedqualityDmaintenanceEnables interaction with Spotify's services and tools through a standardized MCP interface, allowing control of music streaming and playback.MIT
- AlicenseNot gradedqualityDmaintenanceEnables control of Spotify playback, track search, and user profile retrieval via MCP tools with automatic OAuth token management.1093MIT
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and recently played.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/deprised/spotify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server