mcp-claude-spotify
Verified Safeby imprvhub
Overview
Enables Claude Desktop to interact with Spotify for music control and discovery.
Installation
npx -y @smithery/cli install @imprvhub/mcp-claude-spotify --client claudeEnvironment 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
pg-aiguide
Provides AI-optimized PostgreSQL expertise, including semantic search over documentation and curated best practices, to assist AI coding tools in generating better PostgreSQL code.
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
This server integrates Kontent.ai content management with AI tools, allowing natural language operations to create, manage, and explore structured content.