drio
Open app

MCP Spotify Server

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP Spotify Server is a project that integrates with the Spotify API, allowing AI assistants to interact with your Spotify playlists and top tracks.

To use MCP Spotify Server, set up the server using Express.js and connect it to your Spotify account through the API to retrieve playlists and top tracks.

  • Retrieves user Spotify playlists - Fetches top tracks of the user - Implements Model Context Protocol (MCP) for AI interactions - Uses Express.js for the backend
  1. Creating personalized playlists based on user preferences.
  2. Developing AI assistants that can recommend music based on listening history.
  3. Integrating Spotify functionalities into other applications.

Add to your AI client

Use these steps to connect MCP Spotify 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": {
    "mcp-spotify-server-atharv1705": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-spotify-server-atharv1705"
      ]
    }
  }
}

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": {
    "mcp-spotify-server-atharv1705": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-spotify-server-atharv1705"
      ]
    }
  }
}

Claude Code

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

.mcp.json (project root)

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

VS Code (Copilot)

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

.vscode/mcp.json

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

Can MCP Spotify Server access all my Spotify data?

Yes, it can access your playlists and top tracks based on the permissions granted through the Spotify API.

Is there a cost to use MCP Spotify Server?

No, it is free to use as it is an open-source project.

What technology is used in MCP Spotify Server?

The server is built using JavaScript and Express.js.