Skip to content
VS Code

Spotify for VS Code

io.github.jamiew/spotify-mcp

MCP server connecting LLMs to Spotify, with smart-batching and large-playlist tools

client:VS Code transport:stdio runtime:pypi

Install Spotify in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "spotify-client-id",
      "description": "SPOTIFY_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "spotify-client-secret",
      "description": "SPOTIFY_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "spotify-redirect-uri",
      "description": "SPOTIFY_REDIRECT_URI",
      "password": true
    }
  ],
  "servers": {
    "spotify-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "spotify-mcp-jamiew"
      ],
      "env": {
        "SPOTIFY_CLIENT_ID": "${input:spotify-client-id}",
        "SPOTIFY_CLIENT_SECRET": "${input:spotify-client-secret}",
        "SPOTIFY_REDIRECT_URI": "${input:spotify-redirect-uri}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Spotify in other clients