================== /// MCP /// /// SPO /// ================== [server:online] [protocol:ready]
spotify-mcp-server
by marcelmarais
Light-weight Model Context Protocol (MCP) server that lets AI assistants (Cursor, Claude, etc.) control Spotify playback and manage playlists.
90
21
Open SourceInstallation
1. Clone the repo
git clone https://github.com/marcelmarais/spotify-mcp-server.git
cd spotify-mcp-server
2. Install dependencies
npm install # or pnpm install / yarn
3. Create environment file
cp .env.example .env
# open .env and set:
# SPOTIFY_CLIENT_ID=<your-spotify-app-id>
# SPOTIFY_CLIENT_SECRET=<your-spotify-app-secret>
# MCP_API_KEY=<optional key required by your deployment>
# PORT=3000 (or any free port)
4. Build TypeScript → JavaScript
npm run build # expects a "build" script in package.json (e.g. tsc)
# –or – run in dev-watch mode
npm run dev # usually wraps ts-node-dev / nodemon
5. Start the server
------------------------------------------------
npm start # or: node dist/index.js
# server will listen on http://localhost:$PORT
Docker (optional)
# Build image
docker build -t spotify-mcp-server .
# Run container
docker run -d -p 3000:3000 --env-file .env spotify-mcp-server
Documentation
License: No license file found – treat as © proprietary/unknown
Updated 7/15/2025