mcpField
S
Spotify MCP

Spotify MCP

Local
github.com/firattamurMedia & Design0Updated 80w ago

About Spotify MCP

Spotify MCP is an MCP server for controlling Spotify playback through AI assistants. It provides song search, play, and pause functions for users who want to manage music through an assistant.

Key features

  1. 01Search Spotify for songs
  2. 02Play songs on the active device
  3. 03Pause current playback

Use cases

  1. 01Finding Spotify songs through an AI assistant
  2. 02Controlling playback and pause through an AI assistant

MCP support

The MCP server exposes tools for searching Spotify, playing songs, and pausing playback to AI assistants.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Spotify MCP

A Model Control Protocol (MCP) integration for Spotify that allows you to control your Spotify playback through AI assistants.

Features

  • Search: Search for songs on Spotify
  • Play: Play songs on your active Spotify device
  • Pause: Pause currently playing music

Prerequisites

  • Python 3.11 or higher
  • Spotify Developer credentials

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/spotify-mcp.git
    cd spotify-mcp
    
  2. Set up a virtual environment:

    uv venv
    
  3. Install dependencies:

    uv sync
    

Configuration

  1. Create a Spotify application at Spotify Developer Dashboard

  2. Get your Client ID and Client Secret from your Spotify application

  3. Update main.py with your credentials:

    SPOTIPY_CLIENT_ID = "your-spotify-client-id"
    SPOTIPY_CLIENT_SECRET = "your-spotify-client-secret"
    

Usage

Run the MCP server:

python main.py

When you run the application for the first time, a browser window will open asking you to log in to your Spotify account and authorize the application.

How It Works

This project uses:

The MCP server exposes three functions that can be called by AI assistants:

  • search: Find songs on Spotify
  • play: Play a specific song
  • pause: Pause the currently playing song

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.