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 | $0.00636 | $0.00636 |
| Sonnet 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 8d 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.
- 8d 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 6mo ago), licensed MIT. It adds 1,273 tokens to every session, about $0.0064 per session on Opus 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.
Other instructions, from other repositories
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.