360 Secure SkillHub
360 安全技能中心

Strider Spotify

该 Skill 提供 Strider Labs 的 Spotify MCP 连接器,可搜索曲目、专辑、艺人和播放列表,播放或暂停、切歌、查看当前曲目、创建和编辑播放列表,并基于种子获取推荐。首次使用需 OAuth 授权,完整播放控制通常需要 Spotify Premium 和活跃设备。

markswendsen-code
markswendsen-code
热度 37.17
最近更新 2026-04-06 15:27:21
分类:生活依赖:MCP 服务 / 第三方 API应用场景:推荐 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add strider-spotify
Metadata
name
strider-spotify
description
Control Spotify playback via Strider Labs MCP connector. Search music, manage playlists, control playback, and discover new artists.
metadata
{"openclaw":{"requires":{"bins":["npx"]},"category":"entertainment","author":"Strider Labs","homepage":"https://striderlabs.ai"}}

Strider Spotify Connector

MCP connector for Spotify playback control and music management. Part of the Strider Labs action execution layer for AI agents.

Installation

npm install @striderlabs/mcp-spotify

MCP Configuration

Add to your MCP client configuration (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-spotify"]
    }
  }
}

Available Tools

spotify.search

Search for tracks, albums, artists, or playlists.

Input Schema:

{
  "query": "string",
  "type": "track | album | artist | playlist (optional, default: track)",
  "limit": "number (optional, default: 10)"
}

Output:

{
  "results": [{
    "id": "string",
    "name": "string",
    "artist": "string",
    "album": "string",
    "uri": "string"
  }]
}

spotify.play

Start playback of a track, album, or playlist.

Input:

{
  "uri": "string (Spotify URI)",
  "device_id": "string (optional)"
}

spotify.pause / spotify.resume

Control playback state.

spotify.next / spotify.previous

Skip to next or previous track.

spotify.get_current_track

Get details about what's currently playing.

spotify.add_to_playlist

Add tracks to a user's playlist.

Input:

{
  "playlist_id": "string",
  "track_uris": ["string"]
}

spotify.create_playlist

Create a new playlist.

spotify.get_recommendations

Get song recommendations based on seed tracks, artists, or genres.

Authentication

First use triggers OAuth authorization flow:

  1. User is redirected to Spotify to authorize
  2. Tokens are stored encrypted per-user
  3. Automatic refresh handles token expiration

Requires Spotify Premium for full playback control.

Usage Examples

Play some music:

Play "Bohemian Rhapsody" by Queen on Spotify

Discover new music:

Find me songs similar to what I've been listening to lately

Manage playlists:

Add the current song to my "Workout" playlist on Spotify

Control playback:

Skip to the next track on Spotify

Error Handling

Code Meaning Action
AUTH_EXPIRED Session expired Re-authenticate
RATE_LIMITED API quota exceeded Retry after delay
PREMIUM_REQUIRED Feature needs Premium Notify user
NO_ACTIVE_DEVICE No playback device User must open Spotify

Use Cases

  • Hands-free control: play music without touching your phone
  • Music discovery: get recommendations based on mood or activity
  • Playlist curation: build playlists through conversation
  • Party DJ: queue up songs while entertaining

Notes

  • Playback control requires an active Spotify device (phone, computer, speaker)
  • Some features require Spotify Premium subscription
  • Search and playlist management work with free accounts

Links