Spotify MCP
Provides tools for searching tracks, albums, artists, and playlists, managing playback controls (play, pause, skip, volume), inspecting the queue and devices, and performing playlist read/write operations.
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 'Blinding Lights' and add it to my queue"
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
Remote Spotify MCP server hosted on Cloudflare Workers.
This project exposes Spotify tools over remote MCP at /mcp and uses OAuth so each end user connects their own Spotify account. It is intended for any MCP client that supports:
Remote MCP over HTTP
OAuth 2.0/2.1 authorization code flow
OAuth discovery via
/.well-known/oauth-authorization-serverProtected resource metadata via
/.well-known/oauth-protected-resourceDynamic client registration or pre-registered OAuth clients
Poke is one supported client, but the server is no longer branded or scoped only to Poke.
What it supports
Spotify search across tracks, albums, artists, and playlists
Playback inspection, queue inspection, and device inspection
Playback control: play, pause, resume, skip, queue, and volume
Playlist reads and writes
Album save/remove checks
Per-user Spotify OAuth with encrypted token storage in Workers KV
Related MCP server: Spotify MCP Server
Architecture
src/index.ts: Cloudflare Worker entrypoint, OAuth flow, and MCP transportsrc/spotify.ts: Spotify OAuth, token refresh, encryption, and API helperssrc/tools.ts: MCP tool definitionssrc/html.ts: landing page and authorization UI
Cloudflare setup
This Worker uses:
OAUTH_KVfor OAuth provider state and grantsSPOTIFY_TOKENSfor encrypted per-user Spotify token storageWorker secrets for Spotify credentials and the app encryption secret
Create the KV namespaces and bind them in wrangler.jsonc, then regenerate types:
npx wrangler kv namespace create OAUTH_KV
npx wrangler kv namespace create SPOTIFY_TOKENS
npx wrangler typesSet the required secrets:
npx wrangler secret put SPOTIFY_CLIENT_ID
npx wrangler secret put SPOTIFY_CLIENT_SECRET
npx wrangler secret put APP_ENCRYPTION_SECRETRun locally or deploy:
npx wrangler dev
npx wrangler deployClient setup
Configure your MCP client to use:
https://<your-worker-subdomain>.workers.dev/mcpClients should discover these OAuth endpoints automatically:
/.well-known/oauth-authorization-server/.well-known/oauth-protected-resource
If your client requires manual OAuth metadata, use the same base URL.
Poke example
If you are using Poke custom integrations, use the same MCP URL:
https://<your-worker-subdomain>.workers.dev/mcpPoke should discover the OAuth metadata endpoints automatically.
Spotify dashboard setup
Your Spotify app must allow this redirect URI:
https://<your-worker-subdomain>.workers.dev/spotify/callbackWithout that redirect URI configured in the Spotify Developer Dashboard, Spotify login will fail on callback.
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 Servers
- FlicenseBqualityCmaintenanceA lightweight Model Context Protocol server that enables AI assistants like Cursor & Claude to control Spotify playback and manage playlists.Last updated22404
- Flicense-qualityDmaintenanceA Model Context Protocol server that enables controlling Spotify playback through natural language commands in MCP clients like Cursor or Claude for Desktop.Last updated1
- FlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude Desktop to interact with Spotify's music streaming service, supporting playback control, playlist management, music search, and user profile access.Last updated412
- Alicense-qualityDmaintenanceAn unofficial MCP server that provides access to Spotify's Web API through the Model Context Protocol, enabling AI assistants to search music, manage playlists, and control playback.Last updated349ISC
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
User-owned memory for AI agents, Copilot, Claude, IDEs, CLIs, and chat apps over remote MCP.
Create, browse, remix, collaborate on, and run durable AI workflow nodes from MCP hosts.
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/guirguispierre/spotifyMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server