Codex CLI Integration with Ace Data Cloud MCP
This is an overview article: Connect multiple MCP Servers provided by Ace Data Cloud to Codex CLI at once, allowing OpenAI's open-source terminal programming tool to easily generate images, write songs, and create videos while coding.
Codex CLI is an open-source terminal AI programming assistant officially launched by OpenAI, natively supporting MCP.
¶ What MCP Servers Does Ace Data Cloud Provide?
We have encapsulated the following capabilities into managed remote MCP Servers, ready to use out of the box:
| MCP Server | Domain | Core Capabilities | Remote URL |
|---|---|---|---|
| Suno | 🎵 Music | Text-to-song, lyrics, covers, continuations, vocal separation, Persona | https://suno.mcp.acedata.cloud/mcp |
| Flux | 🎨 Art | Image generation and editing | https://flux.mcp.acedata.cloud/mcp |
| Seedream | 🎨 Art | Image generation and editing | https://seedream.mcp.acedata.cloud/mcp |
| NanoBanana | 🎨 Art | Gemini-driven, virtual fitting, product scene change | https://nanobanana.mcp.acedata.cloud/mcp |
| Luma | 🎬 Video | Dream Machine, start and end frame control | https://luma.mcp.acedata.cloud/mcp |
| Veo | 🎬 Video | Google model, native audio, 1080p super resolution | https://veo.mcp.acedata.cloud/mcp |
| Seedance | 🎬 Video | ByteDance, action generation, dubbing | https://seedance.mcp.acedata.cloud/mcp |
| Serp | 🔍 Search | Google web, image, news search | https://serp.mcp.acedata.cloud/mcp |
| ShortURL | 🔗 Tool | Single and batch short links | https://shorturl.mcp.acedata.cloud/mcp |
One Ace Data Cloud Token = All MCP Servers, unified billing, charged per call, no monthly fee.
¶ Why Codex CLI + MCP
- Officially maintained by OpenAI, long-term updates guaranteed
- Extremely simple to start
codex, usable in any shell - Call Ace Data Cloud through MCP, bypassing the inherent limitations of the model (writing songs, generating images, videos)
¶ Step 1: Obtain API Token
- Open the Ace Data Cloud platform, supporting login via GitHub, Google, WeChat, email, or phone number, with free credits upon registration.
- After logging in, you can see your API Token on the homepage; click to copy.

- If your balance is insufficient, go to Console → Recharge, supporting Alipay, WeChat, and Stripe.
¶ Step 2: Add MCP in Codex CLI
Codex CLI uses a TOML format configuration file ~/.codex/config.toml. Append the following at the end of the file:
[mcp_servers.suno]
url = "https://suno.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.flux]
url = "https://flux.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.seedream]
url = "https://seedream.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.nanobanana]
url = "https://nanobanana.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.luma]
url = "https://luma.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.veo]
url = "https://veo.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.seedance]
url = "https://seedance.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.serp]
url = "https://serp.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
[mcp_servers.shorturl]
url = "https://shorturl.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer yourToken" }
Replace yourToken and save. The next time you start codex, all MCP Servers will load automatically.
¶ Step 3: Try It Out
After configuration, restart the editor / CLI to reload the MCP Servers. You can then use it like this:
Example 1 (Generate cover image after completing PR):
Use Flux to generate a GitHub PR cover image with the theme "Open Source Collaboration", 1280x640.
Example 2 (Searching for information while writing a technical blog):
Use Serp to search for "OpenAI Codex CLI tutorial 2026" for the top 5 latest articles.
Example 3 (Demo video BGM):
Use Suno to write a 45-second calm piano piece for developer tutorial BGM.
¶ Billing and Quota
- Charged per use, no cost if not called, no monthly fee, no minimum consumption.
- The same Token shares the quota across all MCP Servers.
- All call records, remaining quota, and consumption details can be viewed in the Console.
- For large volume needs, contact sales for bulk pricing.
¶ Frequently Asked Questions
Q: Can I only connect a few MCP Servers?
A: Of course, just add the configurations as needed; do not add those that are not used.
Q: Is there a cheaper way to connect?
A: Directly calling the REST API is cheaper than MCP (one less layer of encapsulation), but loses the convenience of MCP in LLM tool calls.
Q: What about overseas/cross-border latency issues?
A: All MCP Servers are deployed in Hong Kong, with stable global access; direct connection from mainland China does not require a proxy.
Q: Is self-hosting supported?
A: All MCP Servers are open-sourced on GitHub and can be deployed by yourself.
