spotify-mcp-server
The project is a Kotlin-based MCP server for interacting with the Spotify Web API, allowing playback control, playlist management, and user information retrieval. It integrates with VS Code's Copilot and runs in two modes for flexibility in use.
What are the prerequisites for running the Kotlin MCP Server for Spotify?
You need JDK 20 or higher, Kotlin 2.1.10, Gradle, and a Spotify Developer Account for API access.
How do I authenticate with Spotify using this server?
The server manages Spotify API tokens and authentication automatically once you provide your Spotify Client ID and Client Secret in the .env file.
Can I run the server in different modes?
Yes, the server can be run in Standard I/O Mode or Server-Sent Events (SSE) Mode, depending on your needs.
How do I add new tools to the MCP server?
Create a new Kotlin file in the mcpserver/spotifymcp/tools package, define a function for the tool, and register it using server.addTool().
What testing framework is used for this project?
The project uses JUnit 5 for testing, and tests should be placed in the src/test/kotlin directory.