Connecting Codex CLI to Seedream MCP

📘 Complete Guide: Use Ace Data Cloud MCP in Codex CLI →

An image model developed by ByteDance with strong Chinese semantic understanding, specializing in traditional Chinese styles, Eastern aesthetics, and realistic photography. After connecting it to Codex CLI through MCP, you can invoke it directly in conversations without switching windows or copying and pasting.

Get an API Token

Log in to the application list, open General Application, and click the copy button to the right of API KEY. For detailed steps, see the Complete Guide.

Get an Ace Data Cloud API Key

Configuration

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

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

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

After saving, the tools will load automatically when the next codex session starts.

Usage Examples

Use Seedream to generate a Chinese-style landscape painting: distant mountains, a stream, and a thatched pavilion

Generate a Chinese trendy-style illustration: a koi leaping out of the water, with auspicious clouds in the background

Edit this photo (link xxx) according to the text instructions

Tools

Tool Description
seedream_generate_image Text-to-image generation (4.0 / 4.5 / 5.0)
seedream_edit_image Image editing (4.0 / 4.5 / 5.0)