MCP.so
登录

Spotify MCP Server

@jmoro0408

基本信息

分类

媒体与设计

许可证

MIT

传输方式

stdio

作者

jmoro0408

关于 Spotify MCP Server

MCP Server to control Spotify

#spotify#mcp#spotify-integration

Spotify MCP Server 配置

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

{
  "mcpServers": {
    "spotify_mcp": {
      "command": "python",
      "args": [
        "-m",
        "venv",
        ".venv"
      ]
    }
  }
}

Spotify MCP Server 工具

工具列表暂未提供

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

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

概览

What is spotify_mcp?

spotify_mcp is a Spotify integration built using the Model Context Protocol (MCP). It provides tools and resources for interacting with the Spotify API, enabling control over playback and access to user data through the MCP framework.

How to use spotify_mcp?

Clone the repository, set up a virtual environment, install dependencies with uv sync, configure Spotify API credentials in a .env file, and run python src/server.py. For use with Claude as an MCP client, edit claude_desktop_config.json to include the server configuration with your Spotify credentials.

Key features of spotify_mcp

  • Play, pause, skip, and control Spotify playback.
  • Access and manage user playlists.
  • Play user’s liked songs and recently played tracks.
  • Control shuffle mode and add songs to queue.
  • Retrieve most played songs per week/month/year.

Use cases of spotify_mcp

  • Let an AI assistant play a requested song on your Spotify.
  • Have the assistant fetch and show your playlists, then start playback from one.
  • Automate skipping tracks or turning shuffle on/off during a listening session.
  • Get a summary of your recently played or most played tracks via a chat interface.

常见问题

1

What are the prerequisites to run spotify_mcp?

You need a Spotify Developer account with a registered application, a redirect URI (typically `http://localhost:8888/callback`), and Python with a virtual environment.

2

How do I authenticate with Spotify?

You must set the environment variables `SPOTIPY_CLIENT_ID`, `SPOTIPY_CLIENT_SECRET`, and `SPOTIPY_REDIRECT_URI` in a `.env` file or in the MCP client configuration.

3

What transport does spotify_mcp use?

The README specifies running an MCP server via `python src/server.py`. Integration with clients like Claude uses standard MCP configuration (stdio transport).

4

Can I create or modify playlists with spotify_mcp?

Currently, adding songs to a playlist, adding tracks, and creating playlists are listed as “To Implement” and are not yet supported.

5

What data does spotify_mcp access?

It accesses playback state (current song, queue), user playlists, liked songs, recently played tracks, and listening history (most played songs by period).

评论

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