Skip to main content
Glama

TIDAL MCP

Docker Hub

A Model Context Protocol (MCP) server that connects AI assistants to the TIDAL music streaming API. Search, manage playlists, get recommendations, and control your TIDAL library through Claude or Cursor.

How It Works

Claude Desktop / Cursor
        │
        │  MCP JSON-RPC over stdio
        ▼
  start_mcp.py          ← entry point + stdin proxy for clean shutdown
        │
  mcp_server/server.py  ← FastMCP app, 17 tool definitions
        │
        │  direct Python function calls
        ▼
  tidal_api/routes/     ← business logic (tracks, playlists, search, auth)
        │
  tidal_api/browser_session.py  ← tidalapi.Session wrapper
        │
        │  TIDAL REST API
        ▼
      TIDAL

Tool calls use a validated OAuth session from disk and keep it cached in-process after the first successful load. Auth tools invalidate that cache when needed. The MCP layer calls the relevant tidal_api/routes/ function directly and returns. No internal HTTP server, no child processes, no ports.

Related MCP server: TIDAL Music MCP

Installation

Prerequisites

  • Python 3.10+ or Docker

  • uv — only required for local (non-Docker) installation

  • A TIDAL subscription

Session directory

All installation methods store the TIDAL OAuth session in a local directory. Create it once before proceeding:

macOS / Linux:

mkdir -p ~/.tidal-mcp

Windows (PowerShell):

mkdir "$env:APPDATA\tidal-mcp"

This gives you a fixed, predictable location (~/.tidal-mcp/ or %APPDATA%\tidal-mcp\) that the MCP client configs below reference by absolute path.

Option 1: Docker Hub (easiest)

No cloning or building required — pull the pre-built image directly from Docker Hub. Supports both amd64 and arm64 (Apple Silicon).

  1. Pull the image:

    docker pull dragomirweb/tidal-mcp
  2. Authenticate with TIDAL:

    macOS / Linux:

    docker run -it --rm \
      -v ~/.tidal-mcp:/app/session-data \
      -e TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json \
      dragomirweb/tidal-mcp \
      .venv/bin/python auth_cli.py

    Windows (PowerShell):

    docker run -it --rm `
      -v "$env:APPDATA\tidal-mcp:/app/session-data" `
      -e TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json `
      dragomirweb/tidal-mcp `
      .venv/bin/python auth_cli.py

    Open the URL shown in the output, log in to TIDAL, and the session is saved automatically.

  3. Configure your MCP client (see MCP Client Configuration) and restart it.

Option 2: Docker (build from source)

  1. Clone the repository:

    git clone https://github.com/dragomirweb/tidal-mcp.git
    cd tidal-mcp
  2. Build the image:

    docker build -t dragomirweb/tidal-mcp .
  3. Authenticate with TIDAL:

    macOS / Linux:

    docker run -it --rm \
      -v ~/.tidal-mcp:/app/session-data \
      -e TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json \
      dragomirweb/tidal-mcp \
      .venv/bin/python auth_cli.py

    Windows (PowerShell):

    docker run -it --rm `
      -v "$env:APPDATA\tidal-mcp:/app/session-data" `
      -e TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json `
      dragomirweb/tidal-mcp `
      .venv/bin/python auth_cli.py

    Open the URL shown in the output, log in to TIDAL, and the session is saved automatically.

  4. Configure your MCP client (see MCP Client Configuration) and restart it.

Option 3: Local Python

  1. Clone the repository:

    git clone https://github.com/dragomirweb/tidal-mcp.git
    cd tidal-mcp
  2. Install dependencies:

    uv sync
  3. Configure your MCP client (see below) and restart it. Authentication is handled through the tidal_login tool — no separate auth step needed.

MCP Client Configuration

Claude Desktop

Edit the config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Docker — macOS / Linux:

{
  "mcpServers": {
    "TIDAL Integration": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "/Users/YOUR_USERNAME/.tidal-mcp:/app/session-data",
        "-e", "TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json",
        "dragomirweb/tidal-mcp"
      ]
    }
  }
}

Replace /Users/YOUR_USERNAME/.tidal-mcp with the absolute path to your ~/.tidal-mcp/ directory (run echo ~/.tidal-mcp to get it).

