Skip to main content
Glama
WaveSpeed MCP Server

WaveSpeed MCP Server

Official

WaveSpeed MCP Server

MCP-сервер для платформы WaveSpeed: запускайте любые модели из живого каталога — изображения, видео, аудио, 3D — из Claude Code, Claude Desktop, Cursor, Cline или любого MCP-клиента.

Построен по той же схеме, что и open-source @wavespeed/cli:

  • Никаких захардкоженных моделей. Каталог берётся из живого API (кэш 1 час); новые модели платформы работают в день их выхода.

  • Один глагол генерации. run_model выполняет что угодно; get_model_schema сообщает агенту, какие входные данные модель реально принимает, чтобы он сначала читал, а потом писал.

  • Входные данные никогда не изменяются. Единственное явное преобразование — маркер @path: значение "@./photo.jpg" внутри input загружает файл и подставляет его размещённый URL. Голые пути передаются без изменений.

  • Честные цены. get_price называет цену до того, как вы потратите средства, и указывает входные данные, которые оценка не учла (unpriced_inputs), вместо того чтобы выдавать нижнюю границу формулы за «настоящую» цену.

Инструменты

Tool

Что делает

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) — одного входа достаточно для обоих инструментов. Ключи: 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_..." }
    }
  }
}

Примеры запросов

  • «Сгенерируй hero-изображение 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