Model Context Protocol

Music MCP server: run YuE from Claude, ChatGPT or Cursor

The YueAI.net MCP server lets your assistant start YuE runs and A/B compares on your account, check on them and export the recipe. Same engines, prices, credits and refunds as the bench.

Server URL (Streamable HTTP)

https://yueai.net/mcp

Tools your assistant can call

list_prices
Credit prices for each run size and engine, and the setting limits.
run_yue
Start a YuE run (692 credits, full run 1,232) or an ACE-Step run from your tags and lyrics. You confirm the lyrics are your own words.
compare_engines
Start an A/B compare of YuE and ACE-Step on one recipe: 782 credits.
get_run
The state of one run, with its audio link once ready.
export_recipe
A run's recipe as JSON plus genre.txt, lyrics.txt and run.sh for your own GPU.
list_runs
Your latest runs, newest first.
get_credits
Remaining balance and plan.

Credits are taken when a run starts, and a run that fails is refunded automatically. Every run is saved with its recipe.See credit prices

Connect YueAI.net to Claude, ChatGPT or Cursor

Pick your app, paste the snippet, then sign in when the browser opens.

In claude.ai or Claude Desktop open Settings → Connectors → Add custom connector, name it YueAI.net and paste the URL. Press Connect and approve access.

https://yueai.net/mcp

Your browser opens YueAI.net: sign in (or create a free account) and press Allow access. No password or API key is shared with the assistant.

Signing in once with your YueAI.net account

  1. Your client calls the server and receives a 401 that points to our OAuth metadata.
  2. It registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE sign-in page.
  3. You sign in on YueAI.net and approve that one app on the consent screen.
  4. The client gets a token for https://yueai.net/mcp only, refreshed automatically and revocable at any time.

Review connected apps

Running YuE from code

Assistants sign in with OAuth. For scripts, use the REST API with an API key from Settings → API keys (any plan or pack).

{
  "mcpServers": {
    "yueai-net": {
      "url": "https://yueai.net/mcp"
    }
  }
}
Read the API docs

Questions from assistant users

Does the MCP server cost extra?

No. Connecting is free; you only spend the credits each run costs, exactly as on the bench.

What can my assistant do?

Start YuE or ACE-Step runs and A/B compares, check on them, read back the audio links and export recipes. Blind voting is on the bench.

What happens if a run fails or my balance is too low?

Credits are taken when a run starts, and a run that fails comes back as credits on its own. With too few credits the tool tells you, and your balance stays as it was.

Can my assistant ask for an artist's voice or style?

No. Naming artists or asking for their voice or style is refused, over MCP and on the bench alike.

My client keeps asking me to sign in. What do I do?

Delete the server in your client, add it once more, and the next tool call opens a new sign-in.

How long does a run take, and where does it go?

A YuE run takes several minutes, so the assistant checks back. Every run is saved in My runs with its recipe.

Last updated: