Lets an agent in Cursor search for and play songs on Spotify without leaving the editor.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}