Back to Home
imprvhub icon

mcp-claude-spotify

Verified Safe

by imprvhub

Overview

Enables Claude Desktop to interact with Spotify for music control and discovery.

Installation

Run Command
npx -y @smithery/cli install @imprvhub/mcp-claude-spotify --client claude

Environment Variables

  • SPOTIFY_CLIENT_ID
  • SPOTIFY_CLIENT_SECRET

Security Notes

The server loads Spotify API credentials from environment variables, avoiding hardcoding secrets directly in the source. It stores authentication tokens in the user's home directory (`~/.spotify-mcp/tokens.json`), which is a standard practice for local applications requiring persistent authentication. Input validation is performed using Zod schemas for tool arguments. A minor concern is the use of `child_process.exec` to kill processes if the local OAuth server port (8888) is in use; while this targets a fixed local port and is for recovery, direct execution of system commands can introduce risk if not carefully controlled. Overall, the approach is transparent and follows reasonable security practices for a local client-side integration.

Similar Servers

Stats

Interest Score40
Security Score8
Cost ClassMedium
Avg Tokens300
Stars22
Forks8
Last Update2026-01-14

Tags

SpotifyClaude DesktopMCPMusicAI Assistant Integration