Spotify Server (Python)
БесплатноНе проверенEnables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and rece
Описание
Enables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and recently played.
README
MCP server for Spotify integration using PKCE authentication.
Features
- PKCE authentication (no client secret needed)
- Automatic token caching and refresh
- 14 Spotify tools for search, user data, and more
Installation
cd spotify-mcp-py
pip install -e .
Setup
Create Spotify App at https://developer.spotify.com/dashboard:
- Add redirect URI:
http://127.0.0.1:8888/callback - Copy your Client ID
- Add redirect URI:
Configure Claude Desktop at
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"spotify": {
"command": "python",
"args": [
"-m",
"spotify_mcp.server"
],
"env": {
"SPOTIFY_CLIENT_ID": "your_client_id_here"
}
}
}
}
- Restart Claude Desktop - browser will open for Spotify login on first use
Available Tools
search_tracks- Search for tracksget_track- Get track detailssearch_artists- Search for artistsget_artist- Get artist detailsget_artist_top_tracks- Get artist's top trackssearch_albums- Search for albumsget_album- Get album detailssearch_playlists- Search for playlistsget_playlist- Get playlist detailsget_current_user- Get user profileget_user_playlists- Get user's playlistsget_user_top_tracks- Get user's top tracksget_user_top_artists- Get user's top artistsget_recently_played- Get recently played tracks
Token Cache
Tokens are cached in ~/.spotify-mcp/token-cache.json and automatically refreshed.
Установить Spotify Server (Python) в Claude Desktop, Claude Code, Cursor
unyly install spotify-mcp-server-pythonСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add spotify-mcp-server-python -- uvx spotify-mcpFAQ
Spotify Server (Python) MCP бесплатный?
Да, Spotify Server (Python) MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Spotify Server (Python)?
Нет, Spotify Server (Python) работает без API-ключей и переменных окружения.
Spotify Server (Python) — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Spotify Server (Python) в Claude Desktop, Claude Code или Cursor?
Открой Spotify Server (Python) на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Omni 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/
автор: buildwithtazaARA
Generate images, video and audio from any AI agent — one connector.
автор: ARAYouTube
Transcripts, channel stats, search
автор: YouTubeEverArt
AI image generation using various models.
автор: modelcontextprotocolCompare Spotify Server (Python) with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории media
