Taoyuan Music
io.github.JerryYangAIv1.1.1更新於 Oct 1, 2026
Write an original song for one person: lyrics, two full versions and cover art in about a minute.
概覽
讓助理依照對一個人的簡短描述,創作一首包含歌詞、兩個完整版本與封面的原創歌曲。
- 功能
- 桃源會把一句自然語言需求編譯成歌曲企劃——標題、分段歌詞與風格,接著產生兩個附封面的完整版本。工具包括:create_song 一次呼叫產出成品歌;compile_music_prompt 與 revise_generation_prompt 免費產生與修改企劃;generate_music 與 get_generation 用於提交與輪詢;replace_section 只重做某一段;separate_stems 分離人聲與伴奏;以及 list_tracks、list_presets、get_credit_balance、get_purchase_link。服務也提供 MCP 提示詞與場景知識卡等資源。
- 適用情境
- 適合把客製歌曲當作禮物或紀念的場合,例如生日、婚禮、週年紀念、播客片頭,並且希望在消耗額度前先看歌詞。較不適合專業音樂製作或精細的音訊剪輯。
- 執行需求
- 可作為遠端 MCP 端點連線服務商 API 網址,也可透過 npm 套件 taoyuan-mcp(需 Node.js 與 npx)在本機以 stdio 代理執行。認證方式為 TAOYUAN_API_KEY 環境變數或 Authorization Bearer 標頭中的 API 金鑰,claude.ai 與 ChatGPT 連接器則使用 OAuth 登入。金鑰需在服務商開發者頁面建立,新金鑰含 3 次免費額度。需要網路連線。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Taoyuan Music,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"taoyuan-mcp": {
"type": "http",
"url": "https://api.musicsforyou.com/mcp"
}
}
}README
Taoyuan MCP — write a song for one person
Tell your AI assistant who the song is for. About a minute later you get lyrics, two full versions and cover art.
Works in Claude Desktop, Claude Code, ChatGPT, Cursor, Coze and any MCP or OpenAPI client.
[npm] Docs · OpenAPI · llms.txt · 中文
"Write a warm birthday song for my mum turning 60 — she loves singing in the kitchen."
→ 《Kitchen Radio》, 2 × 2:30 MP3, lyrics, cover. One tool call, one credit.
Quick start
Claude Desktop — add to claude_desktop_config.json:
Claude Code / Cursor / anything that speaks remote MCP — no install:
Cursor (one click) — Add to Cursor from the developers page, or mcp.json in this repo (OAuth sign-in on first use).
claude.ai connectors / ChatGPT — add the URL https://api.musicsforyou.com/mcp; OAuth sign-in is built in, no key needed.
REST — one call, finished song back:
Get a key at https://www.musicsforyou.com/developers. New keys come with 3 free credits. Generation costs 1 credit per call (you get two versions); compiling and revising are free.
Tools
The server also exposes MCP prompts (birthday, wedding, podcast intro…) and resources (scene knowledge cards, track details).
How it works
Taoyuan is not a raw text-to-music wrapper. Your sentence goes through a songwriting compiler that decides structure, imagery and language, writes sectioned lyrics in the second person, and picks a style; the result is generated as two full candidates with cover art. Lyrics are written from the story, never copied from the prompt. Languages: Chinese, Cantonese, English, Japanese.
- Auth: API key (
ty_live_…) or OAuth 2.1 (PKCE, dynamic client registration) —https://api.musicsforyou.com/.well-known/oauth-authorization-server - Rate limits: 10 calls / min, 300 / day per key
- Webhooks:
PUT /v1/api-keys/:id/webhook→ HMAC-signedgeneration.finished - Pricing: 10 songs US$9.9 · 50 songs US$39 (card, WeChat Pay, Alipay)
Examples
examples/claude_desktop_config.jsonexamples/openai-agents.py— OpenAI Agents SDK over MCPexamples/curl.sh— REST one-shot
This package
taoyuan-mcp is a small stdio → Streamable HTTP proxy (37 lines). Tool definitions live on the server, so the package never goes stale. Env: TAOYUAN_API_KEY (required), TAOYUAN_MCP_URL (optional override).
Privacy & terms
Songs you generate are yours to use, including commercially on the paid plans. Terms · Privacy · Support: [email protected]
中文
桃源 MCP:为一个人写一首歌。 在 Claude、ChatGPT、Cursor、扣子里说一句「给我妈 60 岁生日写首歌」,一分钟左右拿到歌词、两个完整版本和封面。
- Claude Desktop:上面的
claude_desktop_config.json片段,npx -y taoyuan-mcp - Claude Code / Cursor:
claude mcp add --transport http taoyuan https://api.musicsforyou.com/mcp --header "Authorization: Bearer ty_live_…" - claude.ai / ChatGPT 连接器:填
https://api.musicsforyou.com/mcp,内置 OAuth 登录 - 扣子 / Dify:导入
https://api.musicsforyou.com/openapi-coze.json
API Key 在 https://www.musicsforyou.com/developers 创建,新 Key 送 3 次。生成 1 次扣 1 个额度(两个版本),编译与修改免费。额度包:10 次 US$9.9、50 次 US$39、100 次 ¥300,支持微信、支付宝、银行卡。
License: MIT
來源:README.md,提交 6b49877
工具
0版本歷史
1- v1.1.1最新Oct 1, 2026
