drio
Open app

Spotify MCP Server (Express.js)

Source

This is a Model Context Protocol (MCP) server implementation that allows AI assistants to interact with Spotify's API.

Catalog onlyCatalog onlySTDIO

Overview

MCP Server is a Model Context Protocol (MCP) server implementation that enables AI assistants to interact with Spotify's API, allowing for seamless integration of music-related functionalities.

To use MCP Server, set up a Spotify Developer account, create an application, and configure your environment variables. Then, install the necessary dependencies and run the server to access various endpoints.

  • Search for tracks, artists, and albums. - Retrieve detailed information about artists and tracks. - Manage user playlists and saved tracks. - Authenticate users via Spotify OAuth.
  1. AI assistants can search for music tracks based on user queries.
  2. Retrieve detailed artist information for music recommendations.
  3. Access and manage user playlists for personalized experiences.

Add to your AI client

Use these steps to connect Spotify MCP Server (Express.js) 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-server-addy07s": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-addy07s"
      ]
    }
  }
}

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

Claude Code

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

.mcp.json (project root)

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

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

Windsurf

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

~/.codeium/windsurf/mcp_config.json

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

Cline

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

Cline MCP Settings (via UI)

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

FAQ

How do I authenticate users?

Users can authenticate via the Spotify OAuth process using the provided endpoints.

What endpoints are available?

The server provides multiple endpoints for searching, retrieving artist and track information, and managing playlists.

Is there a limit on the number of requests?

Rate limits are determined by Spotify's API usage policies.

Spotify MCP Server (Express.js) — MCP Registry