Back to Home
imprvhub icon

mcp-claude-spotify

Verified Safe

by imprvhub

Overview

Enables Claude Desktop to interact with Spotify for music search, playback control, and playlist management via the Model Context Protocol (MCP).

Installation

Run Command
node build/index.js

Environment Variables

  • SPOTIFY_CLIENT_ID
  • SPOTIFY_CLIENT_SECRET

Security Notes

The server correctly uses environment variables for Spotify API credentials, avoiding hardcoded secrets. It implements a local OAuth flow, opening an HTTP server on port 8888. Access and refresh tokens are stored locally in `~/.spotify-mcp/tokens.json`, which is user-specific but implies that `No user data is stored on disk` from the README might be misleading regarding sensitive credentials. A notable pattern is the use of `execAsync` with system commands (`taskkill` on Windows, `lsof | xargs kill -9` on macOS/Linux) to clear a port if it's in use. While intended for troubleshooting and recovery, executing system commands introduces a slight elevated risk compared to a purely application-level solution, though it is scoped to port management and a fixed port.

Similar Servers

Stats

Interest Score41
Security Score8
Cost ClassMedium
Avg Tokens250
Stars21
Forks8
Last Update2025-12-03

Tags

SpotifyClaude DesktopMCPMusicAI Integration