Codex CLI Integration with Suno MCP
📘 Complete Guide: Using Ace Data Cloud MCP in Codex CLI →
Suno supports generating songs based on lyrics or style descriptions. After integrating MCP with Codex CLI, you can write songs, create BGM, continue writing, cover songs, or extract vocals in conversations.
¶ Obtain API Token
Register an account at Ace Data Cloud platform and copy the API Token from the homepage—one Token is sufficient to use all MCP Servers. For detailed steps, see the Complete Guide.

¶ Configuration
Edit the configuration: ~/.codex/config.toml
[mcp_servers.suno]
url = "https://suno.mcp.acedata.cloud/mcp"
type = "http"
http_headers = { "Authorization" = "Bearer yourToken" }
After saving, the Suno tool will automatically load during the next codex session startup.
¶ Usage Examples
Help me write a 30-second upbeat Chinese pop song with the theme "Camping with friends on the weekend."
Use Suno to create a lofi hip hop BGM for a programming tutorial video, without vocals.
Extend this song (link xxx) from 30 seconds to 90 seconds, maintaining the original melody style.
¶ Tools
| Tool | Description |
|---|---|
| generate | Generate a song from a description |
| custom | Generate a song with custom lyrics + style |
| extend | Extend an existing song to be longer |
| cover | Cover a song in a new style |
| lyrics | Generate only lyrics |
| upload_to_persona | Register Persona with vocal audio |
| query | Query historical generation results |
