spotify-mcp
Provides tools for interacting with Spotify, including search, playback control, playlist management, library insights, and listening trends.
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-mcpsummarize my listening trends from last month"
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
A remote MCP server for Spotify with brokered OAuth and a server-side intelligence layer. Add it to Claude as a custom connector, log in to Spotify once, and every tool works. No local install, no JSON editing, no per-user Spotify developer app.
Use the hosted server
In Claude, go to Settings, then Connectors, then "Add custom connector".
Paste this URL:
https://spotify-mcp-u1c9.onrender.com/mcpClaude opens a Spotify login page. Approve it.
Ask Claude to call
get_initial_contextto confirm the connection.
You authenticate once. The server encrypts your Spotify tokens at rest and refreshes them transparently.
Note: the Spotify app behind the hosted server runs in Development Mode, which Spotify caps at 5 authorized users. Your Spotify account email must be allowlisted by the owner before you can log in. If you are not on the list, self-host instead.
Related MCP server: spotify-mcp
Self-hosting
You need: a Spotify developer app, a free Neon Postgres database, and a free Render web service (Fly.io or Railway work too).
Spotify dashboard: create an app. Add
https://<your-host>/callbackas a redirect URI. Note the client ID and secret. The app owner needs active Premium for the playback tools, and each user's Spotify email must be added under User Management while in Development Mode (5 max).Neon: create a project and copy the connection string.
Render: create a web service from this repo.
Build command:
npm ci --include=dev && npm run build && npm run db:migrate(the--include=devmatters: Render setsNODE_ENV=production, which otherwise skips the dev dependencies the build needs; migrations run againstDATABASE_URLon each deploy and are idempotent)Start command:
npm startHealth check path:
/healthz
Environment variables: set every variable from
.env.examplein the Render dashboard. Nothing sensitive lives in the repo; the server validates the environment at boot and exits with a specific message if anything is missing or malformed. GenerateMASTER_ENCRYPTION_KEYwithnode -e "console.log(require('crypto').randomBytes(32).toString('base64'))"and use a long random string forJWT_SIGNING_KEY.SPOTIFY_REDIRECT_URImust be exactly<PUBLIC_BASE_URL>/callbackand must match the redirect URI registered in the Spotify dashboard character for character. IfMASTER_ENCRYPTION_KEYever changes, all stored tokens become undecryptable and every user must reconnect.Verify
https://<your-host>/healthzreturns 200 andhttps://<your-host>/.well-known/oauth-authorization-serverreturns metadata, then connect from Claude as above. The connector URL ishttps://<your-host>/mcp; the/mcppath is required.
Development
npm install
npm run dev # tsx watch with a local .env
npm test # full suite: unit + integration against in-memory Postgres
npm run typecheckTests need no network or credentials. The full system design, tool reference, and decisions log live in spotifymcp.md.
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
- Alicense-qualityCmaintenanceEnables control of Spotify through natural language by searching the catalog, managing playback and devices, controlling playlists, and managing saved songs. Includes OAuth authentication and streamable HTTP transport for remote connectivity.Last updated3480ISC
- AlicenseBqualityDmaintenanceAn MCP server that enables users to control Spotify playback, search music, and manage playlists through natural conversation. It is updated for the February 2026 Spotify Web API changes and supports full playlist CRUD operations.Last updated65MIT
- Alicense-qualityCmaintenanceAn MCP server for Spotify control and synchronized lyrics retrieval that enables playback management, queue navigation, and music search capabilities. It also features perception tools for real-time track analysis, including BPM, key detection, and timestamped lyrics.Last updated843Apache 2.0
- Alicense-qualityDmaintenanceAn MCP server that enables users to control Spotify playback, search for music, and manage playlists through MCP-compatible clients. It supports features like track recommendations and playback management using secure OAuth authentication.Last updatedMIT
Related MCP Connectors
Spotify MCP — Web API via client_credentials OAuth
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
MCP server for generating rough-draft project plans from natural-language prompts.
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/markandeyay/spotify-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server