Tidal Mcp

io.github.ibeal由 GitHub 账号 ibeal 发布v0.6.0更新于 Oct 24, 2026

MCP server for TIDAL - search tracks, manage playlists, and get personalized recommendations

已验证STDIO仅桌面效率与工作流媒体与设计

概览

AI 生成的概览

面向 TIDAL 的本地 MCP 服务器,让助手搜索音乐、读取收藏与歌单、获取推荐,并在你的 TIDAL 账户中创建或编辑歌单。

可以做什么
在 TIDAL 中搜索曲目、专辑、艺人和歌单,或跨全部内容类型综合搜索。读取你的收藏曲目并列出你的歌单,自动分页获取歌单中的全部曲目。根据你的收听历史和自定义条件获取个性化曲目推荐。创建、删除歌单,或修改歌单标题与描述。在歌单中添加、移除和重新排序曲目。通过浏览器登录流程完成 TIDAL 认证。
适用场景
适合希望助手依据你的口味和条件来策划 TIDAL 歌单的场景,例如寻找与你近期收藏相似的曲目,或根据常听曲目生成主题歌单。适合已使用 TIDAL、想用对话方式整理歌单而非依赖平台内置推荐的人。
运行要求
以 stdio 本地进程运行,可通过 Docker(镜像 ghcr.io/ibeal/tidal-mcp)或 Python 3.10+ 配合 uv 安装。需要 TIDAL 订阅,并需一次性完成 OAuth 浏览器登录,会话保存到文件(例如 /tmp/tidal-session-oauth.json)。环境变量 TIDAL_MCP_PORT 设置本地 API 端口(默认 5050)。Docker 方式会挂载 /tmp 并使用主机网络。
安装前请注意
助手可以改动你的 TIDAL 账户:可创建和删除歌单,添加、移除或重排曲目,README 还提到可按要求删除歌单。保存的 OAuth 会话文件可访问你的账户,应妥善保管。Docker 配置会挂载主机 /tmp 目录并使用主机网络,扩大了容器可访问的范围。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tidal Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

🎵 TIDAL MCP (Community Maintained Fork)

📢 Active Maintenance Notice: This is an actively maintained community fork of yuhuacheng/tidal-mcp. The original repository appears unmaintained since May 2025. Contributions, issues, and PRs are welcome here!

[Active Development] [Docker Support] [Python 3.10+] [MCP Compatible]

[Demo: Music Recommendations in Action]

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.

🆕 What's New in This Fork

This community fork includes significant improvements over the original:

  • ✅ Docker Support: Full Docker and docker-compose setup for easy deployment
  • ✅ Search Functionality: Search for tracks, albums, artists, and playlists across TIDAL
  • ✅ Pagination: Fetch all tracks from large playlists (no more 50-track limit!)
  • ✅ Complete Playlist Editing: Add, remove, reorder tracks, and update metadata
  • ✅ Refactored Codebase: ~60% smaller files with better organization and maintainability
  • ✅ DRY Pagination Helper: Reusable pagination utilities across all endpoints

See the full changelog and contribute at: https://github.com/ibeal/tidal-mcp

Features

  • 🌟 Music Recommendations: Get personalized track recommendations based on your listening history plus your custom criteria
  • 🎵 Full Playlist Management: Create, view, edit, and delete playlists with complete control
  • 🔍 Advanced Search: Search across tracks, albums, artists, and playlists
  • 📄 Smart Pagination: Automatically fetch all tracks from playlists of any size
  • 🎛️ Playlist Editing: Add, remove, reorder tracks, and update metadata
  • 🐳 Docker Ready: Easy deployment with Docker and docker-compose support
  • 🔐 OAuth Authentication: Secure browser-based TIDAL login flow

Quick Start

Prerequisites

  • Python 3.10+ OR Docker
  • uv (Python package manager) - only needed for non-Docker installation
  • TIDAL subscription

Installation

Option 1: Docker (Recommended)
  1. Clone this repository:

    bash
    git clone https://github.com/ibeal/tidal-mcp.gitcd tidal-mcp
  2. Build and run with Docker Compose:

    bash
    docker-compose up -d

    Or with Docker directly:

    bash
    docker build -t tidal-mcp .docker run -d -p 5050:5050 --name tidal-mcp tidal-mcp

    The server will be available at http://localhost:5050.

  3. To customize the port, edit the TIDAL_MCP_PORT environment variable in docker-compose.yml or pass it to docker run:

    bash
    docker run -d -p 5100:5100 -e TIDAL_MCP_PORT=5100 --name tidal-mcp tidal-mcp
