Back to MCP directory
publicPublicdnsLocal runtime

mcpjam-spotify

一个通过MCP服务集成Spotify音乐播放功能的项目

article

README

🚀 安装指南

本项目提供了安装步骤,帮助你快速搭建开发环境。下面将详细介绍如何使用 Yarn 进行安装,以及如何构建 TypeScript 文件和配置 Claude 桌面。

📦 安装依赖

我推荐使用 Yarn 来安装项目所需的依赖包,在项目根目录下执行以下命令:

yarn install

🔨 构建 TypeScript 文件

使用 tsc 工具来构建 TypeScript 文件,将其编译为 JavaScript 文件。在项目根目录下执行以下命令:

yarn run build

⚙️ 配置 Claude 桌面

将项目文件夹复制到 Claude 桌面配置中,编辑配置文件,添加以下内容:

{
  "mcpServers": {
    "MCPJam Spotify": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcpjam-spotify/build/index.js"]
    }
  }
}

按照以上步骤操作,你就可以完成项目的安装和配置。如果在安装过程中遇到任何问题,请随时查阅相关文档或寻求帮助。

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client