Docker — Windows:

{
  "mcpServers": {
    "TIDAL Integration": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "C:\\Users\\YOUR_USERNAME\\AppData\\Roaming\\tidal-mcp:/app/session-data",
        "-e", "TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json",
        "dragomirweb/tidal-mcp"
      ]
    }
  }
}

Replace C:\Users\YOUR_USERNAME\AppData\Roaming\tidal-mcp with the output of echo %APPDATA%\tidal-mcp in a command prompt.

Docker is the recommended approach on Windows, especially when using WSL. It avoids path and venv compatibility issues between Windows and WSL Python environments.

Local — macOS / Linux:

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

Local — Windows (native Python):

{
  "mcpServers": {
    "TIDAL Integration": {
      "command": "C:\\path\\to\\tidal-mcp\\.venv\\Scripts\\python.exe",
      "args": ["C:\\path\\to\\tidal-mcp\\start_mcp.py"]
    }
  }
}

Requires a native Windows Python installation (not WSL). Run uv sync from a Windows terminal to create the .venv\Scripts\ venv.

Cursor

Add to ~/.cursor/mcp.json. The configuration is the same as Claude Desktop above — use the Docker or local variant that matches your setup:

Docker — macOS / Linux:

{
  "mcpServers": {
    "TIDAL Integration": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "/Users/YOUR_USERNAME/.tidal-mcp:/app/session-data",
        "-e", "TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json",
        "dragomirweb/tidal-mcp"
      ]
    }
  }
}

Docker — Windows:

{
  "mcpServers": {
    "TIDAL Integration": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "C:\\Users\\YOUR_USERNAME\\AppData\\Roaming\\tidal-mcp:/app/session-data",
        "-e", "TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json",
        "dragomirweb/tidal-mcp"
      ]
    }
  }
}

Local:

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

OpenCode

Add to opencode.json in your project root, or ~/.config/opencode/opencode.json for global access. See the OpenCode MCP docs for details.

Docker — macOS / Linux:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tidal": {
      "type": "local",
      "command": [
        "docker", "run", "-i", "--rm",
        "-v", "/Users/YOUR_USERNAME/.tidal-mcp:/app/session-data",
        "-e", "TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json",
        "dragomirweb/tidal-mcp"
      ]
    }
  }
}

Replace /Users/YOUR_USERNAME/.tidal-mcp with the absolute path to your ~/.tidal-mcp/ directory.

Docker — Windows:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tidal": {
      "type": "local",
      "command": [
        "docker", "run", "-i", "--rm",
        "-v", "C:\\Users\\YOUR_USERNAME\\AppData\\Roaming\\tidal-mcp:/app/session-data",
        "-e", "TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json",
        "dragomirweb/tidal-mcp"
      ]
    }
  }
}

Replace C:\Users\YOUR_USERNAME\AppData\Roaming\tidal-mcp with the output of echo %APPDATA%\tidal-mcp.

Local — macOS / Linux:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tidal": {
      "type": "local",
      "command": ["/path/to/tidal-mcp/.venv/bin/python", "/path/to/tidal-mcp/start_mcp.py"]
    }
  }
}

Local — Windows:

{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "tidal": {
      "type": "local",
      "command": ["C:\\path\\to\\tidal-mcp\\.venv\\Scripts\\python.exe", "C:\\path\\to\\tidal-mcp\\start_mcp.py"]
    }
  }
}

Claude Code

Uses the claude mcp add CLI command. See the Claude Code MCP docs for details.

Docker — macOS / Linux:

claude mcp add --transport stdio --scope user tidal-mcp -- \
  docker run -i --rm \
  -v /Users/YOUR_USERNAME/.tidal-mcp:/app/session-data \
  -e TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json \
  dragomirweb/tidal-mcp

Replace /Users/YOUR_USERNAME/.tidal-mcp with the absolute path to your ~/.tidal-mcp/ directory.

Docker — Windows:

claude mcp add --transport stdio --scope user tidal-mcp -- ^
  docker run -i --rm ^
  -v C:\Users\YOUR_USERNAME\AppData\Roaming\tidal-mcp:/app/session-data ^
  -e TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json ^
  dragomirweb/tidal-mcp

