MCP Server

Tools

Catalogue of MCP tools the C21 Live Control server advertises.

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 operationId verbatim (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 its operationId name 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:

ToolWorkflow
start_livestreamStart 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_livestreamStop 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_destinationToggle a bound Destination's primary / backup path on a running Live stream.
update_destination_stream_keyRotate the stream key of a bound Destination — pauses and resumes the Destination automatically when the broadcast is live.
channel_slot_usageCapacity overview — input slot occupancy per encoder Device.
get_start_targetsRecommend 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_livestreamCreate 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_statusReturn a coherent runtime status object for one Live stream.
find_destinations_by_stream_keyFind 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_keyCheck 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_keyReturn a Destination's full stream key, only on explicit request. Every reveal is audited (Destination, slot, user, session), never the value.
get_channel_ingestReturn 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:

ToolUnderlying operation
getAllLivestreamsGET /c21apiv2/livestreams
getLivestreamByIdGET /c21apiv2/livestreams/{livestreamId}
startLivestreamPOST /c21apiv2/livestreams/{livestreamId}/start
stopLivestreamPOST /c21apiv2/livestreams/{livestreamId}/stop
runtimeApplyLogoPOST /c21apiv2/livestreams/{livestreamId}/runtimeOptions/logo
runtimeApplyBlackoutPOST /c21apiv2/livestreams/{livestreamId}/runtimeOptions/blackout
runtimeTogglePublishingsPOST /c21apiv2/livestreams/{livestreamId}/runtimeOptions/publishings
getAllChannelsGET /c21apiv2/channels
getAllPublishingsGET /c21apiv2/publishings
getAllSchedulesGET /c21apiv2/schedules
getRecordingsGET /c21apiv2/recordings
getDevicesLiveStatusGET /c21apiv2/devices/livestatus
listAssetsGET /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

ToolPurpose
getAllLivestreamsList Live streams. Optional includeDestinations / includeChannel embed each stream's configured Destinations and resolved source Channel in the same response.
getLivestreamByIdFetch one Live stream by id.
getLivestreamStatusFetch the runtime status of one Live stream.
getLivestreamsStatusFetch the runtime status of every Live stream in one call.
getLivestreamStartConfigFetch the start-config preconditions (idEncoderGroup, last startConfig[], startAllowed).
getLivestreamEnrichedFetch a Live stream with enriched references resolved.
addLivestreamCreate a Live stream.
updateLivestreamUpdate a Live stream.
deleteLivestreamDelete a Live stream.
startLivestreamStart a Live stream.
stopLivestreamStop a Live stream.
runtimeApplyLogoApply or clear the logo on a running Live stream.
runtimeApplyBlackoutApply or clear the blackout / file replacement on a running Live stream.
runtimeApplySourceSwitchSwitch the source of a running Live stream.
runtimeTogglePublishingsToggle the primary / backup state of bound Destinations on a running Live stream.
runtimePushMetadataPush metadata to a running Live stream.
runtimeSetAdValuesSet ad-value markers on a running Live stream.
setLivestreamTextSet the overlay text on a Live stream.
updateLivestreamOptionsUpdate Live stream runtime options.

Channels (Sources)

ToolPurpose
getAllChannelsList Channels.
getChannelByIdFetch one Channel.
addChannelCreate a Channel.
updateChannelUpdate a Channel.
deleteChannelDelete a Channel.

Destinations

ToolPurpose
getAllPublishingsList Destinations.
getPublishingByIdFetch one Destination.
addPublishingCreate a Destination.
updatePublishingUpdate a Destination.
deletePublishingDelete a Destination.
getAllPublishingGroupsList Destination groups.
addPublishingGroupCreate a Destination group.
updatePublishingGroupUpdate a Destination group.
deletePublishingGroupDelete a Destination group.

Encodings

ToolPurpose
getAllEncodingsList Encodings.
getEncodingByIdFetch one Encoding.
addEncodingCreate an Encoding.
updateEncodingUpdate an Encoding.
deleteEncodingDelete an Encoding.
getAllEncodingGroupsList Encoding groups.
addEncodingGroupCreate an Encoding group.
updateEncodingGroupUpdate an Encoding group.
deleteEncodingGroupDelete an Encoding group.

Schedules

ToolPurpose
getAllSchedulesList Schedules.
getScheduleByIdFetch one Schedule.
addScheduleCreate a Schedule.
updateScheduleUpdate a Schedule — including pause / resume through the enabled field.
deleteScheduleDelete a Schedule: removes every future occurrence and, if it is on air, stops the Live stream and disables its Destinations.
getScheduleOccurrencesExpand a Schedule into its concrete occurrences over a date window.
skipOccurrenceCancel a single occurrence of a recurring Schedule, including the one on air (with confirmStopLive: true).
restoreSkipRestore a skipped occurrence that has not yet run.
listScheduleSkipsList the skipped occurrences of a Schedule.
patchScheduleUntilEnd 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

ToolPurpose
getLivestreamActionsList a Live stream's planned actions.
addLivestreamActionCreate a planned action on a Live stream.
getAllPlannedActionsList planned actions across Live streams, filterable by time window and status.
getPlannedActionFetch one planned action.
updatePlannedActionUpdate or reschedule a pending planned action.
deletePlannedActionDelete a planned action.
enablePlannedActionRe-arm a disabled pending action.
disablePlannedActionPause a pending action without deleting it.

See Planned actions for the operator model, the command catalogue and the lifecycle rules.

Recordings

ToolPurpose
getRecordingsList Recordings.
getRecordingFetch one Recording.
getRecordingTracksList the captured tracks of a Recording.
deleteRecordingDelete a Recording.

Devices

ToolPurpose
getAllDevicesList Devices.
getDeviceByIdFetch one Device.
addDeviceRegister a Device (one-time registration with register_username / register_password).
updateDeviceUpdate a Device.
deleteDeviceDelete a Device.
getDevicesStatusFetch summary status across Devices.
getDevicesLiveStatusFetch the live status of the Live streams running on the Devices.
getAllDeviceGroupsList Device groups.
createDeviceGroupCreate a Device group.
updateDeviceGroupUpdate a Device group.
deleteDeviceGroupDelete a Device group.

Assets

ToolPurpose
listAssetsList Assets, filterable by fileType (logos, files, clips).
uploadAssetUpload an Asset to the named bucket.
readAssetFetch an Asset by filename.
deleteAssetDelete an Asset by filename.

DRM

ToolPurpose
getAllDrmProvidersList DRM providers.
getDrmProviderByIdFetch one DRM provider.
addDrmProviderRegister a DRM provider.
updateDrmProviderUpdate a DRM provider.
deleteDrmProviderDelete a DRM provider.
validateDrmProviderValidate the credentials of a DRM provider.

C21 Live Cloud

ToolPurpose
getAllC21LiveCloudAccountsList C21 Live Cloud accounts.
getC21LiveCloudAccountByIdFetch one C21 Live Cloud account.
addC21LiveCloudAccountRegister a C21 Live Cloud account.
updateC21LiveCloudAccountUpdate a C21 Live Cloud account.
deleteC21LiveCloudAccountDelete a C21 Live Cloud account.
validateC21LiveCloudAccountRevalidate a C21 Live Cloud account against the upstream platform.

MediaCopilot

ToolPurpose
getMediaCopilotAccountRead the MediaCopilot account currently bound to this C21 Live Control instance.
getMediaCopilotConfigRead the MediaCopilot integration configuration (tenant URL, default collection, default template).
updateMediaCopilotConfigWrite the MediaCopilot integration configuration. System Administrator only.
getMediaCopilotCollectionsList the collections exposed by the bound MediaCopilot tenant. Used by the configuration form's collection picker.
getMediaCopilotTemplatesList the processing templates exposed by the bound MediaCopilot tenant.
getMediaCopilotAssetStatusRead 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 relevant getLivestreamStatus or getDevicesLiveStatus endpoint.
  • Webhook management. The product does not expose a webhook subscription surface.
Copyright © 2026