把桃源接进 Windsurf
在 Windsurf 的 mcp_config.json 里加 taoyuan:serverUrl 填 https://api.musicsforyou.com/mcp,headers 里放 Authorization: Bearer <API Key>。保存后在 Cascade 里让它写歌。
接入步骤
- Windsurf → Settings → MCP → 打开 mcp_config.json
- 加入下面的 JSON
- Key 在 musicsforyou.com/developers 创建,新 Key 送 3 次
- 在 Cascade 里试:「给我们团队写首年会歌」
配置
Windsurf 目前以 API Key 方式最稳定。
{ "mcpServers": { "taoyuan": { "serverUrl": "https://api.musicsforyou.com/mcp", "headers": { "Authorization": "Bearer ty_live_..." } } } }怎么用
11 个工具:一句话出歌、先看歌词再生成、修改方案、只重做一段、分轨、按镜头出配乐,以及额度与购买。
看歌词免费;一首歌 ¥19.9(含 3 次生成);会员 ¥399/年,每月 30 次,含商用授权。
常见问题
- 支持 OAuth 吗?
- 以 Windsurf 当前版本为准;用 Key 一定可用。