firattamur
MCP Serverfirattamurpublic

spotify mcp

A simple showcase for MCP Servers with Spotify

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

A simple showcase for MCP Servers with Spotify

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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:

  • MCP (Model Control Protocol): For creating AI-controlled tools
  • Spotipy: Python client for the Spotify Web API

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

Quick Start

1

Clone the repository

git clone https://github.com/firattamur/spotify-mcp
2

Install dependencies

cd spotify-mcp
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerfirattamur
Repospotify-mcp
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation