把桃源接进 Cursor
在 Cursor 里接桃源有两种方式:点 musicsforyou.com/developers 上的「Add to Cursor」,或在项目的 .cursor/mcp.json 里加 taoyuan 的 URL。第一次调用工具时 Cursor 会打开浏览器让你登录桃源并点允许。
接入步骤
- 方式一:developers 页点「Add to Cursor」
- 方式二:把下面的 JSON 放进 .cursor/mcp.json(项目级)或 ~/.cursor/mcp.json(全局)
- Settings → MCP 里确认 taoyuan 是绿色
- 在 Agent 模式里试:「给播客做一段 15 秒片头」
配置
Cursor 的 Agent 会按工具描述自动选 create_song 或分步工具;免费工具不会扣额度。
{ "mcpServers": { "taoyuan": { "url": "https://api.musicsforyou.com/mcp" } } }怎么用
11 个工具:一句话出歌、先看歌词再生成、修改方案、只重做一段、分轨、按镜头出配乐,以及额度与购买。
看歌词免费;一首歌 ¥19.9(含 3 次生成);会员 ¥399/年,每月 30 次,含商用授权。
常见问题
- 能用 API Key 代替登录吗?
- 可以,在 JSON 里加 headers: { "Authorization": "Bearer ty_live_..." }。
- 工具列表为空?
- 确认 URL 是 https://api.musicsforyou.com/mcp,并且已完成一次 OAuth 登录。