Skip to main content
Glama

Spotify MCP

by ashwanth1109

Spotify MCP

Spotify 的 FastMCP 工具。

演示

链接: https ://drive.google.com/file/d/1jGGQBzeXSKSJijeUwFZLdvrKPmPuogGd/

先决条件

安装

  • 克隆此存储库
  • 在存储库的根目录中创建一个.env文件并添加您的 Spotify API 凭据(从.env.example复制过来)
  • 您可以通过前往Spotify 开发者仪表板并创建应用程序来获取您的凭据。
  • 前往“光标设置”>“功能”>“MCP 服务器”>“+ 添加新的 MCP 服务器”
  • 名称:Spotify,类型:命令,命令:uv --directory <path-to-repository/mcp-spotify> run main.py

您现在应该看到该工具已安装。安装的\_mcp

尝试一下

  • 以“代理”模式打开Composer ,瞧,您就可以使用光标控制您的 Spotify 播放器了。(确保您已在活动设备上打开了 spotify)

特征

下面是一个示例对话,展示了如何通过 Cursor Composer 与 Spotify MCP 工具进行交互:

  1. 用户: “显示我的播放列表。”
    回复: “这是你的播放列表:Chill Vibes、Workout Mix、Top Hits。”
  2. 用户: “播放我的‘Chill Vibes’播放列表。”
  3. 用户: “暂停歌曲。”
    响应: “播放暂停。”
  4. 用户: “继续播放歌曲。”
    响应: “恢复播放...”
  5. 用户: “这是什么歌?”
    回应: “您正在听艾伦·沃克的《Faded》。”
  6. 用户: “告诉我有关这位艺术家的信息并给我展示一些流行曲目。”
    回复: “艺术家信息:艾伦·沃克。”
  7. 用户: “向我展示过去 6 个月内我最喜欢的艺术家。”
    回复: “这些是你播放次数最多的艺术家……”
  8. 用户: “搜索酷玩乐队。”
    回复: “找到艺术家:酷玩乐队。以下是他们的热门曲目……”
  9. 用户: “播放歌曲‘Fix You’。”
    回应: “开始播放‘Fix You’...”
  10. 用户: “显示我的队列。”
    响应: “当前队列:曲目 1、曲目 2、曲目 3...”
  11. 用户: “将‘天堂’添加到我的队列中。”
    回复: “已将酷玩乐队的《天堂》添加到您的队列中。”
  12. 用户: “将‘天堂’移到队列的上部。”
  13. 用户: “设置为重复播放。”
  14. 用户: “我喜欢这首歌。推荐一些类似的曲目。”
    回复: “以下是根据这首歌提出的一些建议……”
  15. 用户: “将这首曲目添加到我的‘Chill Vibes’播放列表中。”

其他可用功能:

  • 寻找到轨道中的特定位置
  • 查看详细播放状态
  • 一次跳过多个曲目

如果您希望支持更多功能,请随时提出问题!

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

FastMCP 工具,可通过 Cursor Composer 中的自然语言命令控制 Spotify,让用户管理播放、搜索内容以及与播放列表进行交互。

  1. 演示
    1. 先决条件
      1. 安装
        1. 尝试一下
          1. 特征

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A FastMCP-based tool for interacting with Splunk Enterprise/Cloud through natural language. This tool provides a set of capabilities for searching Splunk data, managing KV stores, and accessing Splunk resources
              Last updated -
              12
              59
              Python
              Apache 2.0
              • Apple
            • A
              security
              F
              license
              A
              quality
              A lightweight Model Context Protocol server that enables AI assistants like Cursor & Claude to control Spotify playback and manage playlists.
              Last updated -
              12
              99
              TypeScript
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables controlling Spotify playback through natural language commands in MCP clients like Cursor or Claude for Desktop.
              Last updated -
              2
              TypeScript
            • A
              security
              A
              license
              A
              quality
              A powerful MCP tool for parsing and manipulating MIDI files that allows users to read, analyze, and modify MIDI files through natural language commands, supporting operations like reading file information, modifying tracks, adding notes, and setting tempo.
              Last updated -
              11
              427
              5
              JavaScript
              MIT License
              • Linux
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/ashwanth1109/mcp-spotify'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server