Codex CLI Integration with Luma MCP

📘 Complete Guide: Using all 11 AceData Cloud MCPs in Codex CLI →

Luma AI's Dream Machine video model features natural camera movements, strong physical realism, and supports image-to-video. After integrating with Codex CLI via MCP, it can be directly invoked within conversations without switching windows or copying and pasting.

¶ 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 are available in the Complete Guide.

¶ Configuration

Edit the configuration file: ~/.codex/config.toml

[mcp_servers.luma]
url = "https://luma.mcp.acedata.cloud/mcp"
type = "http"

http_headers = { "Authorization" = "Bearer 你的Token" }

The tool will be automatically loaded on the next codex session startup after saving.

¶ Usage Examples

Generate a 5-second video with Luma: a lighthouse on the sea at night, waves crashing

Turn this product image (link xxx) into a 360-degree rotating showcase video

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