Codex CLI Integration with Ace Data Cloud MCP
This is an overview article: Connect all 11 MCP Servers provided by AceData Cloud at once to Codex CLI, enabling OpenAI’s open-source terminal programming tool to conveniently generate images, write songs, and create videos alongside coding.
Codex CLI is an official open-source terminal AI programming assistant from OpenAI, with native MCP support.
¶ What MCP Servers Does AceData Cloud Provide?
We have packaged 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, continuation, vocal separation, Persona | https://suno.mcp.acedata.cloud/mcp |
| Midjourney | 🎨 Art | Text-to-image, image mixing, upscaling, editing, video generation | https://midjourney.mcp.acedata.cloud/mcp |
| Flux | 🎨 Art | 6 models, Kontext editing, commercial royalty-free | https://flux.mcp.acedata.cloud/mcp |
| Seedream | 🎨 Art | ByteDance models, strongest Chinese prompt understanding | https://seedream.mcp.acedata.cloud/mcp |
| NanoBanana | 🎨 Art | Gemini-driven, virtual try-on, product background replacement | https://nanobanana.mcp.acedata.cloud/mcp |
| Luma | 🎬 Video | Dream Machine, start/end frame control | https://luma.mcp.acedata.cloud/mcp |
| Sora | 🎬 Video | OpenAI top models, character consistency | https://sora.mcp.acedata.cloud/mcp |
| Veo | 🎬 Video | Google models, native audio, 1080p super resolution | https://veo.mcp.acedata.cloud/mcp |
| Seedance | 🎬 Video | ByteDance, motion generation, dubbing | https://seedance.mcp.acedata.cloud/mcp |
| Serp | 🔍 Search | Google search with 6 types, multilingual | https://serp.mcp.acedata.cloud/mcp |
| ShortURL | 🔗 Tools | Long URL to short URL, batch, free forever | https://shorturl.mcp.acedata.cloud/mcp |
One AceData Cloud Token = access to all 11 MCP Servers, unified billing, pay-per-call, no monthly fee.
¶ Why Codex CLI + MCP
- Officially maintained by OpenAI, guaranteed long-term updates
- Minimal startup with
codex, works in any shell - Call AceData Cloud via MCP to bypass model capability limits (songwriting, image generation, video)
¶ Step 1: Get API Token
- Open AceData Cloud Platform, supports login via GitHub, Google, WeChat, email, or phone number. Register to get free quota.
- After login, your API Token is visible on the homepage; click to copy.

- If balance is low, go to Console → Recharge, supports Alipay, WeChat, Stripe.
¶ Step 2: Add MCP in Codex CLI
Codex CLI uses a TOML 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.midjourney]
url = "https://midjourney.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.sora]
url = "https://sora.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 with your actual token and save. Next time you start codex, all MCP Servers will load automatically.
¶ Step 3: Try It Out
After configuration, restart your editor/CLI to reload MCP Servers. Then you can use it like this:
Example 1 (Generate cover image after writing a PR):
Use Flux to generate a GitHub PR cover image with the theme "Open Source Collaboration", size 1280x640.
Example 2 (Find information while writing a technical blog):
Use Serp to search for the top 5 latest articles on "OpenAI Codex CLI tutorial 2026".
Example 3 (Demo video BGM):
Use Suno to compose a 45-second calm piano piece as background music for a developer tutorial.
¶ Billing and Quotas
- Pay per call, no cost if not used, no monthly fee, no minimum consumption.
- The same token shares quota across all MCP Servers.
- All call records, remaining quota, and billing details can be viewed in the Console.
- For large volume needs, contact sales for bulk pricing.
¶ FAQ
Q: Can I connect only some of the MCP Servers?
A: Of course, just add the configurations you need; no need to add unused ones.
Q: Is there a cheaper way to access?
A: Directly calling the REST API is cheaper than MCP (less overhead), but you lose MCP’s convenience for LLM tool integration.
Q: Overseas / cross-border latency issues?
A: All MCP Servers are deployed in Hong Kong, providing stable global access; direct connection from Mainland China requires no proxy.
Q: Is self-hosting supported?
A: All MCP Servers are open source on GitHub, so you can deploy them yourself.
