YT

yuhuacheng/tidal-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

51 stars 24 forks 质量 66 趋势 0MIT

玉华城/潮汐MCP是从[[T0]导入的MCP服务器候选。

概览

玉华城/潮汐MCP是从[[T0]导入的MCP服务器候选。

概述(AI 翻译)

大多数音乐平台都会提供推荐——Daily Discovery、Top Artists、New Arrivals等——但即使系统最先进,它们也常常感觉过于“聚合”。我想要更定制、更符合上下文的平台。

通过TIDAL MCP,你可以提出以下要求:

“根据我最近10首最爱,找一些类似的曲目——但只选近几年的几首。”

“找一些类似这个播放列表里的曲目,但更慢、更原声。”

LLM会根据你的输入筛选和策划结果,通过TIDAL的API找到相似曲目,并直接在你的账户中构建新的播放列表。

特色

  • 🌟 音乐推荐:根据你的听听历史加上自定义标准获得个性化曲目推荐。
  • ၊၊||၊ 播放列表管理:创建、查看和管理您的TIDAL播放列表

快速启动

先决条件

  • Python 3.10+
  • uv(Python 包管理器)
  • TIDAL订阅

安装

  1. 克隆此仓库:

  2. 创建虚拟环境并使用 uv 安装依赖:

  3. 从pyproject.toml文件安装包含所有依赖的包:

这将安装pyproject中定义的所有依赖。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

TIDAL MCP: My Custom Picks 🌟🎧

Most music platforms offer recommendations — Daily Discovery, Top Artists, New Arrivals, etc. — but even with the state-of-the-art system, they often feel too “aggregated”. I wanted something more custom and context-aware.

With TIDAL MCP, you can ask for things like:

“Based on my last 10 favorites, find similar tracks — but only ones from recent years.”

“Find me tracks like those in this playlist, but slower and more acoustic.”

The LLM filters and curates results using your input, finds similar tracks via TIDAL’s API, and builds new playlists directly in your account.

Features

  • 🌟 Music Recommendations: Get personalized track recommendations based on your listening history plus your custom criteria.
  • ၊၊||၊ Playlist Management: Create, view, and manage your TIDAL playlists

Quick Start

Prerequisites

  • Python 3.10+
  • uv (Python package manager)
  • TIDAL subscription

Installation

  1. Clone this repository:

    git clone https://github.com/yuhuacheng/tidal-mcp.git
    cd tidal-mcp
    
  2. Create a virtual environment and install dependencies using uv:

    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
  3. Install the package with all dependencies from the pyproject.toml file:

    uv pip install --editable .
    

    This will install all dependencies defined in the pyproject.toml file and set up the project in development mode.

MCP Client Configuration

Claude Desktop Configuration

To add this MCP server to Claude Desktop, you need to update the MCP configuration file. Here’s an example configuration: (you can specify the port by adding an optional env section with the TIDAL_MCP_PORT environment variable)

{
  "mcpServers": {
    "TIDAL Integration": {
      "command": "/path/to/your/uv",
      "env": {
        "TIDAL_MCP_PORT": "5100"
      },
      "args": [
        "run",
        "--with",
        "requests",
        "--with",
        "mcp[cli]",
        "--with",
        "flask",
        "--with",
        "tidalapi",
        "mcp",
        "run",
        "/path/to/your/project/tidal-mcp/mcp_server/server.py"
      ]
    }
  }
}

Example scrrenshot of the MCP configuration in Claude Desktop:

Steps to Install MCP Configuration

  1. Open Claude Desktop
  2. Go to Settings > Developer
  3. Click on “Edit Config”
  4. Paste the modified JSON configuration
  5. Save the configuration
  6. Restart Claude Desktop

Suggested Prompt Starters

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "TIDAL Integration": { "command": "/path/to/your/uv", "env": { "TIDAL_MCP_PORT": "5100" }, "args": [ "run", "--with", "requests", "--with", "mcp[cli]", "--with", "flask", "--with", "tidalapi", "mcp", "run", "/path/to/your/project/tidal-mcp/mcp_server/server.py" ] } } }