Spotify Mcp Windows
БесплатноНе проверенSpotify Mcp Windows — Model Context Protocol server
Описание
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! 🎧
Установить Spotify Mcp Windows в Claude Desktop, Claude Code, Cursor
unyly install spotify-mcp-windowsСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add spotify-mcp-windows -- uvx spotify-mcpПошаговые гайды: как установить Spotify Mcp Windows
FAQ
Spotify Mcp Windows MCP бесплатный?
Да, Spotify Mcp Windows MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Spotify Mcp Windows?
Нет, Spotify Mcp Windows работает без API-ключей и переменных окружения.
Spotify Mcp Windows — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Spotify Mcp Windows в Claude Desktop, Claude Code или Cursor?
Открой Spotify Mcp Windows на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
ARA
Generate images, video and audio from any AI agent — one connector.
автор: 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/
автор: buildwithtazaYouTube
Transcripts, channel stats, search
автор: YouTubeEverArt
AI image generation using various models.
автор: 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
автор: 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,
автор: 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.
автор: merterbakSureScaleAI/openai-gpt-image-mcp
OpenAI GPT image generation/editing MCP server.
автор: SureScaleAIYangLiangwei/PersonalizationMCP
Comprehensive personal data aggregation MCP server with Steam, YouTube, Bilibili, Spotify, Reddit and other platforms integrations. Features OAuth2 authenticati
автор: YangLiangweiAceDataCloud/MCPFlux
Flux AI image generation and editing (Black Forest Labs) via Ace Data Cloud API.
автор: AceDataCloudCompare Spotify Mcp Windows with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории media