Option 2: Local Python Installation
  1. Clone this repository:

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

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

    bash
    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.

Option 1: Docker Configuration (if using Docker)
json
{  "mcpServers": {    "TIDAL Integration": {      "command": "docker",      "args": [        "run",        "--rm",        "-i",        "--network",        "host",        "-v",        "/tmp:/tmp",        "tidal-mcp"      ],      "env": {        "TIDAL_MCP_PORT": "5050"      }    }  }}

Setup:

  1. Build the Docker image:

    bash
    docker build -t tidal-mcp .
  2. Authenticate with TIDAL (run this once):

    bash
    docker-compose -f docker-compose.auth.yml run --rm tidal-auth

    You'll see the OAuth URL in the output:

    ============================================================TIDAL LOGIN REQUIREDPlease open this URL in your browser:
    https://link.tidal.com/XXXXX
    Expires in 300 seconds============================================================

    Open the URL in your browser, log in to TIDAL, and the session will be saved to /tmp/tidal-session-oauth.json.

  3. Update your Claude Desktop config (see above) and restart Claude Desktop.

Configuration details:

  • --network host - Allows the container to use the host's network directly
  • -v /tmp:/tmp - Mounts the host's /tmp directory so the TIDAL session persists across container restarts

To use a custom port:

json
{  "mcpServers": {    "TIDAL Integration": {      "command": "docker",      "args": [        "run",        "--rm",        "-i",        "--network",        "host",        "-v",        "/tmp:/tmp",        "-e",        "TIDAL_MCP_PORT=5100",        "tidal-mcp"      ]    }  }}
Option 2: Local Python Configuration (if not using Docker)
json
{  "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: [Claude MCP Configuration]

Cursor Configuration

For Cursor users, add this configuration to your MCP settings file (~/.cursor/mcp.json):

json
{  "mcpServers": {    "TIDAL Integration": {      "command": "/path/to/your/project/tidal-mcp/.venv/bin/python",      "env": {        "TIDAL_MCP_PORT": "5100"      },      "args": ["/path/to/your/project/tidal-mcp/start_mcp.py"]    }  }}

Important: Replace /path/to/your/project/tidal-mcp with the actual path to your project directory.

Steps to Install MCP Configuration in Cursor
  1. Create or edit the MCP configuration file at ~/.cursor/mcp.json
  2. Add the TIDAL Integration configuration above
  3. Update the paths to match your actual project location
  4. Save the file
  5. Restart Cursor to load the new MCP server

Steps to Install MCP Configuration in Claude Desktop

  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

Once configured, you can interact with your TIDAL account through a LLM by asking questions like:

  • “Recommend songs like those in this playlist, but slower and more acoustic.”
  • “Create a playlist based on my top tracks, but focused on chill, late-night vibes.”
  • “Find songs like these in playlist XYZ but in languages other than English.”

💡 You can also ask the model to:

  • Use more tracks as seeds to broaden the inspiration.
  • Return more recommendations if you want a longer playlist.
  • Or delete a playlist if you’re not into it — no pressure!

Available Tools

The TIDAL MCP integration provides the following tools:

Authentication & Core Features

  • tidal_login: Authenticate with TIDAL through browser login flow
  • get_favorite_tracks: Retrieve your favorite tracks from TIDAL
  • recommend_tracks: Get personalized music recommendations

Playlist Management

  • create_tidal_playlist: Create a new playlist in your TIDAL account
  • get_user_playlists: List all your playlists on TIDAL
  • get_playlist_tracks: Retrieve all tracks from a specific playlist (with automatic pagination)
  • delete_tidal_playlist: Delete a playlist from your TIDAL account
  • add_tracks_to_playlist: Add tracks to an existing playlist
  • remove_tracks_from_playlist: Remove tracks by ID or position index
  • update_playlist_metadata: Update playlist title and/or description
  • reorder_playlist_tracks: Move tracks to different positions within a playlist

Search & Discovery

  • search_tidal: Comprehensive search across all TIDAL content types
  • search_tracks: Search specifically for tracks/songs
  • search_albums: Search specifically for albums
  • search_artists: Search specifically for artists
  • search_playlists: Search specifically for playlists

License

MIT License

Contributing

This is an actively maintained community fork. Contributions are welcome!

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Acknowledgements

Original Project:

Contributors:

  • ra100 - Search functionality features

Libraries & Frameworks:

来源:README.md,提交 bf086bb

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.6.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分