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.

已验证Streamable HTTP可网页运行AI & MLMedia & Design

概览

AI 生成的概览

让助手根据对一个人的简短描述,创作一首包含歌词、两个完整版本和封面的原创歌曲。

功能
桃源会把一句自然语言请求编译成歌曲方案——标题、分段歌词和风格,然后生成两个带封面的完整版本。工具包括: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 次免费额度。需要网络访问。
安装前请注意
生成会消耗额度:create_song、generate_music 和 replace_section 各扣 1 个额度,付费额度包通过服务返回的 Stripe 结账链接购买。API 密钥(TAOYUAN_API_KEY,以 ty_live_ 开头)属于机密,不应外泄。请求会发送到服务商服务器,生成歌曲受服务商条款约束;每个密钥限速为每分钟 10 次、每天 300 次。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Taoyuan Music,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "taoyuan-mcp": {
      "type": "http",
      "url": "https://api.musicsforyou.com/mcp"
    }
  }
}

README

[Taoyuan]

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:

json
{  "mcpServers": {    "taoyuan": {      "command": "npx",      "args": ["-y", "taoyuan-mcp"],      "env": { "TAOYUAN_API_KEY": "ty_live_…" }    }  }}

Claude Code / Cursor / anything that speaks remote MCP — no install:

bash
claude mcp add --transport http taoyuan https://api.musicsforyou.com/mcp \  --header "Authorization: Bearer ty_live_…"

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:

bash
curl https://api.musicsforyou.com/v1/songs \  -H "Authorization: Bearer ty_live_…" -H "Content-Type: application/json" \  -d '{"text":"A gentle lullaby for my daughter Mia, she loves the moon","waitSeconds":180}'

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

ToolCostWhat it does
create_song1 creditOne call: who the song is for → lyrics + two full versions + cover (server waits up to 180 s)
compile_music_promptfreeTurn a request into title / lyrics / style so the user can read it first
revise_generation_promptfreeApply an edit ("stronger chorus", "female voice") to a plan
generate_music1 creditSubmit a plan; returns a generation id (two versions)
get_generationfreePoll; supports waitSeconds long-poll
replace_section1 creditRedo only one part of a finished song
separate_stemsfree once per songVocals / instrumental split (12-stem split needs Pro)
list_tracks list_presets get_credit_balance get_purchase_linkfreeLibrary, scenes, balance, Stripe checkout link

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-signed generation.finished
  • Pricing: 10 songs US$9.9 · 50 songs US$39 (card, WeChat Pay, Alipay)

Examples

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
  1. v1.1.1最新Oct 1, 2026