Since its first edition in 2018, I have been attending Cooltural Fest, a music festival that takes place yearly in my hometown of Almería.

Cooltural Fest

I use the months before the festival to learn about new bands. The organization keeps an official Spotify Playlist that I don’t find very interesting since they, rightfully, emphasize the bigger bands and their most popular songs. Every year I copy all entries to my own list, trim most of the headliners’ content, and keep adding entries from the smaller artists.

But what I like is hearing music while coding, not messing with Spotify UI and playlists. I thought it would be nice to speak to an AI chatbot and tell it exactly how I want my playlist built. In this brave new world of AI, Spotify might have deployed their own agent or MCP server. Turns out they haven’t, but luckily some developer took the time to implement an MCP server for the streaming service.

The setup

Marcel Marais - Spotify MCP Server

At first glance, this looks fine. It has implemented the APIs I’ll likely need. I followed the setup instructions step by step, found no problem and five minutes later, I had my Spotify MCP ready to run.

To interact with the agent, the author provides instructions for Claude Desktop, Cursor and CLine Extension for VS Code. As of today, my AI setup is GitHub Copilot for work and ChatGPT Free for everything else. I don’t use Claude Desktop or Cursor. I do use Visual Studio Code, but its out-of-the-box GitHub Copilot chat is enough for me. My point is I didn’t want to try the CLine extension this time, so I tried to set up the MCP server without any more extension installs.

First, I ran the Add MCP Server command. When asked for the type of MCP server, I selected Command (stdio), typed node when asked for the command, and entered the server name. I chose to install the server only for the active workspace, so a new file was created in the active folder .vscode\mcp.json. The command line arguments must be filled manually as shown in the GitHub setup section. In the end, the mcp.json file should look like this

VS Code mcp.json

We’re almost set. Now click Start Server in the sidebar and Voila! We have our agent ready to answer Spotify questions.

MCP Server Running

In the next post, I’ll explore how clever the chatbot is and whether it’s enough to build my perfect Cooltural 2026 playlist.

Building the Playlist

According to the docs, playlist creation is a supported operation

createPlaylist

so I asked the chatbot to create my list, but it was unable

Create Playlist Error

After several failed tries, I browsed the repo and found a related pull request that fixes this problem, but I was not in the mood of cloning another repo, so I created an empty list with the right name manually.

Now, I want the agent to locate the official playlist and the one I just created. The first one was correctly fetched

Get Official Playlist

and so was the one I just created

Get Personalized Playlist

I had copied all tracks from the official playlist. Now I want to prune the headliners. Let’s start with David Bisbal. Nothing against him, I love how he promotes my hometown and seems a nice guy, but not the kind of artist I’m interested in when attending to an indie rock festival.

Remove David Bisbal

I kept removing headliners whose songs I have heard enough times

Remove2

So far so good. Now, I’m wondering whether the organization left any artist behind in their official playlist. Let’s see if the bot can find the festival lineup automatically

Asked Cooltural Lineup Asked Cooltural Lineup2

It did quite well; couldn’t sort all the artists in the right day, but I think it had the correct lineup. Now that it knows all the bands it can walk trough the list and check for omissions

Check for Omissions

Of course it does remember we removed a few artists before.

At this point, I’m satisfied with my playlist and, and I have successfully checked the MCP server functionality. I only had to do one manual operation and it would by most likely fixed by merging that PR, so I’d say this way of interacting with spotify has promise.

I’d like to try any other handy MCP servers in the future.