Skip to main content
Glama
WaveSpeed MCP Server

WaveSpeed MCP Server

Official

WaveSpeed MCP Server

WaveSpeed プラットフォーム用の MCP サーバー: Claude Code、Claude Desktop、Cursor、Cline、または任意の MCP クライアントから、ライブカタログ上のあらゆるモデル(画像、動画、音声、3D)を実行できます。

オープンソースの @wavespeed/cli と同じ設計に基づいています:

  • ハードコードされたモデルはありません。 カタログはライブ API(1時間キャッシュ)から取得されます。新しいプラットフォームモデルはリリース当日にそのまま動作します。

  • 単一の生成動詞。 run_model はあらゆるものを実行します。get_model_schema は、モデルが実際に受け付ける入力をエージェントに伝えるため、書き込む前に読み取ります。

  • 入力は決して変更されません。 唯一の明示的な変換は @path マーカーです。input 内の "@./photo.jpg" という値は、ファイルをアップロードしてホストされた URL に置き換えます。素のパスはそのまま渡されます。

  • 正直な価格表示。 get_price は、費用を消費する前に見積もりを提示し、見積もりが考慮できなかった入力(unpriced_inputs)を明示します。計算式の下限を「その」価格として提示することはありません。

ツール

ツール

機能

list_models

テキストまたはモダリティタイプでライブカタログを検索

get_model_schema

モデルの実際の入力スキーマ(必須、プロパティ、デフォルト)

run_model

送信+待機。@path 入力は自動的にアップロードされ、出力 URL を返します

get_price

unpriced_inputs / at_base_price の開示付きコスト見積もり

get_balance

アカウントのクレジット残高

upload_file

ローカルファイル → ホストされた URL(24時間のコンテンツハッシュ重複排除)

get_prediction

ID による任意の実行のステータス/出力を取得

run_model が待機制限に達した場合、タスクはサーバー側で実行を続けます。エラーには予測 ID が示され、get_prediction がそれを取得します。

Related MCP server: wavespeed-mcp-worker

セットアップ

認証は WAVESPEED_API_KEY から解決されるか、CLI に保存されたログイン(wavespeed login)から解決されます。1つのログインで両方のツールをカバーします。キー: wavespeed.ai/accesskey

Claude Code

claude mcp add wavespeed -- npx -y @wavespeed/mcp

Claude 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/

ライセンス

MIT

Available Tools

7 tools
get_balanceA
Read-only
Inspect

Show the WaveSpeed account credit balance.

Inputs: no named parameters.

get_model_schemaA
Read-only
Inspect

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_predictionA
Read-only
Inspect

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_modelsA
Read-only
Inspect

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_fileA
Idempotent
Inspect

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

    A4.4/5.0

    Scored across 7 tools

    Disambiguation4/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness4/5

    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

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers