Spotify

by ashwanth1109

2 stars
Not rated
GitHub

About

Integrates with Spotify to enable music playback control, playlist management, and user data retrieval for personalized music experiences

Details

Author
ashwanth1109
Repository
ashwanth1109/mcp-spotify
GitHub stars
2
Categories
AI, Design, Developer Tools, Search, Infrastructure, API

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Spotify
    Command (node, npx, python, etc.) uv
    Arguments
    • Argument 1 --directory
    • Argument 2 <path-to-repository/mcp-spotify>
    • Argument 3 run
    • Argument 4 main.py

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

show_playlists

Displays the user's playlists.

play_playlist

Plays the specified playlist. Parameters: playlist_name (string)

pause_song

Pauses the currently playing song.

resume_song

Resumes playback of the currently paused song.

current_song_info

Provides information about the currently playing song.

artist_info

Retrieves information about a specified artist and shows popular tracks. Parameters: artist_name (string)

top_artists_last_6_months

Shows the user's top artists from the last 6 months.

search_artist

Searches for an artist by name. Parameters: artist_name (string)

play_song

Plays a specified song. Parameters: song_name (string)

show_queue

Displays the current playback queue.

add_to_queue

Adds a specified track to the user's queue. Parameters: track_name (string)

move_track_in_queue

Moves a specified track up in the queue. Parameters: track_name (string)

set_repeat

Sets the current track to repeat.

recommend_similar_tracks

Recommends tracks similar to the currently playing song.

add_track_to_playlist

Adds a specified track to a specified playlist. Parameters: track_name (string), playlist_name (string)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "spotify": {
            "env": {},
            "args": [
                "--directory",
                "<path-to-repository/mcp-spotify>",
                "run",
                "main.py"
            ],
            "shell": false,
            "command": "uv"
        }
    }
}

Linux

{
    "env": [],
    "args": [
        "--directory",
        "<path-to-repository/mcp-spotify>",
        "run",
        "main.py"
    ],
    "shell": false,
    "command": "uv"
}

Macos

{
    "env": [],
    "args": [
        "--directory",
        "<path-to-repository/mcp-spotify>",
        "run",
        "main.py"
    ],
    "shell": false,
    "command": "uv"
}

Windows

{
    "env": [],
    "args": [
        "--directory",
        "<path-to-repository/mcp-spotify>",
        "run",
        "main.py"
    ],
    "shell": false,
    "command": "uv"
}

Spotify MCP

A FastMCP tool for Spotify.

Demo

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.