Replace C:\Users\YOUR_USERNAME\AppData\Roaming\tidal-mcp with the output of echo %APPDATA%\tidal-mcp.

Local — macOS / Linux:

claude mcp add --transport stdio --scope user tidal-mcp -- \
  /path/to/tidal-mcp/.venv/bin/python /path/to/tidal-mcp/start_mcp.py

Local — Windows:

claude mcp add --transport stdio --scope user tidal-mcp -- ^
  C:\path\to\tidal-mcp\.venv\Scripts\python.exe C:\path\to\tidal-mcp\start_mcp.py

The commands above use --scope user to make the server available across all projects. The resulting config is stored in ~/.claude.json:

{
  "mcpServers": {
    "tidal-mcp": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-v", "/Users/YOUR_USERNAME/.tidal-mcp:/app/session-data",
        "-e", "TIDAL_SESSION_FILE=/app/session-data/tidal-session-oauth.json",
        "dragomirweb/tidal-mcp"
      ]
    }
  }
}

Use --scope local (default) for per-project config, or --scope project to create a shared .mcp.json in the project root.

Authentication

The first time you use TIDAL MCP (or after your session expires), ask your AI assistant to log you in:

"Log me into TIDAL"

The assistant calls tidal_login, which returns a URL immediately. Open the URL in your browser and approve the TIDAL authorization. The assistant then polls tidal_check_login automatically until the login completes.

Docker users can also pre-authenticate before using the MCP client (see the auth commands in Installation above). The session is saved to ~/.tidal-mcp/tidal-session-oauth.json (macOS/Linux) or %APPDATA%\tidal-mcp\tidal-session-oauth.json (Windows) and persists across container restarts via the volume mount.

Available Tools

Authentication

Tool

Description

tidal_login

Starts the OAuth device flow. Returns immediately with a URL to open, or success if already authenticated.

tidal_check_login

Polls whether the browser OAuth has been completed. Call after tidal_login returns pending.

Tracks & Recommendations

Tool

Description

get_favorite_tracks(limit)

Retrieve your TIDAL favorited tracks, sorted by date added (newest first).

recommend_tracks(track_ids, filter_criteria, limit_per_track, limit_from_favorite)

Get personalized recommendations via TIDAL's track-radio feature. Seeds from explicit track IDs or auto-fetched favorites.

Playlist Management

Tool

Description

create_tidal_playlist(title, track_ids, description)

Create a new playlist and populate it with tracks in one call.

get_user_playlists

List all your playlists, sorted by last updated.

get_playlist_tracks(playlist_id, limit)

Fetch all tracks from a playlist (auto-paginated — no size limit).

delete_tidal_playlist(playlist_id)

Delete a playlist permanently.

add_tracks_to_playlist(playlist_id, track_ids)

Append tracks to an existing playlist.

remove_tracks_from_playlist(playlist_id, track_ids, indices)

Remove tracks by TIDAL ID or 0-based position index.

update_playlist_metadata(playlist_id, title, description)

Rename a playlist or update its description.

reorder_playlist_tracks(playlist_id, from_index, to_index)

Move a track to a different position (0-based indices).

Search & Discovery

Tool

Description

search_tidal(query, search_type, limit)

Search across all content types: all, tracks, albums, artists, playlists.

search_tracks(query, limit)

Search for tracks.

search_albums(query, limit)

Search for albums.

search_artists(query, limit)

Search for artists.

search_playlists(query, limit)

Search for playlists.

Environment Variables

Variable

Default

Description

TIDAL_SESSION_FILE

{tempdir}/tidal-session-oauth.json

Override the path to the OAuth session file. Useful when running multiple instances or on systems where the default temp path differs between processes.

Development

Setup

uv sync              # Install dependencies
uv run pytest tests/ -v   # Run the test suite (213 tests)

Testing

The test suite covers all 17 MCP tools, all 19 route functions, and all utility helpers. Tests use unittest.mock to mock tidalapi and mcp at import time -- no TIDAL credentials or network access needed.

uv run pytest tests/ -v                          # Full suite
uv run pytest tests/test_routes.py -v            # Route function tests only
uv run pytest tests/test_server.py -v            # MCP tool tests only
uv run pytest tests/test_routes.py::TestComprehensiveSearchHappyPath -v  # Single class

Test file

