Tools
The C21 Live Control MCP server exposes two layers of tools:
- Business-workflow tools — a small curated set named in
snake_case. Each one wraps a complete operator-facing workflow (rather than a single REST verb) and is advertised on every profile. The role of the account the server logs in with can still hide a tool whose operations that role may not call. - CRUD wrappers — autogenerated tools, one per public REST operation. Their names are the operation's OpenAPI
operationIdverbatim (camelCase). Which subset is callable depends on the active profile (voice/readonly/operator/full— see MCP server).
A business-workflow tool may call into one or more REST operations internally; the client only sees the curated name. The two layers coexist on the same connection — a voice client sees both.
Tool discovery — search_tools and call_tool
The generated CRUD catalogue is large, and advertising every schema on every turn inflates an agent's context. The server therefore collapses the generated tools of a profile behind two meta-tools:
search_tools— search the profile's generated catalogue by keyword; returns the matching tools with their full schemas.call_tool— invoke a generated tool by itsoperationIdname with structured arguments.
tools/list advertises the business-workflow tools plus these two meta-tools; the generated wrappers remain discoverable through search_tools and callable through call_tool. A client that already knows the operationId it needs can pass it to call_tool directly, without searching first.
Business-workflow tools (snake_case)
Twelve tools, named in operator language rather than after API verbs:
| Tool | Workflow |
|---|---|
start_livestream | Start a Live stream end-to-end. Optional destinations (a list of Destination names): those Destinations go on air and the rest of the Live stream's Destinations stay off, keeping their renditions. An unknown name fails the call without starting and lists the available Destinations. Without destinations, the matrix of the last start is reused. |
stop_livestream | Stop a Live stream end-to-end. On a recurring Schedule it stops only the occurrence on air — the series and its Destinations stay intact; a one-off Schedule is cancelled. |
toggle_destination | Toggle a bound Destination's primary / backup path on a running Live stream. |
update_destination_stream_key | Rotate the stream key of a bound Destination — pauses and resumes the Destination automatically when the broadcast is live. |
channel_slot_usage | Capacity overview — input slot occupancy per encoder Device. |
get_start_targets | Recommend where to start a Live stream (on-prem encoder group or C21 Live Cloud) based on each encoder group's real capacity and the availability of its devices. |
schedule_livestream | Create a fully-determined Schedule for a Live stream. Optional destinations works as in start_livestream and is stored as the Schedule's Destination matrix; an unknown name saves nothing. Without it, the Schedule switches on every Destination. |
get_livestream_status | Return a coherent runtime status object for one Live stream. |
find_destinations_by_stream_key | Find the Destinations whose stream name, or a credential parameter of it, equals a given value — without showing any other Destination's value. |
verify_destination_stream_key | Check a given value against a Destination's configured stream key: match, slot, what reads show of both, and the format check for the Destination's provider. |
get_destination_stream_key | Return a Destination's full stream key, only on explicit request. Every reveal is audited (Destination, slot, user, session), never the value. |
get_channel_ingest | Return the contribution URL of a cloud Channel (RTMP push, SRT, UDP-R) as an operator types it into OBS or vMix. The SRT passphrase is never shown. |
A business tool that could not do what it was asked reports a tool error (isError) with the backend's own reason; a read that could not be made is never filled in with a default.
These are the operator-facing surface the voice profile is built around. They are advertised on every profile, including readonly (the readonly profile blocks mutating REST operations, but the curated workflows above remain visible — clients are expected not to invoke the mutating ones in observation contexts).
CRUD wrappers (camelCase operationId)
The rest of the tool catalogue is generated from the OpenAPI spec — one tool per operation, named after the operationId literally. Examples:
| Tool | Underlying operation |
|---|---|
getAllLivestreams | GET /c21apiv2/livestreams |
getLivestreamById | GET /c21apiv2/livestreams/{livestreamId} |
startLivestream | POST /c21apiv2/livestreams/{livestreamId}/start |
stopLivestream | POST /c21apiv2/livestreams/{livestreamId}/stop |
runtimeApplyLogo | POST /c21apiv2/livestreams/{livestreamId}/runtimeOptions/logo |
runtimeApplyBlackout | POST /c21apiv2/livestreams/{livestreamId}/runtimeOptions/blackout |
runtimeTogglePublishings | POST /c21apiv2/livestreams/{livestreamId}/runtimeOptions/publishings |
getAllChannels | GET /c21apiv2/channels |
getAllPublishings | GET /c21apiv2/publishings |
getAllSchedules | GET /c21apiv2/schedules |
getRecordings | GET /c21apiv2/recordings |
getDevicesLiveStatus | GET /c21apiv2/devices/livestatus |
listAssets | GET /c21apiv2/assets |
The CRUD wrappers retain the API identifier Publishing (rather than the operator-facing label Destination) for the same reason the REST surface does: they are literal operationId strings — they mirror the OpenAPI schema. The business-workflow toggle is toggle_destination; the autogenerated CRUD wrapper around the same backend call is runtimeTogglePublishings. Both reach the same operation.
The effective source of truth is the tool catalogue the server announces on connect — it reflects the active profile. For an exhaustive per-operation reference, consult the OpenAPI spec.
Tools by resource
Each table below lists the CRUD-wrapper tools available against a resource. The set of tools an MCP client can actually call is the intersection of these operations with the active profile (and the user's role).
Live streams
| Tool | Purpose |
|---|---|
getAllLivestreams | List Live streams. Optional includeDestinations / includeChannel embed each stream's configured Destinations and resolved source Channel in the same response. |
getLivestreamById | Fetch one Live stream by id. |
getLivestreamStatus | Fetch the runtime status of one Live stream. |
getLivestreamsStatus | Fetch the runtime status of every Live stream in one call. |
getLivestreamStartConfig | Fetch the start-config preconditions (idEncoderGroup, last startConfig[], startAllowed). |
getLivestreamEnriched | Fetch a Live stream with enriched references resolved. |
addLivestream | Create a Live stream. |
updateLivestream | Update a Live stream. |
deleteLivestream | Delete a Live stream. |
startLivestream | Start a Live stream. |
stopLivestream | Stop a Live stream. |
runtimeApplyLogo | Apply or clear the logo on a running Live stream. |
runtimeApplyBlackout | Apply or clear the blackout / file replacement on a running Live stream. |
runtimeApplySourceSwitch | Switch the source of a running Live stream. |
runtimeTogglePublishings | Toggle the primary / backup state of bound Destinations on a running Live stream. |
runtimePushMetadata | Push metadata to a running Live stream. |
runtimeSetAdValues | Set ad-value markers on a running Live stream. |
setLivestreamText | Set the overlay text on a Live stream. |
updateLivestreamOptions | Update Live stream runtime options. |
Channels (Sources)
| Tool | Purpose |
|---|---|
getAllChannels | List Channels. |
getChannelById | Fetch one Channel. |
addChannel | Create a Channel. |
updateChannel | Update a Channel. |
deleteChannel | Delete a Channel. |
Destinations
| Tool | Purpose |
|---|---|
getAllPublishings | List Destinations. |
getPublishingById | Fetch one Destination. |
addPublishing | Create a Destination. |
updatePublishing | Update a Destination. |
deletePublishing | Delete a Destination. |
getAllPublishingGroups | List Destination groups. |
addPublishingGroup | Create a Destination group. |
updatePublishingGroup | Update a Destination group. |
deletePublishingGroup | Delete a Destination group. |
Encodings
| Tool | Purpose |
|---|---|
getAllEncodings | List Encodings. |
getEncodingById | Fetch one Encoding. |
addEncoding | Create an Encoding. |
updateEncoding | Update an Encoding. |
deleteEncoding | Delete an Encoding. |
getAllEncodingGroups | List Encoding groups. |
addEncodingGroup | Create an Encoding group. |
updateEncodingGroup | Update an Encoding group. |
deleteEncodingGroup | Delete an Encoding group. |
Schedules
| Tool | Purpose |
|---|---|
getAllSchedules | List Schedules. |
getScheduleById | Fetch one Schedule. |
addSchedule | Create a Schedule. |
updateSchedule | Update a Schedule — including pause / resume through the enabled field. |
deleteSchedule | Delete a Schedule: removes every future occurrence and, if it is on air, stops the Live stream and disables its Destinations. |
getScheduleOccurrences | Expand a Schedule into its concrete occurrences over a date window. |
skipOccurrence | Cancel a single occurrence of a recurring Schedule, including the one on air (with confirmStopLive: true). |
restoreSkip | Restore a skipped occurrence that has not yet run. |
listScheduleSkips | List the skipped occurrences of a Schedule. |
patchScheduleUntil | End a recurring Schedule's series from a given date onward. |
The dedicated enable / disable endpoints were retired: pausing and resuming a Schedule is updateSchedule with { "enabled": … }.
Planned actions
| Tool | Purpose |
|---|---|
getLivestreamActions | List a Live stream's planned actions. |
addLivestreamAction | Create a planned action on a Live stream. |
getAllPlannedActions | List planned actions across Live streams, filterable by time window and status. |
getPlannedAction | Fetch one planned action. |
updatePlannedAction | Update or reschedule a pending planned action. |
deletePlannedAction | Delete a planned action. |
enablePlannedAction | Re-arm a disabled pending action. |
disablePlannedAction | Pause a pending action without deleting it. |
See Planned actions for the operator model, the command catalogue and the lifecycle rules.
Recordings
| Tool | Purpose |
|---|---|
getRecordings | List Recordings. |
getRecording | Fetch one Recording. |
getRecordingTracks | List the captured tracks of a Recording. |
deleteRecording | Delete a Recording. |
Devices
| Tool | Purpose |
|---|---|
getAllDevices | List Devices. |
getDeviceById | Fetch one Device. |
addDevice | Register a Device (one-time registration with register_username / register_password). |
updateDevice | Update a Device. |
deleteDevice | Delete a Device. |
getDevicesStatus | Fetch summary status across Devices. |
getDevicesLiveStatus | Fetch the live status of the Live streams running on the Devices. |
getAllDeviceGroups | List Device groups. |
createDeviceGroup | Create a Device group. |
updateDeviceGroup | Update a Device group. |
deleteDeviceGroup | Delete a Device group. |
Assets
| Tool | Purpose |
|---|---|
listAssets | List Assets, filterable by fileType (logos, files, clips). |
uploadAsset | Upload an Asset to the named bucket. |
readAsset | Fetch an Asset by filename. |
deleteAsset | Delete an Asset by filename. |
DRM
| Tool | Purpose |
|---|---|
getAllDrmProviders | List DRM providers. |
getDrmProviderById | Fetch one DRM provider. |
addDrmProvider | Register a DRM provider. |
updateDrmProvider | Update a DRM provider. |
deleteDrmProvider | Delete a DRM provider. |
validateDrmProvider | Validate the credentials of a DRM provider. |
C21 Live Cloud
| Tool | Purpose |
|---|---|
getAllC21LiveCloudAccounts | List C21 Live Cloud accounts. |
getC21LiveCloudAccountById | Fetch one C21 Live Cloud account. |
addC21LiveCloudAccount | Register a C21 Live Cloud account. |
updateC21LiveCloudAccount | Update a C21 Live Cloud account. |
deleteC21LiveCloudAccount | Delete a C21 Live Cloud account. |
validateC21LiveCloudAccount | Revalidate a C21 Live Cloud account against the upstream platform. |
MediaCopilot
| Tool | Purpose |
|---|---|
getMediaCopilotAccount | Read the MediaCopilot account currently bound to this C21 Live Control instance. |
getMediaCopilotConfig | Read the MediaCopilot integration configuration (tenant URL, default collection, default template). |
updateMediaCopilotConfig | Write the MediaCopilot integration configuration. System Administrator only. |
getMediaCopilotCollections | List the collections exposed by the bound MediaCopilot tenant. Used by the configuration form's collection picker. |
getMediaCopilotTemplates | List the processing templates exposed by the bound MediaCopilot tenant. |
getMediaCopilotAssetStatus | Read the processing status of an asset previously handed off to MediaCopilot, by asset id. |
The MediaCopilot integration itself requires a MediaCopilot account contracted through Cires21 plus the C21LiveEditor license on the Live Control instance — see MediaCopilot for the integration model.
Security
API token management (createApiToken, listApiTokens, revokeApiToken) and the restore of a configuration backup (restoreBackup) are never offered by the MCP server, whatever the profile: a new token would end up in the chat history, and a restore can overwrite the network settings of the host. A call to one of them answers with the place to do it instead — the server CLI for tokens, the API for backups.
What the role may call
At startup the server asks the API, through POST /security/permissions, which of the operations the profile would register the role of its account may invoke, and hides the rest from tools/list and search_tools. A business tool is hidden when one of the operations it cannot do without is refused. When the API cannot answer (an older C21 Live Control, a Control still starting), nothing is hidden and a refused call still fails as a tool error.
Secrets in answers
Reads never hand the agent a secret in full. Where a Destination's stream name is a key (RTMP to YouTube, Twitch, Facebook, Instagram, Kick, X, Castr or Restream, or any value shaped like one of their keys) the agent receives a fingerprint; any other stream name is returned as it is, with credential parameters such as token or password masked. Credentials inside URLs — the password of a userinfo, SRT passphrases, tokens — reach the agent as *** in every answer, keeping scheme, host, port and path; a masked value written back preserves the stored one. MCP_SECRETS_MODE=strict refuses the three stream-key tools above and any write that sets a key or a credential parameter.
Return shape conventions
List operations return the standard {rows, pagination} envelope. Single-resource operations return the resource directly under data. Errors follow the standard envelope documented in Pagination and errors.
What MCP does not expose
- Event subscriptions. There is no
subscribe_events-style streaming tool today. To observe state changes, poll the relevantgetLivestreamStatusorgetDevicesLiveStatusendpoint. - Webhook management. The product does not expose a webhook subscription surface.