mymusic-mcp
Integrates with Spotify to search tracks, playlists, albums, and artists; access the user's library including playlists, liked songs, and saved albums; and play music in the background with controls for pause, resume, next, previous, volume, and shuffle. Playback requires Spotify Premium and works through Spotify Connect devices.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mymusic-mcp
One MCP server for your music. Connect a service once, then any MCP client — Claude Desktop, Claude Code, Gaia's Bob, … — can search your music and play it in the background. Say "drop musics" and it plays.
Provider | Search | Library | Background playback + control |
Spotify Premium | ✅ | ✅ | ✅ on any Spotify Connect device (phone/desktop app, spotifyd, speakers) |
Spotify Free | ✅ | ✅ | ❌ Spotify allows it for Premium only — |
Roadmap: YouTube and YouTube Music providers; fine-tuning the suggestion list from your own collections.
Requirements
Node.js 24 or newer (developed on 26, see .nvmrc).
Related MCP server: spotify-mcp
Setup
npm install
npm run build
node dist/cli.js connect spotifyThe first connect spotify asks for a Client ID from your own Spotify app (one time):
Open https://developer.spotify.com/dashboard and create an app.
Add the Redirect URI
http://127.0.0.1:10001/callbackexactly.Tick Web API, save, copy the Client ID.
While the app is in development mode, add your Spotify account under User Management.
Your browser opens, you approve, and the login is stored in ~/.config/mymusic-mcp/ (files are 0600).
It refreshes itself; you do not log in again unless you revoke access.
Port 10001 busy? node dist/cli.js config set callback-port <port> and change the Redirect URI to match.
Use it from an MCP client
Claude Code:
claude mcp add mymusic -- node /absolute/path/to/mymusic-mcp/dist/cli.js serveClaude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"mymusic": { "command": "node", "args": ["/absolute/path/to/mymusic-mcp/dist/cli.js", "serve"] }
}
}If your default node is older than 24 (check node -v), put the absolute path of a newer node binary in
command, e.g. ~/.nvm/versions/node/v26.13.1/bin/node.
Background playback without opening the Spotify app
The Web API only controls a device; something has to be online to make sound. For a player with no window,
run spotifyd (Linux, macOS, Windows) with a device name, e.g. Gaia,
then make it the default:
node dist/cli.js config set spotify.default-device GaiaDevice choice: the one you name → the active one → your default → the only one online.
Tools
Tool | What it does |
| Connected services, account, plan, capabilities, default |
| Start login from chat (opens the browser on this machine) |
| Tracks, playlists, albums, artists |
| Your playlists, liked songs, saved albums |
| No target = default playlist or Liked Songs ("drop musics"); or a uri/link/text |
| pause, resume, next, previous, volume, shuffle |
| Devices online now |
| Now playing |
Settings
node dist/cli.js status
node dist/cli.js config get
node dist/cli.js config set spotify.default-playlist spotify:playlist:<id>
node dist/cli.js config set open-links false # never open a browser (headless machines)
node dist/cli.js disconnect spotifyDevelopment
npm run typecheck
npm test
npm run inspect # MCP Inspector against the built serverTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Spotify MCP server for ChatGPT, Claude and any AI agent: search songs and artists, list playlists, read playlist songs, create playlist, add songs to playlist, remove songs from playlist, set playlist public or private and save to Liked Songs in your own Spotify account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Spotify yourself; Cotlet does not store your password and you need no Spotify API key. About the official Spotify API: Spotify has a full Web API and, since 23 Apr 2026, an official connector for Claude (checked 5 Nov 2026). The API needs an app you register, and in development mode the app owner must have Premium and the app allows 5 users; unlimited users need a registered business with at least 250,000 monthly users. Setup and FAQ: https://cotlet.dev/integrations/spotify-api-mcp-server
Create, inspect, and manage Wubble music, speech, voice, and sound-effect requests through MCP.
Spacebring MCP server. Look up members, bookings, invoices, subscriptions, events and more, and take everyday actions such as creating events or replying to support tickets, from MCP-compatible AI assistants that support remote servers with OAuth.
Automate 1,000+ services from any MCP-compatible AI agent: build Applets, run actions and queries.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables interaction with Spotify through MCP, providing tools for searching tracks, artists, albums, playlists, and accessing user data like top tracks and recently played.-
- AlicenseAqualityCmaintenanceEnables MCP clients to build and edit Spotify playlists from natural language descriptions.7MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI assistants to control Spotify Premium accounts by searching music, managing playback and devices, handling queues, creating and editing playlists, and browsing or modifying the library.MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to search Spotify's track catalog and retrieve the connected user's recently played tracks through natural language tool calls.127 npmMIT