把桃源接进 Claude Desktop
Claude Desktop 用本地 stdio 方式:在 claude_desktop_config.json 的 mcpServers 里加 taoyuan,命令 npx -y taoyuan-mcp,环境变量 TAOYUAN_API_KEY 填你的 Key。重启 Claude Desktop 后,对话里就能一句话出歌。
接入步骤
- 在 musicsforyou.com/developers 创建 API Key(ty_live_ 开头)
- 把下面的 JSON 加进 claude_desktop_config.json
- 重启 Claude Desktop,输入框左下角能看到工具图标
- Key 只放在本机配置文件里,不要发到聊天里
配置
本地包是开源的:github.com/JerryYangAI/taoyuan-mcp,npm 包名 taoyuan-mcp。
{
"mcpServers": {
"taoyuan": {
"command": "npx",
"args": ["-y", "taoyuan-mcp"],
"env": { "TAOYUAN_API_KEY": "ty_live_..." }
}
}
}怎么用
11 个工具:一句话出歌、先看歌词再生成、修改方案、只重做一段、分轨、按镜头出配乐,以及额度与购买。
看歌词免费;一首歌 ¥19.9(含 3 次生成);会员 ¥399/年,每月 30 次,含商用授权。
常见问题
- 配置文件在哪?
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json;Windows:%APPDATA%\Claude\claude_desktop_config.json。
- 需要装 Node 吗?
- 需要 Node.js 18 以上,npx 会自动下载包。