WAVE MCP Server
Official@wave-av/mcp-server
MCP (模型上下文协议) 服务器,将 WAVE 流媒体 API 作为工具暴露给 AI 编程助手。
快速开始
npx @wave-av/mcp-serverRelated MCP server: APIVerve MCP Server
设置
1. 获取 API 密钥
# Via CLI
wave auth login
# Or create at https://wave.online/settings/api-keys2. 配置您的 AI 工具
添加到您的 .mcp.json (Claude Code, Cursor, Windsurf 等):
{
"mcpServers": {
"wave": {
"command": "npx",
"args": ["-y", "@wave-av/mcp-server"],
"env": {
"WAVE_API_KEY": "wave_live_..."
}
}
}
}可用工具
流 (Streams)
工具 | 描述 |
| 列出所有流,支持分页和状态过滤 |
| 创建带有协议和隐私选项的新流 |
| 启动现有流 |
| 停止活动流 |
| 获取流的实时健康指标 |
演播室 (Studio)
工具 | 描述 |
| 列出演播室制作会话 |
| 创建新的多机位制作 |
分析 (Analytics)
工具 | 描述 |
| 获取当前观众人数和细分数据 |
| 获取详细的流性能指标 |
计费 (Billing)
工具 | 描述 |
| 获取当前订阅计划和状态 |
| 获取当前周期的使用量和限额 |
资源
通过 wave:// URI 方案直接访问 WAVE 实体:
wave://streams/{id}- 流配置和状态wave://productions/{id}- 演播室制作详情
环境变量
变量 | 必需 | 默认值 | 描述 |
| 是 | - | 您的 WAVE API 密钥 |
| 否 |
| API 基础 URL |
其他 AI 工具的设置
Cursor
添加到 .cursor/mcp.json:
{
"mcpServers": {
"wave": {
"command": "npx",
"args": ["-y", "@wave-av/mcp-server"],
"env": { "WAVE_API_KEY": "wave_live_..." }
}
}
}Windsurf
使用相同的配置添加到 Windsurf MCP 设置中。
故障排除
服务器无法启动
验证您的 API 密钥是否已设置:
echo $WAVE_API_KEY工具未显示
添加 MCP 配置后重启您的 AI 工具。大多数工具需要重启才能检测到新的 MCP 服务器。
连接错误
MCP 服务器使用 stdio 传输(无网络监听器)。如果您看到连接错误,请检查 npx 是否可以成功运行:
npx @wave-av/mcp-server --version测试服务器
发送 JSON-RPC 初始化请求进行验证:
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相关包
@wave-av/sdk — TypeScript SDK (34 个 API 模块)
@wave-av/adk — 智能体开发工具包
@wave-av/cli — 命令行界面
@wave-av/create-app — 构建新项目脚手架
OpenAPI 规范 — 完整 API 规范
开发
cd packages/mcp-server
pnpm install
pnpm run build
pnpm run dev # Watch mode
pnpm run type-check许可证
MIT
Available Tools
24 toolswave.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
Scored across 24 tools
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.
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.
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.
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
Related MCP Connectors
Manage 24/7 live streams, media, playback queues, schedules, and multistreaming from AI assistants.
Start, monitor, and stop AI-hosted live shopping streams on YouTube, TikTok Live, Twitch, and web.
16 AI-native tools with dual SSE + streamable-http transport. Free tier available.
Lets AI agents analyze API metrics, request logs, and traces, and manage apps and alerts.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables management of multi-platform streaming through the Restream API, allowing control of streaming channels, stream settings, and access to analytics across platforms like YouTube, Twitch, and Facebook through natural language.912 npm1MIT

APIVerve MCP Serverofficial
AlicenseNot gradedqualityBmaintenanceProvides access to 249+ production-ready APIs through the Model Context Protocol, enabling AI assistants to fetch weather, news, geocoding, validation, and more data.4MIT- AlicenseBqualityBmaintenanceAI-powered stream and recording control for OBS Studio through the Model Context Protocol10032Apache 2.0
- AlicenseAqualityNot gradedmaintenanceEnables AI assistants to control DualStream streaming studio: switch scenes, compose layouts, manage widgets, and react to stream events.30Apache 2.0