Codex CLI Integration with Suno MCP
📘 Complete Guide: Using all 11 AceData Cloud MCPs in Codex CLI →
Suno is currently the most powerful AI music generation model, capable of creating complete songs with vocals from a single lyric or style description. By integrating MCP with Codex CLI, you can directly have AI help you write songs, create BGM, continue writing, cover, and extract vocals.
¶ Obtaining API Token
Register an account at AceData Cloud Platform and copy the API Token from the homepage — one token grants access to all 11 MCP Servers. Detailed steps can be found in the Complete Guide.
¶ Configuration
Edit the configuration file: ~/.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 be automatically loaded on the next codex session startup.
¶ Usage Examples
Write me a 30-second upbeat Chinese pop song with the theme "Weekend camping with friends"
Use Suno to create a lofi hip hop BGM for a programming tutorial video, no vocals
Continue 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 with a new style |
| lyrics | Generate lyrics only |
| upload_to_persona | Register a Persona using vocal audio |
| query | Query historical generation results |