Tests

Covers

test_routes.py

112

All route functions (auth, tracks, playlists, search)

test_server.py

65

All 17 MCP tools, _call(), _get_session()

test_utils.py

27

bound_limit, fetch_all_items, format_track_data

test_browser_session.py

6

_ensure_https, BrowserSession.login_oauth_start

test_mcp_utils.py

3

SESSION_FILE env var override logic

Docker

After making code changes, rebuild the image:

docker build -t dragomirweb/tidal-mcp .

Other useful commands

python -m compileall mcp_server/ tidal_api/   # Syntax-check all source files
uv run python auth_cli.py                     # Standalone OAuth CLI
uv run python start_mcp.py                    # Run the MCP server directly

Project structure

mcp_server/
  server.py          # FastMCP app, 17 @mcp.tool() definitions, session management
  utils.py           # SESSION_FILE path constant (env var controlled)

tidal_api/
  browser_session.py # BrowserSession (tidalapi.Session wrapper)
  utils.py           # format_track_data, bound_limit, fetch_all_items
  routes/
    auth.py          # handle_login_start, handle_login_poll, check_auth_status
    tracks.py        # get_user_tracks, get_recommendations, get_batch_track_recommendations
    playlists.py     # CRUD: create, get, delete, add/remove tracks, update, reorder
    search.py        # comprehensive_search + 4 type-specific search functions

tests/               # 213 unit tests (mocked deps, no credentials needed)
  conftest.py        # Centralized sys.modules mocking for tidalapi + mcp

License

MIT License

Acknowledgements

Original Projects:

Libraries & Frameworks:

Available Tools

17 tools
add_tracks_to_playlistA
Add tracks to an existing TIDAL playlist.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Add these songs to my playlist"
- "Add [track] to [playlist name]"
- "Put these tracks in my playlist"
- Any request to add songs/tracks to an existing playlist

This function adds tracks to a user's existing TIDAL playlist. The playlist
must already exist, and the user must have permission to edit it.

When processing the results of this tool:
1. Confirm how many tracks were added successfully
2. Provide clear feedback about the operation
3. If any tracks failed to add, explain why

Args:
    playlist_id: The TIDAL ID of the playlist (required)
    track_ids: A list of TIDAL track IDs to add to the playlist (required)

Returns:
    A dictionary with "status", "tracks_added". Returns an "error" key on failure.

Inputs: track_ids (required), playlist_id (required).

create_tidal_playlistA
Creates a new TIDAL playlist with the specified tracks.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Create a playlist with these songs"
- "Make a TIDAL playlist"
- "Save these tracks to a playlist"
- "Create a collection of songs"
- Any request to create a new playlist in their TIDAL account

This function creates a new playlist in the user's TIDAL account and adds
the specified tracks to it. The user must be authenticated with TIDAL first.

NAMING CONVENTION GUIDANCE:
When suggesting or creating a playlist, first check the user's existing
playlists using get_user_playlists() to understand their naming preferences.
Some patterns to look for:
- Do they use emoji in playlist names?
- Do they use all caps, title case, or lowercase?
- Do they include dates or seasons in names?
- Do they name by mood, genre, activity, or artist?
- Do they use specific prefixes or formatting?

Try to match their style when suggesting new playlist names. If they have
no playlists yet or you can't determine a pattern, use a clear, descriptive
name based on the tracks' common themes.

