Back to Home
asmdrk icon

mcp-spotty

Verified Safe

by asmdrk

Overview

An MCP server providing tools to interact with the Spotify API, allowing an AI agent to fetch currently playing songs or search for song details.

Installation

Run Command
python3 src/server.py

Environment Variables

  • SPOTIFY_CLIENT_ID
  • SPOTIFY_SECRET
  • LOG_LEVEL

Security Notes

Spotify API credentials (client ID and secret) are correctly loaded from environment variables. However, the Spotify OAuth token is stored locally in 'token.json', which is a security risk if the server is deployed without proper token management (e.g., encryption, secrets manager, or a more robust refresh token flow). Debug-level logging by default could expose sensitive information. Hardcoded 'localhost' redirect URIs are suitable for local development but would need careful configuration and HTTPS for production deployment.

Similar Servers

Stats

Interest Score0
Security Score6
Cost ClassMedium
Avg Tokens350
Stars0
Forks0
Last Update2025-11-27

Tags

SpotifyMCPPythonMusicAPI Integration