spotify_mcp

spotify_mcp

0

This project is a Model Context Protocol server that integrates with Spotify, providing a range of tools for interacting with the Spotify API. It allows users to control playback, manage playlists, and access user-specific data.

Overview

This project is a Spotify integration utilizing the Model Context Protocol (MCP). It offers tools for interacting with the Spotify API, enabling functions such as playback control and access to user data using the MCP framework.

Setup

  • Clone the repository and navigate into it.
  • Set up a virtual environment.
  • Install dependencies using uv sync.
  • Configure Spotify API credentials by creating and using client ID/secret and setting a redirect URI.
  • Start the server to access Spotify tools.

Usage

  • Interact with the Spotify API through MCP tools once the server is active.

Supported Actions

  1. Play a song
  2. Get user playlists
  3. Play from user or Spotify playlists
  4. Pause and skip tracks
  5. Shuffle play options
  6. Access liked and recently played songs
  7. Add to queue and evaluate most played songs

Future Plans

  1. Add song to playlist
  2. Playlist creation and management
  3. Discover and play trending songs
  4. Generate AI-powered playlists

Project Structure

  • Authentication, main logic, resources, server implementation, and tools are defined in corresponding source files.