Lets an agent in Cursor search for and play songs on Spotify without leaving the editor.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add spotify-obre10off -- bun /absolute/path/to/your/spotify-mcp/src/index.ts~/.codex/config.toml
[mcp_servers.spotify-obre10off]
command = "bun"
args = ["/absolute/path/to/your/spotify-mcp/src/index.ts"]
# codex mcp add spotify-obre10off -- bun /absolute/path/to/your/spotify-mcp/src/index.ts~/.cursor/mcp.json
{
"mcpServers": {
"spotify-obre10off": {
"command": "bun",
"args": [
"/absolute/path/to/your/spotify-mcp/src/index.ts"
]
}
}
}.vscode/mcp.json
{
"servers": {
"spotify-obre10off": {
"type": "stdio",
"command": "bun",
"args": [
"/absolute/path/to/your/spotify-mcp/src/index.ts"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"spotify-obre10off": {
"command": "bun",
"args": [
"/absolute/path/to/your/spotify-mcp/src/index.ts"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"spotify-obre10off": {
"command": "bun",
"args": [
"/absolute/path/to/your/spotify-mcp/src/index.ts"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"spotify-obre10off": {
"command": "bun",
"args": [
"/absolute/path/to/your/spotify-mcp/src/index.ts"
]
}
}
}