Description: Unofficial Yandex Music MCP server for Claude: search, likes, history, My Wave, playlists
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add yandex-music-unofficial --env YANDEX_MUSIC_TOKEN='<YANDEX_MUSIC_TOKEN>' -- uvx yandex-music-mcp~/.codex/config.toml
[mcp_servers.yandex-music-unofficial]
command = "uvx"
args = ["yandex-music-mcp"]
env = { YANDEX_MUSIC_TOKEN = "<YANDEX_MUSIC_TOKEN>" }
# codex mcp add yandex-music-unofficial --env YANDEX_MUSIC_TOKEN='<YANDEX_MUSIC_TOKEN>' -- uvx yandex-music-mcp~/.cursor/mcp.json
{
"mcpServers": {
"yandex-music-unofficial": {
"command": "uvx",
"args": [
"yandex-music-mcp"
],
"env": {
"YANDEX_MUSIC_TOKEN": "<YANDEX_MUSIC_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"yandex-music-unofficial": {
"type": "stdio",
"command": "uvx",
"args": [
"yandex-music-mcp"
],
"env": {
"YANDEX_MUSIC_TOKEN": "<YANDEX_MUSIC_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"yandex-music-unofficial": {
"command": "uvx",
"args": [
"yandex-music-mcp"
],
"env": {
"YANDEX_MUSIC_TOKEN": "<YANDEX_MUSIC_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"yandex-music-unofficial": {
"command": "uvx",
"args": [
"yandex-music-mcp"
],
"env": {
"YANDEX_MUSIC_TOKEN": "<YANDEX_MUSIC_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"yandex-music-unofficial": {
"command": "uvx",
"args": [
"yandex-music-mcp"
],
"env": {
"YANDEX_MUSIC_TOKEN": "<YANDEX_MUSIC_TOKEN>"
}
}
}
}需要的环境变量
YANDEX_MUSIC_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。