Skip to main content
Glama
WAVE MCP Server

WAVE MCP Server

Official
by wave-av

@wave-av/mcp-server

npm version npm downloads license

Сервер MCP (Model Context Protocol), который предоставляет API потоковой передачи WAVE в качестве инструментов для ИИ-ассистентов по программированию.

Быстрый старт

npx @wave-av/mcp-server

Related MCP server: APIVerve MCP Server

Настройка

1. Получите API-ключ

# Via CLI
wave auth login

# Or create at https://wave.online/settings/api-keys

2. Настройте ваш ИИ-инструмент

Добавьте в ваш .mcp.json (Claude Code, Cursor, Windsurf и т. д.):

{
  "mcpServers": {
    "wave": {
      "command": "npx",
      "args": ["-y", "@wave-av/mcp-server"],
      "env": {
        "WAVE_API_KEY": "wave_live_..."
      }
    }
  }
}

Доступные инструменты

Потоки (Streams)

Инструмент

Описание

wave_list_streams

Список всех потоков с пагинацией и фильтрацией статуса

wave_create_stream

Создание нового потока с параметрами протокола и приватности

wave_start_stream

Запуск существующего потока

wave_stop_stream

Остановка активного потока

wave_get_stream_health

Получение показателей работоспособности потока в реальном времени

Студия (Studio)

Инструмент

Описание

wave_list_productions

Список сессий студийного производства

wave_create_production

Создание нового многокамерного производства

Аналитика (Analytics)

Инструмент

Описание

wave_get_viewers

Получение текущего количества зрителей и их распределения

wave_get_stream_metrics

Получение подробных метрик производительности потока

Биллинг (Billing)

Инструмент

Описание

wave_get_subscription

Получение текущего тарифного плана и статуса

wave_get_usage

Получение данных об использовании и лимитах за текущий период

Ресурсы

Доступ к сущностям WAVE напрямую через схему URI wave://:

  • wave://streams/{id} — Конфигурация и статус потока

  • wave://productions/{id} — Детали студийного производства

Переменные окружения

Переменная

Обязательно

По умолчанию

Описание

WAVE_API_KEY

Да

-

Ваш API-ключ WAVE

WAVE_BASE_URL

Нет

https://wave.online

Базовый URL API

Настройка для других ИИ-инструментов

Cursor

Добавьте в .cursor/mcp.json:

{
  "mcpServers": {
    "wave": {
      "command": "npx",
      "args": ["-y", "@wave-av/mcp-server"],
      "env": { "WAVE_API_KEY": "wave_live_..." }
    }
  }
}

Windsurf

Добавьте в настройки MCP Windsurf с той же конфигурацией.

Устранение неполадок

Сервер не запускается

Убедитесь, что ваш API-ключ установлен:

echo $WAVE_API_KEY

Инструменты не отображаются

Перезапустите ваш ИИ-инструмент после добавления конфигурации MCP. Большинству инструментов требуется перезапуск для обнаружения новых серверов MCP.

Ошибки подключения

Сервер MCP использует транспорт stdio (без сетевого прослушивателя). Если вы видите ошибки подключения, проверьте, успешно ли выполняется npx:

npx @wave-av/mcp-server --version

Тестирование сервера

Отправьте запрос JSON-RPC initialize для проверки:

echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0.0"}}}' | npx @wave-av/mcp-server

Связанные пакеты

Разработка

cd packages/mcp-server
pnpm install
pnpm run build
pnpm run dev       # Watch mode
pnpm run type-check

Лицензия

MIT

Available Tools

24 tools
wave.askA

