Connecting Codex CLI to Ace Data Cloud MCP

This is an overview article: connect multiple MCP Servers provided by Ace Data Cloud to Codex CLI all at once, enabling OpenAI's open-source terminal coding tool to generate images, write songs, and create videos alongside coding.

Codex CLI is an open-source terminal AI coding assistant officially released by OpenAI, with native MCP support.

What MCP Servers does Ace Data Cloud offer?

We have packaged the following capabilities as hosted 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
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-powered, virtual try-on, product scene changes https://nanobanana.mcp.acedata.cloud/mcp
Luma 🎬 Video Dream Machine, first and last frame control https://luma.mcp.acedata.cloud/mcp
Veo 🎬 Video Google models, native audio, 1080p upscaling https://veo.mcp.acedata.cloud/mcp
Seedance 🎬 Video ByteDance, motion generation, voiceovers https://seedance.mcp.acedata.cloud/mcp
Serp 🔍 Search Google web, image, news, and other searches https://serp.mcp.acedata.cloud/mcp
ShortURL 🔗 Tools Individual and batch short links https://shorturl.mcp.acedata.cloud/mcp

One Ace Data Cloud Token = all MCP Servers, unified billing, pay per call, no monthly fee.


Why Codex CLI + MCP

  • Officially maintained by OpenAI, long-term updates are assured
  • Simply launch with codex, usable in any shell
  • Call Ace Data Cloud through MCP, bypassing the model's own capability limits (songwriting, image generation, video)

Step 1: Get an API Token

Log in to the application list, open the General Application, and click the copy button to the right of API KEY.

Get an Ace Data Cloud API Key

If your balance is insufficient, click the "Recharge" button.


Step 2: Add MCP to Codex CLI

Codex CLI uses a TOML configuration file at ~/.codex/config.toml. Append the following to the end of the file:

[mcp_servers.suno]
url = "https://suno.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.flux]
url = "https://flux.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.seedream]
url = "https://seedream.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.nanobanana]
url = "https://nanobanana.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.luma]
url = "https://luma.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.veo]
url = "https://veo.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.seedance]
url = "https://seedance.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.serp]
url = "https://serp.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

[mcp_servers.shorturl]
url = "https://shorturl.mcp.acedata.cloud/mcp"
http_headers = { "Authorization" = "Bearer 你的Token" }

Replace 你的Token and save; all MCP Servers will load automatically the next time you launch codex.


Step 3: Give It a Try

After completing the configuration, restart the editor / CLI to reload the MCP Servers. Then you can use it like this:

Example 1 (generate a cover image after writing a PR):

Use Flux to generate a GitHub PR cover image with the theme "open-source collaboration", 1280x640.

Example 2 (find resources while writing a technical blog):

Use Serp to search for the 5 latest articles on "OpenAI Codex CLI tutorial 2026".

Example 3 (demo video BGM):

Use Suno to write a 45-second calm piano piece as BGM for a developer tutorial.


Billing and Quotas

  • Pay per call, no charge when not in use, no monthly fee, and no minimum spend.
  • The same Token shares its quota across all MCP Servers.
  • All call records, remaining quota, and spending details can be viewed in the console.
  • For high-volume needs, contact the sales team for bulk pricing.

FAQ

Q: Can I connect only a few of the MCP Servers? A: Of course, just add configurations as needed and leave out the ones you don't use.

Q: Is there a cheaper way to connect? A: Calling the REST API directly is cheaper than MCP (one less layer of wrapping), but you lose the convenience of MCP for LLM tool calls.

Q: What about overseas / cross-border latency? A: All MCP Servers are deployed in Hong Kong, with stable access worldwide; direct connections from mainland China do not require a proxy.

Q: Is self-hosting supported? A: All MCP Servers are open source on GitHub and can be deployed independently.