MCP Spotify Server
Overview
MCP Spotify Server is a Flask-based server that implements the Model Context Protocol (MCP) to facilitate interaction with the Spotify API.
To use MCP Spotify Server, clone the repository and install the required dependencies using the command: pip install -r requirements.txt.
- Implements Model Context Protocol for Spotify API interaction - Built using Flask for easy setup and deployment - Allows for seamless integration with Spotify services
- Building applications that require Spotify data access.
- Creating custom music-related services using Spotify's API.
- Developing tools for music analytics and recommendations.
Add to your AI client
Use these steps to connect MCP Spotify Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-spotify-server-abhishekpa8368": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-spotify-server-abhishekpa8368"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-spotify-server-abhishekpa8368": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-spotify-server-abhishekpa8368"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-spotify-server-abhishekpa8368": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-spotify-server-abhishekpa8368"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-spotify-server-abhishekpa8368": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-spotify-server-abhishekpa8368"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-spotify-server-abhishekpa8368": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-spotify-server-abhishekpa8368"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-spotify-server-abhishekpa8368": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-spotify-server-abhishekpa8368"
]
}
}
}FAQ
What is the Model Context Protocol (MCP)?
MCP is a protocol designed to standardize interactions with various APIs, including Spotify's.
Is there any documentation available?
Yes, you can find the documentation in the repository's README file.
Can I contribute to the project?
Absolutely! Contributions are welcome, and you can submit a pull request on GitHub.