Spotify MCP Server

Enables AI assistants to control Spotify playback and manage playlists via the Model Context Protocol.

Local serverstdioGo★ 417

What is the Spotify MCP Server?

Enables AI assistants to control Spotify playback and manage playlists via the Model Context Protocol.

What the server does

A lightweight Model Context Protocol (MCP) server that enables AI assistants like Cursor & Claude to control Spotify playback and manage playlists.

Credentials and setup notes

  • Node.js v16+ - A Spotify Premium account - A registered Spotify Developer application

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Parameters- playlistId (string): The Spotify ID of the playlist
limitnumber, optional): Maximum number of tracks to return (1-50)
offsetnumber, optional): Offset for pagination (0-based index)
ReturnsSuccess confirmation with the move details
ExamplereorderPlaylistItems({ playlistId: "3cEYpjA9oz9GiPac4AsH4n", rangeStart: 2, insertBefore: 0 })
idstring, optional): Spotify ID of the item to queue
deviceIdstring, optional): ID of the device to adjust volume on
AlternativeaddToQueue({ type: "track", id: "6rqhFgbbKwnb9MLmUQDhG6" })
publicboolean, optional): Whether the playlist should be public
positionnumber, optional): Position to insert tracks
collaborativeboolean, optional): Whether the playlist should be collaborative (requires public to be false)
snapshotIdstring, optional): The playlist snapshot ID to target a specific version
rangeLengthnumber, optional): Number of consecutive items to move (defaults to 1)

How to install the Spotify MCP Server

{
  "mcpServers": {
    "spotify": {
      "command": "node",
      "args": [
        "spotify-mcp-server/build/index.js"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Node.js v16+ - A Spotify Premium account - A registered Spotify Developer application

Example prompts to try

  • “Use Spotify to Prerequisites.”
  • “Use Spotify to Installation.”

Frequently asked questions

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