# YuE MCP server: make songs from Claude, ChatGPT or Cursor

> The YueAI.app MCP server lets your assistant render your lyrics as YuE songs or ACE-Step drafts on your account and hand you the links. It uses the same engines, prices and held-credit rule as the studio; the segment editor and the tag picker are in the studio.

Server URL (Streamable HTTP): `https://yueai.app/mcp`

## Connect YueAI.app to Claude, ChatGPT or Cursor

### Claude

In claude.ai or Claude Desktop go to Settings → Connectors → Add custom connector, call it YueAI.app and paste the server URL. Press Connect and approve access.

```
https://yueai.app/mcp
```

### Claude Code

Run this in a terminal, then type /mcp inside Claude Code and pick the server to sign in.

```
claude mcp add --transport http yueai-app https://yueai.app/mcp
```

### ChatGPT

In ChatGPT open Settings → Apps & Connectors → Advanced and turn on developer mode, then Create a connector with this URL and OAuth authentication.

```
https://yueai.app/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login yueai-app to sign in.

```
[mcp_servers.yueai-app]
url = "https://yueai.app/mcp"
```

### Cursor

Add the server to ~/.cursor/mcp.json (or Settings → MCP → Add new server). Cursor shows a Login button for it.

```
{
  "mcpServers": {
    "yueai-app": {
      "url": "https://yueai.app/mcp"
    }
  }
}
```

### VS Code

Save as .vscode/mcp.json in your workspace (or run MCP: Add Server). VS Code asks you to sign in on the first tool call.

```
{
  "servers": {
    "yueai-app": {
      "type": "http",
      "url": "https://yueai.app/mcp"
    }
  }
}
```

### Windsurf

Add it to ~/.codeium/windsurf/mcp_config.json and refresh the MCP panel in Cascade.

```
{
  "mcpServers": {
    "yueai-app": {
      "serverUrl": "https://yueai.app/mcp"
    }
  }
}
```

A browser tab opens on YueAI.app: log in (or make a free account) and press Allow access. The assistant never sees your password, and there is no API key to paste.

## Signing in once with your YueAI.app account

1. The assistant calls the server first and gets a 401 reply naming our OAuth metadata URL.
2. Next it registers (Client ID Metadata Document or dynamic registration) and opens a PKCE login page.
3. You log in on YueAI.app and grant access to that single app on the consent screen.
4. The assistant receives a token scoped to https://yueai.app/mcp; it refreshes on its own and you can revoke it whenever you like.

## Calling YuE from scripts, with no browser

API keys are not offered yet. Every assistant logs in through OAuth, which Claude, ChatGPT, Cursor, VS Code, Codex and Windsurf all support.

## YuE MCP tools your assistant can call

- `list_prices`: Credit prices for each job and the limits on lyrics, tags and segments.
- `make_song`: Start a YuE take (664 credits for a Song, 1,196 for a Full song) or an ACE-Step draft (52) from your lyrics and tags. The call carries your confirmation that the words are yours.
- `get_song`: Status of a single job, plus the audio link when it is done.
- `list_songs`: Your latest songs, newest first.
- `get_credits`: Remaining balance and plan.

Credits are held when a job starts and charged when it finishes; a failed job costs nothing. Every song is saved in your library.

## Troubleshooting

- Client says 'needs authentication': delete the server and add it once more, which makes it sign in from scratch.
- “Not enough credits”: ask for get_credits, then buy credits on the pricing page. You weren't charged.
- A song still “running”: a YuE song takes several minutes. Ask the assistant to call get_song again a little later.
- 401 with a key starting sk_: this site has no API keys. Remove the header and sign in with OAuth.

## Questions from assistant users

### Is there a fee for linking an assistant to YuE?

No. Linking costs nothing; each YuE take or draft spends the same credits it costs in the studio.

### Which YuE jobs can the assistant start for me?

Help you shape lyrics and tags, start YuE songs or ACE-Step drafts, check on them and read back the audio links. The segment editor and the tag picker are in the studio.

### What if a YuE take fails, or I run short of credits?

Credits are held when a job starts and charged only when the song arrives; a failed run gives them back. If the balance is short, the tool says so before starting and nothing is spent.

### Will YuE copy a famous singer if my assistant asks?

No. Every voice on YueAI.app is generated, whether the request comes over MCP or from the studio; artist names, voice cloning and covers of existing songs are refused.

### Why does my assistant ask me to log in again and again?

Remove the server from your assistant and add it back; the next tool call starts a fresh login.

### How many minutes does a YuE take need, and where is it saved?

A YuE song usually takes 10 to 24 minutes, so the assistant checks back. Every song is saved in your library with its lyrics and tags.


---

Source: https://yueai.app/mcp-server · Site index for AI agents: https://yueai.app/llms.txt · Full content: https://yueai.app/llms-full.txt