When processing the results of this tool:
1. Confirm the playlist was created successfully
2. Provide the playlist title, number of tracks added, and URL
3. Always include the direct TIDAL URL (https://tidal.com/playlist/{id})
4. Suggest that the user can now access this playlist in their TIDAL account

Args:
    title: The name of the playlist to create
    track_ids: List of TIDAL track IDs to add to the playlist
    description: Optional description for the playlist (default: "")

Returns:
    A dictionary containing the status and details about the created playlist.
    Returns an "error" key on failure.

Inputs: title (required), track_ids (required), description.

delete_tidal_playlistA
Deletes a TIDAL playlist by its ID.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Delete my playlist"
- "Remove a playlist from my TIDAL account"
- "Get rid of this playlist"
- "Delete the playlist with ID X"
- Any request to delete or remove a TIDAL playlist

This function deletes a specific playlist from the user's TIDAL account.
The user must be authenticated with TIDAL first.

When processing the results of this tool:
1. Confirm the playlist was deleted successfully
2. Provide a clear message about the deletion

Args:
    playlist_id: The TIDAL ID of the playlist to delete (required)

Returns:
    A dictionary with a "status" and "message". Returns an "error" key on failure.

Inputs: playlist_id (required).

get_favorite_tracksA
Retrieves tracks from the user's TIDAL account favorites.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "What are my favorite tracks?"
- "Show me my TIDAL favorites"
- "What music do I have saved?"
- "Get my favorite songs"
- Any request to view their saved/favorite tracks

This function retrieves the user's favorite tracks from TIDAL.

Args:
    limit: Maximum number of tracks to retrieve (default: 20, note it should
           be large enough by default unless specified otherwise).

Returns:
    A dictionary with a "tracks" list, each item containing track ID, title,
    artist, album, and duration. Returns an "error" key on failure.

Inputs: limit.

get_playlist_tracksA
Retrieves all tracks from a specified TIDAL playlist.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Show me the songs in my playlist"
- "What tracks are in my [playlist name] playlist?"
- "List the songs from my playlist"
- "Get tracks from my playlist"
- "View contents of my TIDAL playlist"
- Any request to see what songs/tracks are in a specific playlist

This function retrieves tracks from a specific playlist in the user's TIDAL
account. By default, it fetches ALL tracks using automatic pagination.
The playlist_id must be provided, which can be obtained from the
get_user_playlists() function.

When processing the results of this tool:
1. Present the playlist information (title, description, track count)
2. List the tracks in a clear, organized format with track name, artist, album
3. Include track durations where available
4. Mention the total number of tracks in the playlist
5. If there are many tracks, highlight interesting patterns or variety

Args:
    playlist_id: The TIDAL ID of the playlist to retrieve (required)
    limit: Maximum number of tracks to retrieve (default: None = all tracks)

Returns:
    A dictionary with "playlist_id", "tracks", and "total_tracks".
    Returns an "error" key on failure.

Inputs: playlist_id (required), limit.

get_user_playlistsA
Fetches the user's playlists from their TIDAL account.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Show me my playlists"
- "List my TIDAL playlists"
- "What playlists do I have?"
- "Get my music collections"
- Any request to view or list their TIDAL playlists

This function retrieves the user's playlists from TIDAL and returns them
sorted by last updated date (most recent first).

When processing the results of this tool:
1. Present the playlists in a clear, organized format
2. Include key information like title, track count, and the TIDAL URL
3. Mention when each playlist was last updated if available
4. If the user has many playlists, focus on the most recently updated ones

Returns:
    A dictionary with a "playlists" list. Returns an "error" key on failure.

Inputs: no named parameters.

recommend_tracksA
Recommends music tracks based on specified track IDs or the user's TIDAL
favorites if no IDs are provided.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- Music recommendations
- Track suggestions
- Music similar to their TIDAL favorites or specific tracks
- "What should I listen to?"
- Any request to recommend songs/tracks/music based on their TIDAL history
  or specific tracks

This function gets recommendations based on provided track IDs or retrieves
the user's favorite tracks as seeds if no IDs are specified.

When processing the results of this tool:
1. Analyze the seed tracks to understand the music taste or direction
2. Review the recommended tracks from TIDAL
3. IMPORTANT: Do NOT include any tracks from the seed tracks in your recommendations
4. Ensure there are NO DUPLICATES in your recommended tracks list
5. Select and rank the most appropriate tracks based on the seed tracks and
   filter criteria
6. Group recommendations by similar styles, artists, or moods with
   descriptive headings
7. For each recommended track, provide:
   - The track name, artist, album
   - Always include the track's URL to make it easy for users to listen
   - A brief explanation of why this track might appeal to the user based
     on the seed tracks
   - If applicable, how this track matches their specific filter criteria
8. Format your response as a nicely presented list of recommendations with
   helpful context (remember to include the track's URL!)
9. Begin with a brief introduction explaining your selection strategy
10. Unless specified otherwise, recommend MINIMUM 20 tracks (or more if
    possible) to give the user a good variety to choose from.

[IMPORTANT NOTE] If you're not familiar with any artists or tracks
mentioned, use internet search capabilities if available to provide more
accurate information.

Args:
    track_ids: Optional list of TIDAL track IDs to use as seeds.
               If not provided, will use the user's favorite tracks.
    filter_criteria: Specific preferences for filtering recommendations
                     (e.g., "relaxing music," "recent releases," "upbeat,"
                     "jazz influences")
    limit_per_track: Maximum recommendations per seed track (default: 20)
    limit_from_favorite: Maximum favorite tracks to use as seeds (default: 20)

Returns:
    A dictionary containing "seed_tracks", "recommendations", and
    "filter_criteria". Returns an "error" key on failure.

Inputs: track_ids, filter_criteria, limit_per_track, limit_from_favorite.

remove_tracks_from_playlistA
Remove tracks from a TIDAL playlist by track IDs or position indices.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Remove this song from my playlist"
- "Delete tracks from [playlist name]"
- "Take out these songs from the playlist"
- Any request to remove songs/tracks from a playlist

This function removes specific tracks from a user's TIDAL playlist. You can
remove tracks either by their TIDAL IDs or by their position in the playlist
(0-based index).

When processing the results of this tool:
1. Confirm how many tracks were removed successfully
2. Provide clear feedback about what was removed
3. If using indices, remind the user they are 0-based (first track = index 0)

Args:
    playlist_id: The TIDAL ID of the playlist (required)
    track_ids: A list of TIDAL track IDs to remove (use this OR indices)
    indices: A list of track positions (0-based) to remove (use this OR track_ids)

Returns:
    A dictionary with "status", "tracks_removed". Returns an "error" key on failure.

Inputs: playlist_id (required), indices, track_ids.

reorder_playlist_tracksA
Move/reorder a track within a TIDAL playlist.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Move track at position X to position Y"
- "Reorder my playlist"
- "Put song #5 at the beginning"
- Any request to change the order of tracks in a playlist

This function moves a track from one position to another within a playlist.
Indices are 0-based (first track is index 0).

When processing the results of this tool:
1. Confirm the track was moved successfully
2. Remind the user that indices are 0-based
3. Describe the move clearly (e.g., "moved from position 5 to position 2")

Args:
    playlist_id: The TIDAL ID of the playlist (required)
    from_index: Current position of the track (0-based) (required)
    to_index: New position for the track (0-based) (required)

Returns:
    A dictionary with "status" and move details. Returns an "error" key on failure.

Inputs: to_index (required), from_index (required), playlist_id (required).

search_albumsA
Search specifically for albums on TIDAL.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Find the album [title]"
- "Search for albums by [artist]"
- "Look for [album name]"
- Any specific album search request

Args:
    query: The search term (album title, artist name, or combination)
    limit: Maximum number of albums to return (default: 20)

Returns:
    A dictionary with "results.albums.items" list and "count".
    Returns an "error" key on failure.

Inputs: query (required), limit.

search_artistsA
Search specifically for artists on TIDAL.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Find the artist [name]"
- "Search for [artist name]"
- "Look up [artist]"
- Any specific artist search request

Args:
    query: The search term (artist name)
    limit: Maximum number of artists to return (default: 20)

Returns:
    A dictionary with "results.artists.items" list and "count".
    Returns an "error" key on failure.

Inputs: query (required), limit.

search_playlistsA
Search specifically for playlists on TIDAL.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Find playlists about [topic]"
- "Search for [playlist name]"
- "Look for playlists with [genre/mood]"
- Any playlist discovery request

Args:
    query: The search term (playlist name, genre, mood, etc.)
    limit: Maximum number of playlists to return (default: 20)

Returns:
    A dictionary with "results.playlists.items" list and "count".
    Returns an "error" key on failure.

Inputs: query (required), limit.

search_tidalB
Search TIDAL for tracks, albums, artists, or playlists.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Search for [song/artist/album] on TIDAL"
- "Find songs by [artist]"
- "Look for [song title]"
- "Search TIDAL for [anything]"
- Any general search request for music content

This function provides comprehensive search across all TIDAL content types.

When processing the results of this tool:
1. Present search results in a clear, organized format by type
2. Include key information: name, duration, TIDAL URLs
3. Highlight the most relevant results first
4. Always include TIDAL URLs so users can easily access the content

Args:
    query: The search term (song title, artist name, album name, etc.)
    search_type: Type of search — "all", "tracks", "albums", "artists",
                 or "playlists" (default: "all")
    limit: Maximum number of results per type (default: 20)

Returns:
    A dictionary with "results" organized by content type and a "summary".
    Returns an "error" key on failure.

Inputs: query (required), limit, search_type.

search_tracksA
Search specifically for tracks/songs on TIDAL.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Find the song [title]"
- "Search for tracks by [artist]"
- "Look for [song title] by [artist]"
- Any specific track/song search request

Args:
    query: The search term (song title, artist name, or combination)
    limit: Maximum number of tracks to return (default: 20)

Returns:
    A dictionary with "results.tracks.items" list and "count".
    Returns an "error" key on failure.

Inputs: query (required), limit.

tidal_check_loginA
Check whether the user has completed TIDAL authorization in their browser.

Call this tool after tidal_login() returned {"status": "pending"} and you
have shown the user the authorization URL.

Poll every 3–5 seconds until the status changes from "pending".

Possible return values:
- {"status": "pending"}  — user has not yet approved; call again shortly
- {"status": "success"}  — user approved; TIDAL is ready to use
- {"error": "..."}       — authorization failed or the link expired;
                           call tidal_login() again to get a fresh URL

Do NOT call this tool before calling tidal_login() first.

Inputs: no named parameters.

tidal_loginA
Start TIDAL authentication via the OAuth device flow.

This tool returns immediately — it never blocks. Two outcomes are possible:

1. {"status": "success"} — already authenticated, no action needed.
2. {"status": "pending", "url": "https://...", "expires_in": N}
   — Present the URL to the user and ask them to open it in their browser.
     Then call tidal_check_login() every few seconds until it returns
     {"status": "success"} (or an "error" key if the link expires).

Always call this tool first if another tool returns an authentication error.

Inputs: no named parameters.

update_playlist_metadataA
Update a TIDAL playlist's title and/or description.

USE THIS TOOL WHENEVER A USER ASKS FOR:
- "Rename my playlist to [new name]"
- "Change the playlist description"
- "Update playlist [name] with new title/description"
- Any request to modify playlist metadata

This function updates the title and/or description of a user's TIDAL
playlist. At least one of title or description must be provided.

When processing the results of this tool:
1. Confirm what was updated (title, description, or both)
2. Show the new values
3. Provide clear feedback that the changes were saved

Args:
    playlist_id: The TIDAL ID of the playlist (required)
    title: New title for the playlist (optional)
    description: New description for the playlist (optional)

Returns:
    A dictionary with "status" and "updated_fields". Returns an "error" key on failure.

Inputs: playlist_id (required), title, description.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 17 tools

    Disambiguation3/5

    Playlist, auth, favorites, and recommendation tools are clearly distinct, but the five search tools overlap heavily: search_tidal can search all content types and duplicates search_tracks, search_albums, search_artists, and search_playlists. Their trigger phrases conflict, though the general-vs-specific distinction in descriptions helps somewhat.

    Naming Consistency4/5

    Most tools use a readable snake_case verb_noun pattern, such as search_tracks, create_tidal_playlist, and remove_tracks_from_playlist. Minor deviations exist in the auth tools and in alternating resource names like tidal_playlist vs playlist and search_tidal vs search_tracks.

    Tool Count4/5

    At 17 tools, the server is slightly above the ideal 3-15 range but the count is reasonable for auth, search, favorites, recommendations, and full playlist lifecycle management. The redundant search family does inflate the count unnecessarily.

    Completeness4/5

    Playlist lifecycle coverage is strong: create, list, get tracks, add, remove, reorder, update metadata, and delete are all present, along with auth, search, favorites, and recommendations. Minor gaps include no track/album/artist detail endpoints, no add/remove favorite operations, and no playback controls, but agents can mostly work around these via search.

    Maintenance

    ActivityInactive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      D
      maintenance
      Enables interaction with TIDAL music streaming service through 27 tools for searching music, managing playlists, favorites, and discovering artists and albums.
      27
      5
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables searching, managing playlists, getting recommendations, and downloading music from TIDAL through natural language commands via the Model Context Protocol.
      16
      MIT