Seedream Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Seedream Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
让 Claude Code 直接生成图片的 MCP 服务器,基于 BytePlus SeeDream 4.5 模型。
| 工具 | 说明 | 示例 |
|---|---|---|
seedream_generate | 文本生成图片 | "生成一张赛博朋克城市夜景" |
seedream_edit | 编辑现有图片 | "给人物加上墨镜" |
seedream_blend | 多图融合 | "把图1人物穿上图2衣服" |
seedream_variations | 批量生成变体 | "生成4个不同配色方案" |
seedream_status | 检查服务状态 | 验证 API Key 和服务健康状态 |
outputSchema,便于程序化处理TRANSPORT=http)#### 1. 获取 API Key
访问 BytePlus ModelArk Console 获取 API Key。
#### 2. 设置环境变量
# macOS/Linux
echo 'export ARK_API_KEY="your-api-key"' >> ~/.zshrc
source ~/.zshrc
# Windows (PowerShell)
[Environment]::SetEnvironmentVariable("ARK_API_KEY", "your-api-key", "User")#### 3. 配置 Claude Code
在你的项目根目录创建 .mcp.json:
{
"mcpServers": {
"seedream": {
"type": "stdio",
"command": "npx",
"args": ["-y", "seedream-mcp-server"],
"env": {
"ARK_API_KEY": "${ARK_API_KEY}"
}
}
}
}或者添加到全局配置 ~/.claude.json:
{
"mcpServers": {
"seedream": {
"type": "stdio",
"command": "npx",
"args": ["-y", "seedream-mcp-server"],
"env": {
"ARK_API_KEY": "${ARK_API_KEY}"
}
}
}
}#### 4. 重启 Claude Code
重启后即可使用!
在 Claude Code 中直接说:
生成一张日本樱花树下的咖啡店,温暖的下午阳光,插画风格把这张图片 ./photo.jpg 的背景换成星空把 person.jpg 的人物穿上 dress.jpg 的裙子基于这个 logo 生成6个不同配色方案生成的图片会自动保存到 ./generated_images/ 目录。
输出示例(带性能指标):
# Image Generated Successfully
**Prompt:** 一只橘猫在阳光下打盹
**Size:** 2K
## Generated Images
### Image 1
- **URL:** https://...
- **Local:** `./generated_images/seedream_2024-01-27_12-30-45_1.jpg`
- **Size:** 2K
## Performance
- Generation: 15.2s
- Download: 1.8s
- **Total: 17.0s**| Tool | Description | Example |
|---|---|---|
seedream_generate | Text-to-image | "Generate a cyberpunk city at night" |
seedream_edit | Edit existing image | "Add sunglasses to the person" |
seedream_blend | Blend multiple images | "Dress person in image 1 with outfit from image 2" |
seedream_variations | Batch variations | "Generate 4 color variations" |
seedream_status | Check server status | Verify API key and server health |
outputSchema for programmatic processingTRANSPORT=http)#### 1. Get API Key
Visit BytePlus ModelArk Console to get your API key.
#### 2. Set Environment Variable
# macOS/Linux
echo 'export ARK_API_KEY="your-api-key"' >> ~/.zshrc
source ~/.zshrc
# Windows (PowerShell)
[Environment]::SetEnvironmentVariable("ARK_API_KEY", "your-api-key", "User")#### 3. Configure Claude Code
Create .mcp.json in your project root:
{
"mcpServers": {
"seedream": {
"type": "stdio",
"command": "npx",
"args": ["-y", "seedream-mcp-server"],
"env": {
"ARK_API_KEY": "${ARK_API_KEY}"
}
}
}
}Or add to global config ~/.claude.json:
{
"mcpServers": {
"seedream": {
"type": "stdio",
"command": "npx",
"args": ["-y", "seedream-mcp-server"],
"env": {
"ARK_API_KEY": "${ARK_API_KEY}"
}
}
}
}#### 4. Restart Claude Code
Restart and you're ready to go!
Just talk to Claude Code:
Generate a serene Japanese garden with cherry blossoms, morning mist, photorealisticChange the background of ./photo.jpg to a beach sunsetDress the person in person.jpg with the outfit from dress.jpgGenerate 4 seasonal variations of this coffee shop interiorGenerated images are automatically saved to ./generated_images/.
要让 MCP 生成的图片自动同步到 Web App,需要配置 Firebase Service Account:
To sync MCP-generated images to the Web App, configure Firebase Service Account:
# 方法一:指定文件路径 / Method 1: File path
export FIREBASE_SERVICE_ACCOUNT_PATH="/path/to/service-account.json"
# 方法二:JSON 字符串(适合 CI/CD)/ Method 2: JSON string (for CI/CD)
export FIREBASE_SERVICE_ACCOUNT='{"type":"service_account",...}'
# 方法三:标准 GCP 方式 / Method 3: Standard GCP approach
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"{
"mcpServers": {
"seedream": {
"type": "stdio",
"command": "npx",
"args": ["-y", "seedream-mcp-server"],
"env": {
"ARK_API_KEY": "${ARK_API_KEY}",
"FIREBASE_SERVICE_ACCOUNT_PATH": "${FIREBASE_SERVICE_ACCOUNT_PATH}"
}
}
}
}配置完成后,MCP 生成的图片会自动出现在 SeeDream Gallery 中!
Once configured, MCP-generated images will automatically appear in SeeDream Gallery!
除了默认的 stdio 模式,还可以作为 HTTP 服务器运行:
In addition to the default stdio mode, you can run as an HTTP server:
# 启动 HTTP 服务器 / Start HTTP server
TRANSPORT=http PORT=3000 ARK_API_KEY=your-key node dist/index.js
# 或使用 npx / Or using npx
TRANSPORT=http PORT=3000 ARK_API_KEY=your-key npx seedream-mcp-server端点 / Endpoints:
POST /mcp - MCP 协议端点GET /health - 健康检查GET / - 服务器信息MIT
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.