MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

MCP server by netteNz

创建于 4/29/2026
更新于 about 3 hours ago
Repository documentation and setup instructions

Spotify MCP Server

A Model Context Protocol (MCP) server for Spotify, built with FastMCP and spotipy.

Features

  • Playback Control: Play, pause, skip, set volume, list devices.
  • Library Management: Access saved tracks, playlists, and followed artists.
  • Analytics & Recommendations: Get audio features, top tracks, and recommendations.
  • Search: Search for tracks, artists, albums, and playlists.

Setup

  1. Install Dependencies:
    pip install -r requirements.txt
    
  2. Spotify Developer Setup:
    • Go to the Spotify Developer Dashboard.
    • Create an App (choose Web API).
    • In App Settings, add the following Redirect URI: http://127.0.0.1:8080
    • Copy your Client ID and Client Secret.
  3. Configure Environment:
    • Edit the .env file with your keys:
      SPOTIPY_CLIENT_ID=your_client_id_here
      SPOTIPY_CLIENT_SECRET=your_client_secret_here
      SPOTIPY_REDIRECT_URI=http://127.0.0.1:8080
      

Usage

Run the server using FastMCP:

fastmcp run server.py

Note: On the first run, a browser window will open asking you to log in to Spotify and authorize the app. A .spotify_cache file will be created to store your token.

快速设置
此服务器的安装指南

安装包 (如果需要)

uvx spotify-mcp

Cursor 配置 (mcp.json)

{ "mcpServers": { "nettenz-spotify-mcp": { "command": "uvx", "args": [ "spotify-mcp" ] } } }