Claude Code Integration with Seedream MCP

📘 OverviewClaude Code MCP Overview →

Generating images with Chinese text using English models often results in garbled characters—words like "新年快乐" produced by Midjourney are completely unrecognizable. Seedream, developed by ByteDance, specifically addresses this issue and is currently the most accurate AI drawing model for rendering Chinese text. After receiving Claude Code, you can generate images with Chinese characters using a single command in the terminal.

Obtain API Token

Before using the Seedream MCP Server, you need to prepare an Ace Data Cloud API Token. The method for obtaining it is consistent with the Claude Code VS Code configuration tutorial:

  1. Open the Ace Data Cloud Console - Application List to get your API Token for backup.
  2. If you are not logged in or registered, you will be automatically redirected to the login page; after logging in or registering, you will be returned to the current page.
  3. The first application will come with a free quota, allowing you to experience the Claude Code MCP service for free.

Get Ace Data Cloud API Key

One Token can be used for all MCP Servers provided by Ace Data Cloud, and there is no need to apply separately for Seedream. The documentation and screenshots suggest displaying only a masked format, such as YOUR_ACEDATACLOUD_API_KEY, and not posting the complete Token in public repositories, Issues, screenshots, or chat records.

Using the claude.ai web version or Claude Desktop? They support OAuth one-click authorization, eliminating the need to manually enter the Token. For details, see the Claude.ai / Desktop tutorial for Seedream MCP.

Configure Claude Code

You can choose one from the following three options. -H must be uppercase; the lowercase -h is --help; please replace the Token after Authorization with the actual value you copied from the console.

For Current Project Only: local

Suitable for trial use, the configuration is bound only to the project directory where you run the command. Claude Code will write the record into the local ~/.claude.json, including the current project path.

claude mcp add seedream --transport http https://seedream.mcp.acedata.cloud/mcp \
  -H "Authorization: Bearer YOUR_ACEDATACLOUD_API_KEY" \
  -s local

Usable for All Projects: user

Suitable for frequent use of Seedream MCP across multiple projects. The configuration is written into the local ~/.claude.json user-level configuration, allowing Claude Code to be accessed from any project thereafter.

claude mcp add seedream --transport http https://seedream.mcp.acedata.cloud/mcp \
  -H "Authorization: Bearer YOUR_ACEDATACLOUD_API_KEY" \
  -s user

Shared with Project: project

Suitable for team projects. The configuration is written into the .mcp.json in the current project root directory, which can be submitted to a private repository for teammates to reuse; do not submit the real Token to public repositories, and it is recommended to change it to an environment variable placeholder or have each person add it locally.

claude mcp add seedream --transport http https://seedream.mcp.acedata.cloud/mcp \
  -H "Authorization: Bearer YOUR_ACEDATACLOUD_API_KEY" \
  -s project

When the project-level configuration is first read by Claude Code, it may display Pending approval, requiring confirmation of trust in this project configuration within the Claude Code session; this is a normal security prompt.

Verify Connection

After configuration, run:

claude mcp list

Seeing seedream display ✓ Connected indicates a successful handshake. If it fails, check the Token, service URL, and configuration scope; do not judge the current status based on historical client versions or fixed tool counts.

Particularly Reliable for Chinese Scenarios

After configuration, return to the Claude Code session and directly use natural language to call Seedream:

Images with Chinese Text

The text is clear, correct, and aesthetically pleasing:

Generate a promotional poster with the title "Developer Conference 2025" and the subtitle "AI Drives the Future," in a blue tech style.

Chinese Aesthetic

For an app targeting the domestic market, wanting a Chinese-style landing page:

Generate a new Chinese-style illustration with distant green mountains and clear waters, and close-up glowing digital particles flowing, blending technology and tradition.

Edit Text in Existing Images

Change "v1.0" on this poster to "v2.0," keeping everything else the same.

Tool List

Tool Description
seedream_generate_image Generate images from text
seedream_edit_image Edit existing images (change text, change elements)