mcp-claude-spotify
Verified Safeby imprvhub
Overview
Enables Claude Desktop to interact with Spotify for music search, playback control, and playlist management via the Model Context Protocol (MCP).
Installation
node build/index.jsEnvironment 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
pg-aiguide
Provides AI-optimized PostgreSQL expertise through semantic search and curated best-practice skills for coding assistants.
discogs-mcp-server
MCP Server for the Discogs API, enabling music catalog operations, search functionality, and more.
Unconventional-thinking
Facilitates context-efficient generation, branching, and searching of unconventional thoughts for AI problem-solving.
mcp-server
Integrate AI-powered tools with Kontent.ai to manage structured content via natural language, enabling rapid prototyping and data visualization.