drio
Open app

Spotify MCP Server

Source

Catalog onlyCatalog onlySTDIO

Overview

Spotify MCP Server is a lightweight Model Context Protocol (MCP) server that allows AI assistants like Cursor and Claude to control Spotify playback and manage playlists.

To use the Spotify MCP Server, set it up by following the installation instructions, create a Spotify Developer application, and configure the Spotify API. Once set up, you can interact with it through commands to control music playback.

  • Control Spotify playback (play, pause, skip tracks) - Manage playlists (create, add tracks, get playlists) - Search for tracks, albums, and artists on Spotify
  1. Integrating with AI assistants to provide voice-controlled music playback.
  2. Automating playlist management for events or personal use.
  3. Enhancing user experience in applications that require music control.

Add to your AI client

Use these steps to connect Spotify MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "spotify-mcp-server-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spotify-mcp-server-marcelmarais"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "spotify-mcp-server-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spotify-mcp-server-marcelmarais"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "spotify-mcp-server-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spotify-mcp-server-marcelmarais"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "spotify-mcp-server-marcelmarais": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spotify-mcp-server-marcelmarais"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "spotify-mcp-server-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spotify-mcp-server-marcelmarais"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "spotify-mcp-server-marcelmarais": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-spotify-mcp-server-marcelmarais"
      ]
    }
  }
}

FAQ

What is required to run the Spotify MCP Server?

You need Node.js v16+, a Spotify Premium account, and a registered Spotify Developer application.

Can I use this server without a Spotify Premium account?

No, a Spotify Premium account is required to control playback.

How do I authenticate my application?

Follow the authentication process outlined in the setup instructions to obtain access and refresh tokens.