spotify-mcp-server
Verified Safeby marcelmarais
Overview
Enables AI assistants to control Spotify playback and manage playlists through a Model Context Protocol (MCP) server.
Installation
node build/index.jsSecurity Notes
The server handles Spotify OAuth 2.0 authentication by running a local HTTP server for the redirect URI, which is standard practice. Access and refresh tokens are stored locally in `spotify-config.json`. This means that these tokens could be compromised if the user's local machine is compromised. The use of a `state` parameter in the OAuth flow helps prevent CSRF. The `handleSpotifyRequest` function's error handling specifically skips JSON parsing errors, returning `undefined` for what it presumes are 'successful operations', which could potentially mask unexpected API responses or other issues, although it is not a direct security vulnerability.
Similar Servers
spotify-streamable-mcp-server
Provides an LLM-friendly interface to control Spotify playback, search music, and manage playlists/saved songs, enabling voice control and smart-home automations.
tuisic
A terminal-based online music streaming application that provides an MCP (Model Context Protocol) server for AI integration, allowing AI clients to control music playback and search.
advanced-homeassistant-mcp
A Model Context Protocol (MCP) server that enables AI assistants to seamlessly interact with Home Assistant for natural language smart home control.
sonos-ts-mcp
Control Sonos multi-room audio systems via Model Context Protocol (MCP) for AI-driven home automation and smart audio experiences.