# Music MCP: generate ACE-Step songs from Claude, ChatGPT or Cursor

> The Ace-Step.xyz MCP server lets your assistant fill in a recipe, generate the song on your account and hand you the audio link. It uses the same models, prices, credits and refunds as the workbench, and every take keeps its seed and recipe.

Server URL (Streamable HTTP): `https://ace-step.xyz/mcp`

## Connect Ace-Step.xyz to Claude, ChatGPT or Cursor

### Claude

From claude.ai or Claude Desktop, follow Settings → Connectors → Add custom connector. Call the connector Ace-Step.xyz, drop in the URL, then click Connect and grant access.

```
https://ace-step.xyz/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 ace-step-xyz https://ace-step.xyz/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://ace-step.xyz/mcp
```

### Codex

Add the block to ~/.codex/config.toml, then run codex mcp login ace-step-xyz to sign in.

```
[mcp_servers.ace-step-xyz]
url = "https://ace-step.xyz/mcp"
```

### Cursor

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

```
{
  "mcpServers": {
    "ace-step-xyz": {
      "url": "https://ace-step.xyz/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": {
    "ace-step-xyz": {
      "type": "http",
      "url": "https://ace-step.xyz/mcp"
    }
  }
}
```

### Windsurf

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

```
{
  "mcpServers": {
    "ace-step-xyz": {
      "serverUrl": "https://ace-step.xyz/mcp"
    }
  }
}
```

Ace-Step.xyz loads in your browser. Log in, or open a free account, and click Allow access. The assistant never sees your password. Clients that cannot sign in can send an API key instead.

## Signing in once with your Ace-Step.xyz account

1. The first call from your client gets a 401 reply that points to this site's OAuth metadata.
2. Your client registers itself (Client ID Metadata Document or dynamic registration) and opens a PKCE log-in page.
3. You log in to Ace-Step.xyz and approve that single client on the consent screen.
4. The client receives a token that works for https://ace-step.xyz/mcp only; it refreshes quietly, and you can revoke it at any time.

## Calling it from code or a headless client

Create an API key in Settings and send it as "Authorization: Bearer sk_…". The same key works for the MCP server and the REST API, and spends this account's credits.

## Tools your assistant can call

- `list_prices`: Credits per take for each model, the length each model makes and the rack limits.
- `generate_song`: Generate a song from a caption, lyrics or instrumental, length, BPM, key, time signature, seed and thinking: 131 credits on ACE-Step 1.5.
- `rerun_with_change`: Re-run one of your takes on the same seed with exactly one setting changed.
- `get_take`: The state of one take, with its audio link and recipe once ready.
- `list_takes`: Your latest takes, newest first.
- `get_credits`: Remaining balance and plan.

Credits are taken only when a take starts, and a take that fails is refunded automatically. Every take is saved in your library with its recipe.

## Troubleshooting

- "Needs authentication" keeps coming back: remove the server, add it again, and the client starts its OAuth log-in from the beginning.
- "Not enough credits": call get_credits to see the balance, then top up on the pricing page. Nothing was charged.
- A take still "running": songs usually take 1 to 5 minutes. Ask the assistant to call get_take again.
- 401 with a key starting sk_: the key was deleted or mistyped. Create a new one in Settings → API keys.

## Before you connect an assistant

### Is there a fee to connect an assistant?

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

### Which jobs can an assistant run here?

Fill in a recipe with you, generate the song, check on it, re-run it with one change and read back the audio link and recipe card.

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

A take is charged when it starts; if it fails, its credits return at once. With too few credits the tool names the shortfall and charges nothing.

### Will an assistant copy a singer's voice or an artist's style?

No. Ace-Step.xyz has no voice cloning and no reference audio, over MCP and on the workbench alike. Captions that name an artist or ask for a cover or sound-alike are refused.

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

Remove the server from your client and add it again; the next tool call starts a fresh log-in.

### How long until a take is ready, and where is it saved?

Usually 1 to 5 minutes, so the assistant may check back a few times. Every take is saved in your library with its seed and recipe.


---

Source: https://ace-step.xyz/mcp-server · Site index for AI agents: https://ace-step.xyz/llms.txt · Full content: https://ace-step.xyz/llms-full.txt
