Kotlin For Spotify MCP Server

A Model Context Protocol (MCP) server that connects AI assistants to the Spotify Web API. Enables natural language access to Spotify playback

Local serverstdioGo

What is the Kotlin For Spotify MCP server?

Connect Kotlin For Spotify to Claude, Cursor or any other MCP client and it stops being a tab you switch to. A Model Context Protocol (MCP) server that connects AI assistants to the Spotify Web API. Enables natural language access to Spotify playback, search, playlists, and user profile data — ideal for building LLM-integrated music assistants. The kotlin for spotify mcp server is what makes that connection.

What the server does

A Kotlin implementation of a Model Context Protocol (MCP) server that integrates with the Spotify Web API. This server provides tools for controlling Spotify playback, managing playlists, and retrieving user information through a standardized interface.

  • Spotify Authentication — Manages Spotify API tokens and authentication
  • Playback Control — Play, pause, skip tracks, seek to position, set volume, and control repeat mode
  • Playlist Management — Create playlists, add/remove tracks, and retrieve playlist information
  • User Profile — Retrieve user profile information
  • MCP Integration — Implements the Model Context Protocol for standardized tool interactions

Installation

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Credentials and setup notes

Configuration is passed through the environment: SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • JDK 20 or higher - Kotlin 2.1.10 - Gradle (wrapper included) - Spotify Developer Account (for API access)

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the AI and media services options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by Carrieukie; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Configuration

  • JDK 20 or higher - Kotlin 2.1.10 - Gradle (wrapper included) - Spotify Developer Account (for API access)
VariableDescriptionRequired
SPOTIFY_CLIENT_IDConfiguration value read at startup.Optional
SPOTIFY_CLIENT_SECRETCredential the server authenticates with.Yes

Frequently asked questions

JDK 20 or higher, Kotlin 2.1.10, and Gradle (wrapper included). A Spotify Developer Account is needed for API access.