
imprvhub/mcp-claude-spotify 是从 https://github.com/imprvhub/mcp-claude-spotify. 导入的 MCP 服务器候选
概览
imprvhub/mcp-claude-spotify 是从 https://github.com/imprvhub/mcp-claude-spotify. 导入的 MCP 服务器候选
概述(AI 翻译)
该集成允许 Claude Desktop 通过模型上下文协议(MCP)与 Spotify 交互。
于 0.6.0 —
get-recommendations. Spotify 已弃用/v1/recommendations于2024年11月27日,连同相关艺术家、音频专题、音频分析, 特色播放列表和30秒预览URL。该日期之后创建的应用403 Forbidden,而仍在开发阶段的应用也失去访问权限,因此工具可能 对几乎任何人都不适用。改用search-spotify和get-top-tracks。 查看Spotify的公告。
特色
- Spotify 认证
- 搜索曲目、专辑、艺人和播放列表
- 播放控制(播放、暂停、下一、前)
- 完整播放列表管理(创建、更新、删除、重新排序曲目、管理封面图片)
- 阅读你的热门曲目和收听历史
- 访问用户在不同时间段内的热门播放曲目
- 查看最近播放的曲目
演示
要求
- Node.js 20及以上
- Spotify账号
- Claude桌面
- Spotify API 凭证(客户端 ID 和客户端秘密)
安装
通过Smithery安装
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
MCP Claude Spotify
Removed in 0.6.0 —
get-recommendations. Spotify deprecated/v1/recommendationson 27 November 2024, along with related-artists, audio-features, audio-analysis, featured-playlists and 30-second preview URLs. Apps created after that date get403 Forbidden, and apps still in development mode lost access too, so the tool could not work for essentially anyone. Usesearch-spotifyandget-top-tracksinstead. See Spotify’s announcement.
Features
- Spotify authentication
- Search for tracks, albums, artists, and playlists
- Playback control (play, pause, next, previous)
- Full playlist management (create, update, delete, reorder tracks, manage cover images)
- Read your top tracks and listening history
- Access user’s top played tracks over different time periods
- View recently played tracks
Demo
Requirements
- Node.js 20 or higher
- Spotify account
- Claude Desktop
- Spotify API credentials (Client ID and Client Secret)
Installation
Installing via Smithery
To install MCP Claude Spotify for Claude Desktop automatically via Smithery:
npx -y @smithery/cli@latest mcp add imprvhub/mcp-claude-spotify --client claude
Installing Manually
- Clone or download this repository:
git clone https://github.com/imprvhub/mcp-claude-spotify
cd claude-spotify-mcp
- Install dependencies:
npm install
安装
npx -y @smithery/cli@latest mcp add imprvhub/mcp-claude-spotify --client claude配置
{
"mcpServers": {
"spotify": {
"command": "node",
"args": ["ABSOLUTE_PATH_TO_DIRECTORY/mcp-claude-spotify/build/index.js"],
"env": {
"SPOTIFY_CLIENT_ID": "your_client_id_here",
"SPOTIFY_CLIENT_SECRET": "your_client_secret_here"
}
}
}
}