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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Spotify MCP — Web API via client_credentials OAuth
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Hosted remote MCP server for YNAB on Cloudflare Workers with OAuth
Zero-dependency Cloudflare Worker gateway turning websites and REST APIs into MCP tools.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables controlling Spotify playback through natural language commands in MCP clients like Cursor or Claude for Desktop.1-
- AlicenseAqualityDmaintenanceA 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.412MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search Spotify and manage playlists, library, and playback via a remote MCP server running on Cloudflare Workers.118 npm1MIT
- AlicenseNot gradedqualityDmaintenanceA remote MCP server for Spotify with brokered OAuth and server-side intelligence, enabling search, playlist management, playback control, library analysis, and listening trends via natural language.118 npm4MIT