Borrowing it
Nothing to install: this file belongs to syh52/seedream-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/syh52/seedream-mcp-server/main/CLAUDE.mdgit clone --depth 1 https://github.com/syh52/seedream-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/syh52/seedream-mcp-server/claude-md)<a href="https://agentmods.dev/instructions/syh52/seedream-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/syh52/seedream-mcp-server/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/syh52/seedream-mcp-server/claude-md"><img src="https://agentmods.dev/badge/instructions/syh52/seedream-mcp-server/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01273 | $0.01273 |
| Opus 5.5 | $0.00509 | $0.00509 |
| Sonnet 5.5 | $0.00255 | $0.00255 |
| Haiku 4.5 | $0.00127 | $0.00127 |
Grade A, and why
seedream-mcp-server CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
SeeDream MCP Server - 让 Claude 直接生成图片的 MCP 服务器,基于 BytePlus SeeDream 4.5 模型。
部署地址: https://seedream-mcp-server-production.up.railway.app
可用工具 (6 个):
| 工具 | 用途 | Claude Code | Claude.ai |
|---|---|---|---|
seedream_generate |
文本生成图片 | ✅ | ❌ 超时 |
seedream_edit |
编辑现有图片 | ✅ | ❌ 超时 |
seedream_blend |
多图融合 (2-14 张) | ✅ | ❌ 超时 |
seedream_variations |
批量变体 (2-15 张) | ✅ | ❌ 超时 |
seedream_submit |
提交任务,Web App 查看 | ✅ | ✅ |
seedream_status |
服务状态检查 | ✅ | ✅ |
Commands
npm run dev # 开发模式(tsx watch)
npm run build # TypeScript 编译到 dist/
npm start # 运行编译后的服务器
# 环境变量(必需)
ARK_API_KEY="your-key" # SeeDream API 密钥
# 环境变量(传输模式)
TRANSPORT="stdio" # stdio(默认)或 http
PORT=3000 # HTTP 模式端口
# 环境变量(Firebase 同步)
FIREBASE_SERVICE_ACCOUNT='{"type":"service_account",...}'
FIREBASE_USER_ID="your-uid"
FIREBASE_USER_NAME="Your Name"
Architecture
src/
├── index.ts # 入口点(stdio + http 双模式)
├── services/
│ ├── seedream.ts # SeeDream API 客户端(流式响应、并行下载)
│ └── firebase.ts # Firebase Admin SDK(Storage + Firestore)
├── schemas/
│ └── index.ts # Zod 验证 schema(输入 + 输出)
└── tools/
├── generate.ts # 文本生成图片(Claude Code 专用)
├── edit.ts # 图片编辑
├── blend.ts # 多图融合
├── variations.ts # 批量变体
├── submit.ts # 异步提交(Claude.ai 专用)
└── status.ts # 健康检查
两种使用模式
Claude Code (本地):
seedream_generate → 同步返回图片 URL → 自动同步到 Firebase
Claude.ai / MCP Submit:
seedream_submit → 创建任务到 Firestore (status='pending')
↓
Cloud Function (processGenerationTask) 处理
↓
生成图片 → 上传 Storage → 更新任务状态
↓
前端通过 Firestore 实时订阅获取更新
↓
https://seedream-gallery.firebaseapp.com
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 147 lines · 1,273 tokens per session scan A c9f1085e9bd0
seedream-mcp-server CLAUDE.md is an instructions file published in the GitHub repository syh52/seedream-mcp-server (0 stars, last pushed 8mo ago), licensed MIT. It adds 1,273 tokens to every session, about $0.0051 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
seedream-mcp-server CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| seedream-mcp-server CLAUDE.mdsyh52/seedream-mcp-server | Instructions file | 0 | 8mo ago | MIT | A | 1,273 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 8,130 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | today | MIT | A | 4,680 | Codex, OpenCode |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 283k | today | MIT | A | 4,342 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,153 | GitHub Copilot |