MCP.so
登录

MCP Server for Spotify

@richbai90

基本信息

分类

媒体与设计

传输方式

stdio

作者

richbai90

关于 MCP Server for Spotify

A spotify MCP server

MCP Server for Spotify 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "spotify-mcp-richbai90": {
      "command": "node",
      "args": [
        "dist/index.js"
      ]
    }
  }
}

MCP Server for Spotify 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server for Spotify?

MCP Server for Spotify integrates with the Spotify API, allowing you to search music, manage playlists, and get recommendations through Claude. It is for Spotify users who want to control their music library conversationally via an MCP-compatible AI.

How to use MCP Server for Spotify?

Obtain a Spotify App from the Developer Dashboard, set the redirect URI to http://localhost:8888/callback, and use the included auth app to get a refresh token. Set environment variables SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, and SPOTIFY_REFRESH_TOKEN, then run the server via npm install && npm run build && node dist/index.js or with Docker using podman run. Add the provided JSON configuration to Claude’s MCP server list.

Key features of MCP Server for Spotify

  • Search for tracks, artists, and albums
  • Create and modify playlists
  • Browse user playlists
  • Get music recommendations based on tracks, artists, and genres
  • Works with Claude through MCP

Use cases of MCP Server for Spotify

  • Ask Claude to search for songs, albums, or artists
  • Create a playlist based on a theme or genre
  • Add tracks to an existing playlist
  • Explore your own Spotify playlists
  • Get track recommendations similar to your favorites

常见问题

1

How do I set up authentication?

Create a Spotify App, set the redirect URI to `http://localhost:8888/callback`, run the auth app in the `auth-app` directory, and follow the browser authorization to obtain a refresh token.

2

What environment variables are required?

You need `SPOTIFY_CLIENT_ID`, `SPOTIFY_CLIENT_SECRET`, and `SPOTIFY_REFRESH_TOKEN`.

3

How do I run the server?

Install dependencies with `npm install`, build with `npm run build`, and run `node dist/index.js`. Alternatively, build the Docker image and run the container with the required environment variables.

4

How do I use this with Claude?

Add the MCP configuration (shown in the README) to your Claude client’s `mcpServers` object, specifying the Spotify server with your credentials.

5

What actions can Claude perform?

Claude can search music, create/modify playlists, browse your playlists, and get recommendations based on your preferences.

评论

媒体与设计 分类下的更多 MCP 服务器