Spotify 工具 MCP 服务器

高级

这是一个AI领域的自动化工作流,包含 39 个节点。主要使用 SpotifyTool、McpTrigger 等节点,结合人工智能技术实现智能自动化。 Spotify 工具 MCP 服务器 - 支持全部 30 种操作

前置要求
  • AI 服务 API Key(如 OpenAI、Anthropic 等)

使用的节点 (39 个)

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "UzMP5cZQvJ38AizO",
  "meta": null,
  "name": "Spotify Tool MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "ef9e6e3a-3888-40f0-8bc5-ded13aaf336a",
      "name": "工作流概览 0",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1480,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "991bcaf0-2045-457b-9140-5a95a3d072f8",
      "name": "Spotify Tool MCP Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        200,
        140
      ],
      "webhookId": "df47ced1-3e97-4b0c-8465-6d05d0b5309b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "742e8e7e-9b58-461b-8888-ca1c9199b884",
      "name": "获取专辑",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -800,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "20cfae72-32ee-4446-b378-560ed161a327",
      "name": "获取新专辑发行",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -580,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b6c600b2-04d5-47d0-ae4d-dbfa4efbf1a3",
      "name": "通过URI或ID获取专辑曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -360,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5f5ec110-5678-4435-8e5c-c6ea24e2ed44",
      "name": "按关键词搜索专辑",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -140,
        140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "58c7a818-ce97-406e-b06a-a8726f380bb0",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "daca2e88-efb6-45b6-9ad9-458a6ad7d110",
      "name": "获取艺人",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -800,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9dd35430-48db-44e0-8e4b-79451e95aabc",
      "name": "通过URI或ID获取艺人专辑",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -580,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "09b5adaa-2559-4976-a945-7c4cc5edfaf5",
      "name": "通过URI或ID获取相关艺人",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -360,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "df4508a9-0da5-465d-bec3-fb36f1901603",
      "name": "通过URI或ID获取艺人热门曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -140,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "13e1a317-dca1-4cfc-9406-3bbb2be5862b",
      "name": "按关键词搜索艺人",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        80,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2bcad20d-c129-4e5b-9157-55b5bb2e5c3f",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f045e5bc-64d1-4757-ae75-ffcc7e725883",
      "name": "获取收藏曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        580,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5dfcab6c-13cb-4b74-8219-43e32e3fe378",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        380,
        840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e26b6b18-fc59-4804-aa39-44f3bc69340a",
      "name": "获取关注的艺人",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        100,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8ff2d495-b391-4f37-94e1-e52dcca7307a",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d4f637f1-2a5d-4b91-af17-05317776c385",
      "name": "将歌曲添加到队列",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -800,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a0fc2be2-23a0-40b4-9e04-cd0386913138",
      "name": "获取当前播放曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -580,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d4e9ce44-4d6b-4282-901a-bdea4a5fec0e",
      "name": "跳至下一曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -360,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9362deb3-9792-46e6-afd9-06c3b538f011",
      "name": "暂停播放器",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -140,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8252cbfc-da38-4541-b8fd-4c44360507a7",
      "name": "跳至上一曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        80,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "df94c946-b0a2-4e24-9820-a475a8b21caf",
      "name": "获取最近播放曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        300,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "670f10fd-eb58-493d-b604-380fb31b7a64",
      "name": "恢复播放器",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        520,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "78c794c8-b878-46b4-8caf-e9ee5a9b99ad",
      "name": "设置播放器音量",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        740,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f64824c1-657d-4a6f-85f5-19d76a98628c",
      "name": "开始播放音乐",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        960,
        1100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6c711374-ccac-4c3d-8dd0-c6834f0a2b77",
      "name": "便利贴 5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        1080
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1b338588-7a97-4eeb-b42e-2cf3ba820c2c",
      "name": "添加项目到播放列表",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -800,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3404f142-a9a6-4477-ad44-0e08cda041ee",
      "name": "创建播放列表",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -580,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a218bf2c-310f-4ec0-9859-e693e4416b0a",
      "name": "获取播放列表",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -360,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0fd91681-94b6-4eab-b44b-e703589793d3",
      "name": "获取用户的播放列表",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -140,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d9835993-9c27-4df6-91a5-4897c62fbe66",
      "name": "通过 URI 或 ID 获取播放列表的曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        80,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "28d1327a-9635-45df-8f02-b7c2a8037f34",
      "name": "从播放列表中移除项目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        300,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2352aa79-53b3-472a-819e-bef5a43e592b",
      "name": "按关键词搜索播放列表",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        520,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2493a96a-7c5e-4a4f-ac33-94a911c831f8",
      "name": "便利贴 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        600
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f4825618-b578-4fff-899d-3e1d8182bed8",
      "name": "获取曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -800,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d0f714ed-9c64-44b1-9e67-6e5984758e83",
      "name": "获取曲目音频特征",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -580,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1f0792b1-ce13-4612-875e-d98b8774f96a",
      "name": "按关键词搜索曲目",
      "type": "n8n-nodes-base.spotifyTool",
      "position": [
        -360,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7766868c-b809-42dd-80ea-ed3ad8fdef40",
      "name": "便利贴 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1000,
        840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-06-21T08:43:22.810Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-06-21T08:43:22.810Z",
      "workflowId": "UzMP5cZQvJ38AizO"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-06-21T08:43:22.808Z",
  "updatedAt": "2025-06-26T03:09:43.000Z",
  "versionId": "fd5b62c3-a697-45b4-ac1e-ab4d0482e48d",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Get a track": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get an album": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get an artist": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get a playlist": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get liked tracks": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Pause the player": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create a playlist": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Resume the player": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add a song to a queue": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get a user's playlists": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get new album releases": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Skip to the next track": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search albums by keyword": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search tracks by keyword": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Set volume on the player": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add an Item to a playlist": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get your followed artists": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search artists by keyword": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Skip to the previous song": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Start music on the player": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Search playlists by keyword": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get audio features of a track": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get the recently played tracks": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Remove an item from a playlist": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get the currently playing track": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get an album's tracks by URI or ID": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get an artist's albums by URI or ID": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get a playlist's tracks by URI or ID": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get an artist's top tracks by URI or ID": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get an artist's related artists by URI or ID": {
      "ai_tool": [
        [
          {
            "node": "Spotify Tool MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

这是一个高级难度的工作流,适用于AI等场景。适合高级用户,包含 16+ 个节点的复杂工作流

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量39
分类1
节点类型3
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部链接
在 n8n.io 上查看 →

分享此工作流