Back to Home
marcelmarais icon

spotify-mcp-server

Verified Safe

by marcelmarais

Overview

Enables AI assistants to control Spotify playback and manage playlists through a Model Context Protocol (MCP) server.

Installation

Run Command
node build/index.js

Security 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

Stats

Interest Score63
Security Score8
Cost ClassMedium
Avg Tokens500
Stars198
Forks47
Last Update2025-12-13

Tags

SpotifyAI AssistantMusic ControlMCPAutomation