
Spotify-MCP
Un servidor MCP Spotify
1
Github Watches
1
Github Forks
1
Github Stars
MCP Server for Spotify
This MCP server integrates with the Spotify API to allow you to manage and create playlists through Claude.
Features
- Search for tracks, artists, and albums
- Create and modify playlists
- Browse user playlists
- Get recommendations based on tracks, artists, and genres
Authentication Setup
- Create a Spotify App in the Spotify Developer Dashboard
- Set the redirect URI to
http://localhost:8888/callback
- Use the included auth app to get your refresh token:
# Go to the auth-app directory
cd auth-app
# Install dependencies
npm install
# Run the auth app
npm start
-
Follow the instructions in the browser to authorize and obtain your refresh token
-
Set the required environment variables:
export SPOTIFY_CLIENT_ID="your-client-id"
export SPOTIFY_CLIENT_SECRET="your-client-secret"
export SPOTIFY_REFRESH_TOKEN="your-refresh-token"
Running the Server
Once you have the required environment variables, you can run the server:
# From the root directory
npm install
npm run build
node dist/index.js
Docker Usage
You can also build and run the server using Docker:
# Build the Docker image
podman build -t mcp/spotify -f src/spotify/Dockerfile .
# Run the container with environment variables
podman run -e SPOTIFY_CLIENT_ID="your-client-id" \
-e SPOTIFY_CLIENT_SECRET="your-client-secret" \
-e SPOTIFY_REFRESH_TOKEN="your-refresh-token" \
mcp/spotify
Usage with Claude
Add the following to your server configuration
{
"mcpServers": {
"spotify": {
"command": "podman",
"args": [
"run",
"-i",
"--rm",
"-e",
"SPOTIFY_CLIENT_ID=your-client-id",
"-e",
"SPOTIFY_CLIENT_SECRET=your-client-secret",
"-e",
"SPOTIFY_REFRESH_TOKEN=your-refresh-token",
"mcp/spotify"
]
}
}
}
Prompting
Once the MCP server is running, Claude can utilize it to:
- Search for music on Spotify
- Create playlists based on themes or genres
- Add tracks to playlists
- Explore your existing playlists
- Get recommendations based on your music preferences
Simply ask Claude to create a playlist or find music, and it will utilize the appropriate Spotify API tools through the MCP server.
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
La aplicación AI de escritorio todo en uno y Docker con trapo incorporado, agentes de IA, creador de agentes sin código, compatibilidad de MCP y más.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Plataforma de automatización de flujo de trabajo de código justo con capacidades de IA nativas. Combine el edificio visual con código personalizado, auto-anfitrión o nube, más de 400 integraciones.
Espejo dehttps: //github.com/agentience/practices_mcp_server
🧑🚀 全世界最好的 llM 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Resumen de los mejores recursos del mundo.
Una lista curada de servidores de protocolo de contexto del modelo (MCP)
Reviews

user_PO2joOwd
spotify-mcp by richbai90 is a fantastic tool for enhancing your Spotify experience. Its seamless integration and easy-to-use interface make managing playlists and discovering new music a breeze. Highly recommend for any music enthusiast looking to streamline their Spotify usage! Check it out on GitHub: https://github.com/richbai90/spotify-mcp