Seedream / Seedance MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Seedream / Seedance MCP Server generate an image of a futuristic city skyline at sunset"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
火山方舟 Seedream / Seedance MCP 服务
本仓库为 nsmao-com/seedream-mcp 的修改版,改动:
启动日志改走 stderr、dotenv 静默,避免污染 stdio 协议(原版 Claude Code 等客户端解析会出错)
默认模型可用环境变量
SEEDREAM_MODEL覆盖;模型白名单加入doubao-seedream-5-0-flash-260915、5-5-261028、5-0-pro-260628、4-0-202604155.0-flash 不支持
sequential_image_generation,带参考图时自动不传新增
run-server.sh:从ARK_API_KEY或ARK_KEY_FILE读 key,默认模型 5.0-flashnpm 安装即用(无需克隆):
claude mcp add -s user seedream -e ARK_API_KEY=你的key -- npx -y @bachstudio/seedream-mcp或 MCP 客户端 JSON:
{"command":"npx","args":["-y","@bachstudio/seedream-mcp"],"env":{"ARK_API_KEY":"你的key","SEEDREAM_MODEL":"doubao-seedream-5-0-flash-260915"}}源码方式:
npm ci && npm run build,再claude mcp add -s user seedream /path/to/seedream-mcp/run-server.sh
一个基于火山方舟(Ark)API 的 MCP 服务,提供:
Seedream 图片生成/编辑
Seedance 视频生成(异步任务)
本地
stdio与远程http两种接入模式
功能概览
能力 | 状态 | 说明 |
图片生成/编辑 | 可用 | 基于 |
视频生成 | 可用 | 基于 |
本地接入 | 可用 |
|
远程接入 | 可用 |
|
Related MCP server: Z-Image Studio MCP Server
快速开始
环境要求
Node.js 18+
pnpm
安装依赖
pnpm install构建
pnpm build环境变量
变量名 | 必填 | 默认值 | 说明 |
| 是 | - | 火山方舟 API Key |
| 否 |
| 传输模式: |
| 否 |
|
|
| 否 |
|
|
| 否 |
|
|
可在项目根目录创建 .env:
ARK_API_KEY=your_ark_api_key
MCP_TRANSPORT=stdio启动方式
1. 本地模式(默认,stdio)
pnpm build
node build/index.js2. 远程模式(http)
PowerShell 示例:
$env:ARK_API_KEY="your_ark_api_key"
$env:MCP_TRANSPORT="http"
$env:MCP_HTTP_HOST="0.0.0.0"
$env:MCP_HTTP_PORT="3000"
$env:MCP_HTTP_PATH="/mcp"
node build/index.js服务启动后地址示例:
http://127.0.0.1:3000/mcpMCP 客户端接入
本地命令方式(stdio)
{
"mcpServers": {
"jimenggen": {
"command": "node",
"args": [
"/path/to/jimenggen-mcp/build/index.js"
],
"env": {
"ARK_API_KEY": "your_ark_api_key",
"MCP_TRANSPORT": "stdio"
}
}
}
}远程地址方式(http)
不同客户端配置字段可能不同,核心是把 MCP 服务地址指向:
http://your-host:3000/mcp工具列表
可用工具
工具名 | 用途 |
| 文生图 |
| 图生图 |
| 通用图片生成/编辑(支持 URL 与上传文件) |
| 直接调用 Seedream API 生成图片 |
| 视频生成(异步任务,内置轮询) |
停用工具
generate-digital-humanaction-imitationimage-dressing
模型清单
Seedream(图片)
doubao-seedream-5-0-flash-260915(默认,可用SEEDREAM_MODEL覆盖)doubao-seedream-5-0-lite-260128doubao-seedream-5-0-260128doubao-seedream-4-5-251128doubao-seedream-4-0-250828
Seedance(视频)
doubao-seedance-1-5-pro-251215(默认)doubao-seedance-1-0-pro-250528doubao-seedance-1-0-pro-fast-251015doubao-seedance-1-0-lite-t2v-250428doubao-seedance-1-0-lite-i2v-250428
视频生成(generate-video)
generate-video 使用异步任务流程:
创建任务:
POST /contents/generations/tasks查询任务:
GET /contents/generations/tasks/{id}成功后读取:
content.video_url
任务状态:
queuedrunningsucceededfailedexpired
主要参数:
参数 | 类型 | 说明 |
| string | 必填,视频提示词 |
| string | 可选,默认 |
|
| 可选,默认 |
| enum | 可选: |
| string | 可选,首帧图 URL(图生视频) |
| boolean | 可选,默认 |
| boolean | 可选,默认 |
| string | 可选,任务状态回调地址 |
| number | 可选,默认 |
| number | 可选,默认 |
兼容参数映射:
frames=121映射为duration=5frames=241映射为duration=10aspect_ratio在值合法时映射到ratio
说明:根据官方文档,Seedance 2.0 当前仅支持控制台体验,暂不支持 API 调用。
常见问题
1. 报错:未设置 ARK_API_KEY
请确认环境变量已设置,并且启动进程能读取该变量。
2. http 模式返回 404
请检查客户端访问路径是否与 MCP_HTTP_PATH 一致,默认是 /mcp。
3. 视频任务超时
可适当调大 max_poll_attempts,或增大 poll_interval_ms 后重试。
参考文档
Available Tools
8 toolsaction-imitationD
Ark-only 模式下不支持该工具
Inputs: style (required), referenceAction (required), targetCharacter (required).
generate-digital-humanD
Ark-only 模式下不支持该工具
Inputs: action (required), prompt (required), emotion (required), avatarStyle (required).
generate-imageC
使用火山方舟 Seedream 模型生成/编辑图片(Ark-only)
Inputs: ratio (required), prompt (required), model, scale, +3 more.
generate-img-seedream4C
直接调用火山方舟 Seedream API 生成图片(Ark-only)
Inputs: prompt (required), size, model, imgUrls.
generate-videoC
使用火山方舟 Seedance 模型生成视频(异步任务)
Inputs: prompt (required), model, ratio, frames, +8 more.
image-dressingD
Ark-only 模式下不支持该工具
Inputs: modelImageUrl, garmentImageUrl.
image-to-imageC
使用火山方舟 Seedream 模型进行图生图(Ark-only)
Inputs: ratio (required), prompt (required), model, imageUrl, +1 more.
text-to-imageC
使用火山方舟 Seedream 模型生成图片(Ark-only)
Inputs: ratio (required), prompt (required), model, style, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Four tools (text-to-image, image-to-image, generate-image, generate-img-seedream4) all wrap the same Seedream image generation/editing capability with no clear boundary describing when to use one over another. An agent cannot reliably choose between generate-image (which already claims generate/edit) and both text-to-image and image-to-image, which look like subsets of it.
All names are kebab-case, but the patterns are mixed: noun-style descriptors (text-to-image, image-dressing, action-imitation) sit alongside verb-first commands (generate-image, generate-video, generate-digital-human) and an oddly versioned form (generate-img-seedream4). No predictable verb_noun convention to generalize from.
Eight tools is a reasonable raw count, but three of them (image-dressing, generate-digital-human, action-imitation) are explicitly documented as unsupported in Ark-only mode, so the effective surface is only five. The remaining tools still overlap heavily, meaning the count overstates real capability.
generate-video is asynchronous yet there is no task status, result polling, or cancel tool, forcing agents into a dead end after submission. There is also no model/capability listing and a third of the surface is non-functional stubs, leaving obvious lifecycle gaps.
Related MCP Connectors
Generate images, videos and music with model discovery, cost estimates and asynchronous results.
LLM chat, text tools, image generation, editing, batch image jobs, and asynchronous video generation
Create AI images and videos, manage projects and credits, and use workspace campaign context.
Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to generate images, list available models, and view generation history over stdio, SSE, and Streamable HTTP transports.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to generate images from text prompts, list available models, and view generation history through stdio, SSE, or Streamable HTTP transports.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to generate images, list available models, and view generation history over the Model Context Protocol via stdio, SSE, or Streamable HTTP transports.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to generate images, list available models, and browse generation history over Model Context Protocol transports including stdio, SSE, and Streamable HTTP.-