SpotifyMCP
БесплатноНе проверенEnables creating and searching Spotify playlists through natural language using the Model Context Protocol.
Описание
Enables creating and searching Spotify playlists through natural language using the Model Context Protocol.
README
This is a TypeScript-based MCP server for Spotify based on the Model Context Protocol.
Features
Tools
create_playlist- Create a new Spotify playlist.- Takes name, description, tracks, and public status as parameters.
- Returns the URI of the created playlist.
Prompts
search_songs- Search for songs on Spotify.- Takes a search query and an optional limit for results.
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"SpotifyMCP": {
"command": "node",
"args": [
"/Users/your_username/Documents/SideProjects/MCPs/spotify-mcp/build/index.js"
],
"env": {
"SPOTIFY_CLIENT_ID": "your_client_id_here",
"SPOTIFY_CLIENT_SECRET": "your_client_secret_here",
"SPOTIFY_REFRESH_TOKEN": "your_refresh_token_here"
}
},
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.
Setup Instructions
Create a Spotify Developer Account
Visit Spotify Developer and create an account.Create a New Application
After logging in, create a new application to obtain your Client ID and Client Secret.Set Up Redirect URI
In your Spotify application settings, configure the redirect URI to:http://localhost:8888/callbackCreate a
.envFile
In the root of your project, create a.envfile and add the following environment variables:SPOTIFY_CLIENT_ID=your_client_id_here SPOTIFY_CLIENT_SECRET=your_client_secret_here SPOTIFY_REDIRECT_URI=http://localhost:8888/callbackGet Your Spotify Token
Run the following command to obtain your Spotify token:npx ts-node src/scripts/get-spotify-token.tsLogin to Your Application
Visit http://localhost:8888/login in your browser Copy the refresh token and set it in your environment variables: SPOTIFY_REFRESH_TOKEN=your_refresh_token_here
Установка SpotifyMCP
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/carllapierre/spotify-mcpFAQ
SpotifyMCP MCP бесплатный?
Да, SpotifyMCP MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для SpotifyMCP?
Нет, SpotifyMCP работает без API-ключей и переменных окружения.
SpotifyMCP — hosted или self-hosted?
Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.
Как установить SpotifyMCP в Claude Desktop, Claude Code или Cursor?
Открой SpotifyMCP на 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 SpotifyMCP with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории media
