About
Spotify Mcp Windows — Model Context Protocol server
README
A Windows-friendly launcher for the spotify-mcp Model‑Context‑Protocol server. Use it to control Spotify via Claude Desktop or any MCP-enabled client.
What's different?
- Python entry point
spotify_mcp.main()sopython -c ...works on Windows. - Tested with Conda,
spotipy==2.24.0andmcp==1.3.0. - Detailed Windows instructions for Claude config and Spotify OAuth.
Prerequisites
| Tool | Version tested |
|---|---|
| Python | 3.9–3.11 (Conda) |
| Conda | Anaconda / Miniconda |
| git | latest |
| Claude Desktop | ≥ May 2025 build |
| Spotify Premium | required for playback API |
Clone & create environment
git clone https://github.com/YOUR_USER/spotify-mcp-windows.git
cd spotify-mcp-windows
conda create -n spotify-mcp python=3.10
conda activate spotify-mcp
pip install -r requirements.txt
Spotify Developer credentials
- Visit https://developer.spotify.com/dashboard and Create an App.
- Add redirect URI
http://127.0.0.1:8000/callback. - Grab your Client ID and Client Secret.
Create .env (in the project root):
SPOTIFY_CLIENT_ID=<YOUR_CLIENT_ID>
SPOTIFY_CLIENT_SECRET=<YOUR_CLIENT_SECRET>
SPOTIFY_REDIRECT_URI=http://127.0.0.1:8000/callback
Never commit .env—it's in .gitignore.
Claude Desktop configuration (Windows)
Open %APPDATA%\Claude\claude_desktop_config.json and add:
{
"mcpServers": {
"spotify": {
"command": "C:/Users/<YOU>/.conda/envs/spotify-mcp/python.exe",
"args": [
"-c",
"import sys; sys.path.insert(0, 'C:/Users/<YOU>/spotify-mcp-windows/src'); from spotify_mcp import main; main()"
],
"cwd": "C:/Users/<YOU>/spotify-mcp-windows",
"env": {
"SPOTIFY_CLIENT_ID": "<YOUR_CLIENT_ID>",
"SPOTIFY_CLIENT_SECRET": "<YOUR_CLIENT_SECRET>",
"SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8000/callback"
}
}
}
}
commandpoints to the Conda Python.argsimportspotify_mcp.main()manually.- Variables allow
spotipyto authenticate.
Restart Claude Desktop, then Settings ▸ Manage MCPs should list spotify in green.
Running
python -m spotify_mcp --help
If needed, call the callback URL directly:
curl "http://127.0.0.1:8000/callback?code=<SPOTIFY_CODE>"
Authorize Spotify
In a Claude chat:
Check my Spotify authentication
Claude opens the OAuth consent page. Click Agree. If the browser shows “connection refused” it just means the MCP captured the token. Claude should reply “Spotify authenticated successfully.”
Try it out
Play some lofi beats
What song is playing?
Add this track to my Focus playlist
Troubleshooting
| Issue | Fix |
|---|---|
No client_id error |
Check both Claude env block and .env. |
Browser redirects to /8000/ but Claude hangs |
Ensure redirect URI matches everywhere. |
| “Server disconnected” AppleScript MCP | Ignore—Claude’s macOS handler. |
| Port already in use | Pick another port in all places (8088 etc.). |
Development
flake8 src # lint
pytest # run tests (currently minimal)
Contributions welcome—open issues or PRs.
Security note
.envis git‑ignored; never push real keys.- If you leak a secret, regenerate it in the Spotify dashboard and rewrite history.
License / credits
Based on @varunneal/spotify-mcp. See LICENSE for original terms.
Happy hacking – enjoy voice‑controlling Spotify on Windows via Claude! 🎧
Install Spotify Mcp Windows in Claude Desktop, Claude Code & Cursor
unyly install spotify-mcp-windowsInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add spotify-mcp-windows -- uvx spotify-mcpStep-by-step: how to install Spotify Mcp Windows
FAQ
Is Spotify Mcp Windows MCP free?
Yes, Spotify Mcp Windows MCP is free — one-click install via Unyly at no cost.
Does Spotify Mcp Windows need an API key?
No, Spotify Mcp Windows runs without API keys or environment variables.
Is Spotify Mcp Windows hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Spotify Mcp Windows in Claude Desktop, Claude Code or Cursor?
Open Spotify Mcp Windows on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
Unified GPU inference API with 30 AI services (LLM, image gen, video, TTS, whisper, embeddings, reranking, OCR) as MCP tools. Pay-per-use via x402 USDC or API k
by gpu-bridgehamflx/imagen3-mcp
A powerful image generation tool using Google's Imagen 3.0 API through MCP. Generate high-quality images from text prompts with advanced photography, artistic,
by hamflxmerterbak/Grok-MCP
MCP server for xAI's [Grok API](https://docs.x.ai/docs/overview) with agentic tool calling, image generation, vision, and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
by SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
by YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
by AceDataCloudCompare Spotify Mcp Windows with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
