mcp-server

v0.3.0
@wave-av/mcp-server Checked 2 days ago Published 2 months ago

WAVE MCP Server - Exposes WAVE streaming APIs as tools for AI agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

wave_list_streams

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

ParameterTypeDescription
limitintegerMaximum number of streams to return (1-100, default 50)
offsetintegerNumber of streams to skip for pagination (default 0)
statusstringFilter by stream status

wave_create_stream

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

ParameterTypeDescription
title *stringStream title
descriptionstringStream description
metadataobjectArbitrary metadata to attach
privacystringStream visibility (default: public)
protocolstringIngest protocol (default: auto)
recordingobjectRecording configuration for this stream

wave_start_stream

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

ParameterTypeDescription
stream_id *stringThe UUID of the stream to start

wave_stop_stream

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

ParameterTypeDescription
stream_id *stringThe UUID of the stream to stop

wave_get_stream_health

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

ParameterTypeDescription
stream_id *stringThe UUID of the stream to check

wave_get_stream_metrics

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

ParameterTypeDescription
stream_id *stringThe UUID of the stream
fromstringRange start (ISO 8601 timestamp), optional
tostringRange end (ISO 8601 timestamp), optional

wave_mark_highlight

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

ParameterTypeDescription
stream_id *stringThe stream ID
confidencenumberConfidence score (0-1, for AI-detected highlights)
duration_secondsnumberDuration of the highlighted moment, in seconds
labelstringLabel for the highlight
timestampstringISO 8601 timestamp of the highlight moment (default: now)

wave_list_productions

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

ParameterTypeDescription
limitintegerMaximum number of productions to return (default 25)
offsetintegerNumber of productions to skip for pagination (default 0)
statusstringFilter by production status

wave_create_production

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

ParameterTypeDescription
title *stringProduction title
descriptionstringProduction description
layoutstringInitial layout mode (default: single)
recordbooleanEnable recording for this production (default: false)
stream_idsarrayStream IDs to include as sources in the production

wave_get_viewers

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

ParameterTypeDescription
fromstringRange start (ISO 8601 timestamp), optional
tostringRange end (ISO 8601 timestamp), optional

wave_get_subscription

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

wave_get_usage

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

ParameterTypeDescription
fromstringRange start (YYYY-MM-DD), default: start of current month
tostringRange end (YYYY-MM-DD), default: today

wave_switch_camera

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

ParameterTypeDescription
bus *stringWhich bus to switch
camera_index *integerCamera index to switch to (0-15)
production_id *stringThe production ID
transitionstringTransition type (default: cut)

wave_create_clip

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"

ParameterTypeDescription
in *stringClip start offset, a time string like "5s" or "2m" (0-10m)
source *stringThe recording ID to clip from
durationstringClip length, a time string like "30s" (1s-60s). Omit if using `out`
fitstringResize fit mode (default: contain)
formatsarrayOutput formats to generate (default: [mp4])
heightintegerOutput height in px (10-2000)
outstringClip end offset, a time string like "35s". Omit if using `duration`
qualitystringOutput quality lane (default: 720p)
spritesheet_framesintegerFrame count for spritesheet output (1-120, default: 30)
visibilitystringStorage/delivery visibility (default: private)
widthintegerOutput width in px (10-2000)

wave_show_graphic

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

ParameterTypeDescription
overlay_id *stringThe overlay ID (1-100 chars)
production_id *stringThe production ID
visible *booleanWhether the overlay should be visible

wave_control_camera

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

ParameterTypeDescription
camera_id *stringThe camera ID
command *stringThe camera command variant
anglenumberShutter angle for set_shutter
channelnumberAudio channel for set_audio_level
levelnumberAudio level for set_audio_level
namestringPreset name for save_preset
preset_idstringPreset ID for recall_preset
slotintegerPreset slot (1-20) for save_preset
temperaturenumberColor temperature for set_white_balance
tintnumberTint for set_white_balance
valuenumberNumeric value for set_iris/set_focus/set_zoom/set_gain

wave_moderate_chat

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

ParameterTypeDescription
action *stringModeration action
message_id *stringThe chat message ID to moderate
stream_id *stringThe stream ID
reasonstringReason for moderation action

wave_start_captions

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

ParameterTypeDescription
audio_base64 *stringBase64-encoded audio bytes to transcribe (max 25MB decoded)
llm_model *stringFast LLM model ID to run the pipeline step
filenamestringFilename hint for the audio (default: "audio.wav")
instructionstringCustom instruction for mode=custom
languagestringISO 639 language hint for transcription (transcribe task only)
max_tokensintegerMax tokens for the LLM step (default: 256)
modestringFast-LLM step to run over the transcript (default: summarize)
modelstringTranscription model (default: whisper-large-v3-turbo; translate forces whisper-large-v3)
stream_idstringClient correlation ID for this stream/session (letters, digits, . _ : -, 1-128 chars)
taskstringCaption task (default: transcribe)

wave_voice_converse

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.

ParameterTypeDescription
audioPath *stringPath to the input WAV (16-bit LE 48 kHz PCM)
outPath *stringPath to write the agent's reply PCM to (raw, no WAV header)
room *stringRoom id the agent is bound to

wave_design_extract

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).

ParameterTypeDescription
pen *stringPath to the .pen board file (must be under $HOME/wave-av or the OS temp dir)
deltastringReference board's already-extracted dir; writes season-delta.json into this run's --out
outstringOutput extract dir (default: <pen-dir>/<basename>.extract)

wave_design_contract

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.

ParameterTypeDescription
extract *stringPath to a <board>.extract/ dir written by wave_design_extract
outstringOutput contract file (default: <extract>/design-contract.json)

wave_design_measure

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).

ParameterTypeDescription
geometrystringpen-extract geometry.json — masks occluder rects out of the measurement
imagestringPath to the image to measure (required unless `plate` is given)
platestringPath to a plate SVG to rasterize and measure keyblock on
regionstringCrop region as `x,y,w,h` (fractions or pixels)

wave_design_contract_check

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

ParameterTypeDescription
contract *stringPath to a design-contract.json

wave.ask

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…

ParameterTypeDescription
question *stringThe goal in plain language (e.g. "live captions from my mic"). Treated as untrusted text: never echoed into a system-prompt-adjacent field, never used to construct a URL or tool call directly — it o…
budgetUsdnumberOptional USD budget ceiling. Never used to compute or invent a price — only reorders which suggestion in `next[]` is surfaced first (a reminder to confirm the live 402 quote against it before callin…