Connect Taoyuan to Claude Code
Run claude mcp add --transport http taoyuan https://api.musicsforyou.com/mcp. On the first call your browser opens Taoyuan's sign-in; after that, say 'write a birthday song for my mom turning 60' and Claude shows the lyrics first, then generates two complete versions when you confirm.
Steps
- Run the command below (OAuth, no key to paste)
- Or add --header "Authorization: Bearer <API key>"; create keys at musicsforyou.com/developers, new keys include 3 credits
- Type /mcp to confirm taoyuan is connected
- Try: 'use compile_music_prompt to write a birthday song for my dad, show me the lyrics first'
Config
Claude Code lists all 11 tools: create_song, compile_music_prompt, generate_music, render_music_cue and more. Free tools can be set to run without confirmation.
claude mcp add --transport http taoyuan https://api.musicsforyou.com/mcpHow it works
11 tools: one-call songs, lyrics before you pay, revisions, redo one section, stems, cue-length scoring, plus credits and purchase.
Seeing lyrics is free. One Song ¥19.9 (3 generations); Pro ¥399/year, 30 a month, commercial licence included.
Questions
- Why does it ask me to sign in?
- Unauthenticated requests get a 401, which is how Claude Code starts the OAuth flow. Approve once.
- Pricing?
- Compiling and revising are free; one generation costs 1 credit and returns two candidates. Buy credits on the developers page.
- Claude Desktop too?
- Yes, with the local npx taoyuan-mcp package; see /en/mcp/claude-desktop.