Skip to main content
Glama
WaveSpeed MCP Server

WaveSpeed MCP Server

Official

WaveSpeed MCP Server

Ein MCP-Server für die WaveSpeed-Plattform: Führe jedes Modell aus dem Live-Katalog aus — Bild, Video, Audio, 3D — von Claude Code, Claude Desktop, Cursor, Cline oder jedem MCP-Client.

Basierend auf demselben Design wie das Open-Source-@wavespeed/cli:

  • Keine fest codierten Modelle. Der Katalog stammt aus der Live-API (1h-Cache); neue Plattformmodelle funktionieren am Tag ihrer Veröffentlichung.

  • Ein Generierungsverb. run_model führt alles aus; get_model_schema sagt dem Agenten, welche Eingaben ein Modell tatsächlich akzeptiert, sodass es liest, bevor es schreibt.

  • Eingaben werden nie verändert. Die einzige explizite Transformation ist die @path-Markierung — ein "@./photo.jpg"-Wert innerhalb von input lädt die Datei hoch und ersetzt sie durch ihre gehostete URL. Bloße Pfade werden unverändert durchgereicht.

  • Ehrliche Preisgestaltung. get_price bietet einen Preis, bevor du ausgibst, und nennt die Eingaben, die das Angebot nicht berücksichtigt hat (unpriced_inputs), statt den Mindestwert einer Formel als „den“ Preis darzustellen.

Tools

Tool

Was es tut

list_models

Durchsuche den Live-Katalog nach Text oder Modalitätstyp

get_model_schema

Das tatsächliche Eingabeschema eines Modells (erforderlich, Eigenschaften, Standardwerte)

run_model

Senden + warten; @path-Eingaben werden automatisch hochgeladen; gibt Ausgabe-URLs zurück

get_price

Kostenschätzung mit unpriced_inputs / at_base_price-Offenlegung

get_balance

Kontoguthaben

upload_file

Lokale Datei → gehostete URL (24h-Inhaltshash-Deduplizierung)

get_prediction

Status/Ausgaben eines beliebigen Laufs per ID abrufen

Wenn run_model sein Wartelimit erreicht, läuft die Aufgabe serverseitig weiter — der Fehler nennt die Prediction-ID, und get_prediction holt sie ab.

Related MCP server: wavespeed-mcp-worker

Einrichtung

Die Authentifizierung erfolgt über WAVESPEED_API_KEY oder den gespeicherten Login der CLI (wavespeed login) — ein Login deckt beide Tools ab. Schlüssel: wavespeed.ai/accesskey.

Claude Code

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

Claude Desktop / andere Clients (mcpServers-Konfiguration):

{
  "mcpServers": {
    "wavespeed": {
      "command": "npx",
      "args": ["-y", "@wavespeed/mcp"],
      "env": { "WAVESPEED_API_KEY": "wsk_..." }
    }
  }
}

Beispiel-Prompts

  • „Erzeuge ein 16:9-Hero-Bild einer Cyberpunk-Skyline zur goldenen Stunde.“

  • „Nimm ./photo.jpg und ersetze den Hintergrund durch eine sonnendurchflutete Küche.“ (der Agent übergibt "@./photo.jpg")

  • „Animiere ./hero.png mit subtiler Parallaxe — prüfe zuerst den Preis.“

Entwicklung

npm install
npm run dev        # run from source (stdio)
npm run lint       # typecheck
npm run build      # tsc → dist/

Lizenz

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