Propose a WAVE flow (product + MCP tool + price shape) for a media-processing goal stated in plain language (captions/clips/dub/realtime/identity/x402/...). Reads only: checks a bundled, measured snapshot of the product/skill/tool manifests (knowledge/*.json) — never the live network. Never executes: calls no other tool, signs no payment, and makes no side-effecting or network request. Returns a proposal object for you to call yourself; always carries the literal executes: false and never a model field (no sourced Dispatch model catalog exists). See skills/wave-ask/SKILL.md for the full contract.

Inputs: question (required), budgetUsd.

wave_control_cameraA

Send a control command to a managed camera (POST /v1/cameras/{id}/control). command selects the variant; supply only the fields that variant needs: set_iris/set_focus/set_zoom/set_gain use value; set_white_balance uses temperature+tint; set_shutter uses angle; set_audio_level uses channel+level; recall_preset uses preset_id; save_preset uses name+slot; start_recording/stop_recording/start_prerecord/autofocus_trigger take no extra fields

Inputs: command (required), camera_id (required), name, slot, +7 more.

wave_create_clipA

Create a clip from a recording (POST /v1/clips). source is a recording ID; in and, optionally, out/duration are time strings like "5s" or "2m"

Inputs: in (required), source (required), fit, out, +7 more.

wave_create_productionB

Create a new multi-camera production (POST /v1/productions)

Inputs: title (required), layout, record, stream_ids, +1 more.

wave_create_streamC

Create a new stream (POST /v1/streams) with a Cloudflare Stream live input

Inputs: title (required), privacy, metadata, protocol, +2 more.

wave_design_contractA

Compose a design-contract.json from an already-extracted pen-extract dir, then validate it against the schema + acceptance-tests catalogue. Returns the validator line, key counts, and the written path.

Inputs: extract (required), out.

wave_design_contract_checkA

Validate an existing design-contract.json against the schema + acceptance-tests catalogue, no compose.

Inputs: contract (required).

wave_design_extractB

Run @wave-av/pen-extract's all extraction pipeline on a .pen board (plates/tokens/geometry/copy/components/receipts/frames/manifest). Returns the manifest.json (files, sha256s, owed).

Inputs: pen (required), out, delta.

wave_design_measureA

Run @wave-av/loc-study's measure on an image (masked by geometry.json when given) or a rasterized plate SVG, optionally cropped to a region. Returns the measurement JSON (bokashi/keyblock/palette/composition).

Inputs: image, plate, region, geometry.

wave_get_stream_healthA

Get the current status document for a stream (GET /v1/streams/{id}/status): connection state, viewer count, and quality indicators

Inputs: stream_id (required).

wave_get_stream_metricsA

Get analytics for a single stream (GET /v1/streams/{id}/analytics): views, watch time, and geographic/device breakdown over an optional date range

Inputs: stream_id (required), to, from.

wave_get_subscriptionA

Get the current billing account (GET /v1/billing): plan, Stripe customer status, and subscription state

Inputs: no named parameters.

wave_get_usageA

Get billed usage for a date range (GET /v1/billing/usage), defaulting to the current month

Inputs: to, from.

wave_get_viewersA

Get account-wide viewer engagement analytics (GET /v1/analytics/engagement) over an optional date range

Inputs: to, from.

wave_list_productionsB

List multi-camera productions in your WAVE account (GET /v1/productions)

Inputs: limit, offset, status.

wave_list_streamsA

List streams in your WAVE account (GET /v1/streams), with pagination and status filtering

Inputs: limit, offset, status.

wave_mark_highlightA

Mark a moment in a stream as a highlight for later clipping (POST /v1/streams/{id}/highlights)

Inputs: stream_id (required), label, timestamp, confidence, +1 more.

wave_moderate_chatA

Moderate a chat message in a live stream (POST /v1/moderate): block, flag, or allow it

Inputs: action (required), stream_id (required), message_id (required), reason.

wave_show_graphicA

Show or hide a graphics overlay in a production (POST /v1/productions/{id}/overlay)

Inputs: visible (required), overlay_id (required), production_id (required).

wave_start_captionsA

Transcribe an audio clip and optionally run a fast-LLM step over the transcript (POST /v1/live/pipeline, multipart). This processes ONE provided audio chunk through WAVE's live pipeline — it does not attach a persistent caption feed to a live stream. Requires the account's live pipeline feature to be enabled; a 404 means it is not armed for this account

Inputs: llm_model (required), audio_base64 (required), mode, task, +6 more.

wave_start_streamA

Start a stream by its ID (POST /v1/streams/{id}/start)

Inputs: stream_id (required).

wave_stop_streamB

Stop an active stream by its ID (POST /v1/streams/{id}/stop)

Inputs: stream_id (required).

wave_switch_cameraC

Switch the program or preview bus to a different camera index in a multi-camera production (POST /v1/productions/{id}/camera)

Inputs: bus (required), camera_index (required), production_id (required), transition.

wave_voice_converseA

Drive a full headless conversation with the WAVE voice agent: bind the agent to a room, send a WAV of the caller's speech (16-bit LE 48 kHz PCM, mono or stereo), and receive the agent's spoken reply as raw 16-bit LE 48 kHz stereo PCM written to outPath. No browser, no WebRTC.

Inputs: room (required), outPath (required), audioPath (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 24 tools

    Disambiguation5/5

    Each tool maps to a distinct resource/action pair: design extraction, contract validation, stream lifecycle, camera control, billing reads, and analytics. Even similar-sounding tools like wave_design_contract vs wave_design_contract_check are clearly separated by compose-vs-validate semantics, and wave_get_viewers vs wave_get_stream_metrics are distinguished by account-wide vs single-stream scope.

    Naming Consistency4/5

    Most tools follow a consistent wave_<verb>_<noun> pattern across streams, productions, billing, and camera actions. Minor deviations like wave_design_contract (noun as operation), wave_voice_converse (noun-verb order), and wave.ask (dot separator instead of underscore) keep it from a 5.

    Tool Count3/5

    With 24 tools spanning design, productions, streams, billing, camera control, captions, voice, and a meta-planning tool, the server feels like an API grab-bag rather than a tightly scoped set. Most tools have a concrete purpose, but the count is on the heavy side for an MCP server.

    Completeness3/5

    Core workflows are present for stream lifecycle, production switching, design extraction/validation, analytics, and camera commands. However, there are notable gaps: wave_create_clip and wave_control_camera depend on recording/camera IDs with no discovery tool, and most resources lack update/delete operations.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers