Connect ACE Music in Claude Code

Use a local stdio service, and pass credentials to ACE Music through client configuration. First install uv, and set the application API Key you obtained from API Credential Management in the ACEDATACLOUD_API_TOKEN environment variable in the terminal.

Register a user-level MCP service in the terminal:

claude mcp add-json --scope user acemusic '{"type":"stdio","command":"uvx","args":["mcp-acemusic"],"env":{"ACEDATACLOUD_API_TOKEN":"${ACEDATACLOUD_API_TOKEN}"}}'
claude mcp get acemusic

Start Claude Code from the same terminal, and enter /mcp to view the connection status of acemusic. Tell the assistant, “Use ACE Music’s acemusic_get_capabilities to list the supported operations,” to verify the tool call without needing to create a song.

When you need to generate a song, first confirm the lyrics, style, and cost, then submit it once. Save the returned task_id; later, you can ask Claude to use acemusic_get_task to query the original task and candidate song links.

Claude Code MCP Configuration · ACE Music MCP Tools and Pricing