marcelmarais/spotify-mcp-server
Lightweight MCP server for Spotify
What it solves
This project allows you to control your Spotify account directly through AI assistants like Claude Desktop, Cursor, or VS Code (via Cline). It bridges the gap between your AI chat interface and your music library, enabling you to manage playback and playlists using natural language commands.
How it works
It acts as a Model Context Protocol (MCP) server. Once configured, it exposes a suite of tools to your AI assistant that map to the Spotify API. You authenticate once via OAuth, and the server handles token management and automatic refreshing. You can run it locally via Node.js, and it supports both standard stdio communication or an HTTP transport mode for long-lived connections.
Who it’s for
This is for users who want to integrate their music experience into their AI-assisted development or productivity workflow. It is ideal for developers who use tools like Claude or Cursor and want to perform tasks like creating playlists or adjusting volume without leaving their IDE or chat window.
Highlights
- Playback control: Start, pause, skip tracks, and adjust volume.
- Playlist management: Create new playlists, add tracks, reorder items, and update metadata.
- Library access: Search for music, view your "Liked Songs," and check your listening queue.
- Device awareness: View and select available Spotify Connect devices.
- Automated auth: Handles OAuth token refreshing transparently after initial setup.
Related
- Project
- Project
- Project
- Project
- Project