Skip to main content
Glama
WAVE MCP Server

WAVE MCP Server

Official
by wave-av

@wave-av/mcp-server

npm version npm downloads license

Servidor MCP (Model Context Protocol) que expone las API de streaming de WAVE como herramientas para asistentes de programación de IA.

Inicio rápido

npx @wave-av/mcp-server

Related MCP server: APIVerve MCP Server

Configuración

1. Obtén una clave API

# Via CLI
wave auth login

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

2. Configura tu herramienta de IA

Añádelo a tu .mcp.json (Claude Code, Cursor, Windsurf, etc.):

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

Herramientas disponibles

Streams (Transmisiones)

Herramienta

Descripción

wave_list_streams

Lista todas las transmisiones con paginación y filtrado de estado

wave_create_stream

Crea una nueva transmisión con opciones de protocolo y privacidad

wave_start_stream

Inicia la transmisión en una transmisión existente

wave_stop_stream

Detiene una transmisión activa

wave_get_stream_health

Obtiene métricas de salud en tiempo real de una transmisión

Studio (Estudio)

Herramienta

Descripción

wave_list_productions

Lista las sesiones de producción de estudio

wave_create_production

Crea una nueva producción multicámara

Analytics (Análisis)

Herramienta

Descripción

wave_get_viewers

Obtiene el recuento actual de espectadores y desglose

wave_get_stream_metrics

Obtiene métricas detalladas de rendimiento de la transmisión

Billing (Facturación)

Herramienta

Descripción

wave_get_subscription

Obtiene el plan de suscripción actual y su estado

wave_get_usage

Obtiene el uso y los límites del periodo actual

Recursos

Accede a las entidades de WAVE directamente mediante el esquema de URI wave://:

  • wave://streams/{id} - Configuración y estado de la transmisión

  • wave://productions/{id} - Detalles de la producción de estudio

Variables de entorno

Variable

Requerido

Predeterminado

Descripción

WAVE_API_KEY

Sí

-

Tu clave API de WAVE

WAVE_BASE_URL

No

https://wave.online

URL base de la API

Configuración para otras herramientas de IA

Cursor

Añádelo a .cursor/mcp.json:

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

Windsurf

Añádelo a la configuración MCP de Windsurf con la misma configuración.

Solución de problemas

El servidor no inicia

Verifica que tu clave API esté configurada:

echo $WAVE_API_KEY

Las herramientas no aparecen

Reinicia tu herramienta de IA después de añadir la configuración MCP. La mayoría de las herramientas requieren un reinicio para detectar nuevos servidores MCP.

Errores de conexión

El servidor MCP utiliza transporte stdio (sin escucha de red). Si ves errores de conexión, verifica que npx pueda ejecutarse correctamente:

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

Probando el servidor

Envía una solicitud de inicialización JSON-RPC para verificar:

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

Paquetes relacionados

Desarrollo

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

Licencia

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