Codex CLI Integration with Luma MCP
📘 Complete Guide: Using Ace Data Cloud MCP in Codex CLI →
Luma AI's Dream Machine video model features natural camera movement, strong physicality, and supports image-to-video. After integrating with Codex CLI via MCP, it can be called directly in the conversation without switching windows or copying and pasting.
¶ Obtain API Token
Register an account at the 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.luma]
url = "https://luma.mcp.acedata.cloud/mcp"
type = "http"
http_headers = { "Authorization" = "Bearer yourToken" }
After saving, the tool will automatically load during the next codex session startup.
¶ Usage Examples
Generate a 5-second video with Luma: a lighthouse on the sea, at night, with waves crashing
Create a 360-degree rotating display video from this product image (link xxx)
Extend the previous 5-second video to 10 seconds, maintaining the camera style
¶ Tools
| Tool | Description |
|---|---|
| luma_generate_video | Text-to-video / Image-to-video / Video continuation |
