WaveSpeed MCP Server
OfficialWaveSpeed MCP Server
一个用于 WaveSpeed 平台的 MCP 服务器:在实时目录上运行任何模型——图像、视频、音频、3D——从 Claude Code、Claude Desktop、Cursor、Cline 或任何 MCP 客户端。
与开源 @wavespeed/cli 采用相同的设计:
没有硬编码模型。 目录来自实时 API(1 小时缓存);新平台模型在发布当天即可使用。
一个生成动词。
run_model执行任何操作;get_model_schema告诉代理模型实际接受哪些输入,因此它会先读取再写入。输入永远不会被修改。 唯一的显式转换是
@path标记——input中的"@./photo.jpg"值会上传文件并替换为其托管 URL。裸路径会原样传递。诚实的定价。
get_price在您花费之前报价,并指出报价未覆盖的输入(unpriced_inputs),而不是将公式的下限呈现为“最终”价格。
工具
工具 | 作用 |
| 按文本或模态类型搜索实时目录 |
| 模型的真实输入模式(必填项、属性、默认值) |
| 提交并等待; |
| 成本估算,并披露 |
| 账户信用余额 |
| 本地文件 → 托管 URL(24 小时内容哈希去重) |
| 通过 id 恢复任何运行的状态/输出 |
如果 run_model 达到其等待限制,任务会在服务器端继续运行——错误信息会指明预测 id,get_prediction 可以接续获取。
Related MCP server: wavespeed-mcp-worker
设置
身份验证从 WAVESPEED_API_KEY 解析,或从 CLI 存储的登录信息(wavespeed login)解析——一次登录即可覆盖两个工具。密钥:wavespeed.ai/accesskey。
Claude Code
claude mcp add wavespeed -- npx -y @wavespeed/mcpClaude Desktop / 其他客户端(mcpServers 配置):
{
"mcpServers": {
"wavespeed": {
"command": "npx",
"args": ["-y", "@wavespeed/mcp"],
"env": { "WAVESPEED_API_KEY": "wsk_..." }
}
}
}示例提示词
"生成一张 16:9 的赛博朋克天际线黄金时刻主视觉图。"
"使用 ./photo.jpg 并将背景替换为阳光充足的厨房。" (代理传递
"@./photo.jpg")"为 ./hero.png 制作微妙的视差动画——先检查价格。"
开发
npm install
npm run dev # run from source (stdio)
npm run lint # typecheck
npm run build # tsc → dist/许可证
Available Tools
7 toolsget_balanceARead-onlyInspect
Show the WaveSpeed account credit balance.
Inputs: no named parameters.
get_model_schemaARead-onlyInspect
Get a model's real input schema (required fields, properties, defaults). Call this before run_model so inputs match what the model actually accepts.
Inputs: model (required).
get_predictionARead-onlyInspect
Fetch the status and outputs of a past or in-flight prediction by id — use to recover a run that hit the wait limit.
Inputs: id (required).
get_priceAInspect
Estimate the cost of a run before executing it (no charge). Provide the same input you would pass to run_model — pricing often depends on inputs like duration or resolution.
Inputs: model (required), input.
list_modelsARead-onlyInspect
Search the live WaveSpeed model catalog (image, video, audio, 3D). Returns model IDs usable with run_model. Do not invent model IDs — always pick one returned by this tool.
Inputs: type, limit, query, refresh.
run_modelAInspect
Run any WaveSpeed model. input keys come from get_model_schema. Local files: pass "@./path" string values — they are uploaded and replaced with hosted URLs (bare paths are NOT uploaded). Returns output URLs. If the wait limit is hit, the task keeps running; recover it with get_prediction.
Inputs: input (required), model (required), wait_seconds.
upload_fileAIdempotentInspect
Upload a local file to WaveSpeed and get its hosted URL (identical bytes reuse the same upload for 24h). Usually unnecessary — run_model handles "@./path" inputs itself.
Inputs: path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clear purpose: model discovery, schema, execution, pricing, balance, upload, and status. There is slight overlap between run_model and upload_file since run_model can handle uploads, but descriptions clarify when upload_file is needed.
All tool names follow a consistent verb_noun pattern with clear verbs (list, get, run, get, get, upload, get). No mixed conventions or vague naming.
With 7 tools, the server covers the essential workflow for model execution and account management without unnecessary bloat. Each tool serves a distinct need in the lifecycle.
The tool set covers model discovery, schema retrieval, execution, pricing, balance, file upload, and result retrieval. A minor gap is the absence of a cancel/delete prediction tool, but the core workflow is well covered.
Maintenance
Related MCP Connectors
Generate images and videos with Seedance, Veo, Wan, Grok, GPT-Image and Nano Banana via one MCP.
Generate AI images and videos from any compatible MCP client.
Generate and edit images, video, and music with Sogni AI through a hosted MCP connection.
Generate images, video and audio in Claude, Codex and any MCP-ready AI agent.
Related MCP Servers
- FlicenseAqualityNot gradedmaintenanceAn MCP server that provides a standardized interface for accessing WaveSpeed AI's image and video generation capabilities, including text-to-image, image-to-image, inpainting, and dynamic video generation.3-
- AlicenseNot gradedqualityDmaintenanceRemote MCP server that integrates WaveSpeed's image and video generation into Claude, supporting text-to-image, image editing, video generation, and job status polling via custom connector.ISC
- AlicenseAqualityBmaintenanceEnables video and image generation from any MCP client, with support for models like Veo 3.1, Grok Imagine, and Nano Banana, including text-to-video, image-to-video, image generation and editing.461 npmMIT
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to generate images and videos, synthesize speech, clone and design voices, and create related media outputs.431 npmMIT