Streamloop
io.github.streamloop/mcp
Manage cloud-hosted 24/7 video streams, playlists, destinations, schedules, media and workspaces.
- account_get — Returns the account, its workspace and its money. `billing.balance` is US dollars and `creditsLeft` the same amount in credits (1,000,000 credits = $1); `goodStanding` false means streams cannot start
- custom_order_create — Creates a custom order from a description of how the playlist should play, e.g. "start with the intro, never two songs in a row". Apply it with playlist_set_playing_order.
- custom_order_list — Lists custom orders (playing-order rules written from a text description), or returns one with its rules when `id` is given.
- custom_order_refine — Changes a custom order with an instruction in words. Playlists using it pick up the change.
- destination_connection_hints — Returns how to connect a platform: its RTMP ingest URL, where the user finds the stream key, and platform limits. Use it before destination_create_rtmp; never guess an ingest URL.
- destination_create_rtmp — Creates a destination from an RTMP URL and stream key (Twitch, Kick, Facebook, any RTMP server). A stream key backs one destination: the same key again is refused with the existing destination's id. T
- destination_create_youtube_oauth — Connects a YouTube channel through Google OAuth. Without `channelId` returns the consent URL for the user to open (valid for about 10 minutes), `channels` (authorized, with no destination yet: pass on
- destination_list — Lists destinations (YouTube channels and custom RTMP endpoints) with their status. Stream keys are never returned.
- destination_remove — Removes a destination from the workspace; it no longer appears in destination_list, and every stream it was linked to loses that output (stream_get lists a stream's outputs). Refused while a live stre
- destination_update — Renames a destination or replaces its RTMP stream key. A live stream uses the new key after a restart.
- playlist_copy — Copies all items of one playlist into another, empty one of the same kind. The target also takes the source's sequential or shuffle setting; a custom order is never copied.
- playlist_get — Returns a playlist: its version, playing order (`mode`) and items (item id, media id, name, duration). Items come in their stored order: shuffle and custom play them in another order without reorderin
- playlist_patch — Adds, removes and reorders playlist items with a JSON Patch (RFC 6902) over the document playlist_get returns. All operations apply or none. Media must be ready (upload_get_import_job_state) and of th
- playlist_set_playing_order — Sets how a playlist plays: in order, shuffled, or by a custom order. See custom_order_* to create an arbitrary order defined by a script: it can pick the next item based on the time, the previously pl
- scene_control_live — Acts on the scene on air, as its operator would; viewers see it at once. goFrame takes a frame to air, next cues one, setControl sets a control, setData replaces a table's rows, skip moves a playlist
- scene_get — Reads a live scene by path. Start with `*`: it returns the resource types (frame, source, component, element, …) and their definitions, which describe everything else. Reads the draft unless `state` o
- scene_get_live_state — Reads what the scene has on air: each stream the scene is set on, with online (whether that stream is on air now) and, while it is, the frame on air, the frame cued next, the controls' values, each so
- scene_list_revisions — Lists the scene's published revisions, newest first.
- scene_publish — Publishes the scene draft; streams playing the scene show it at once. Refused with SCENE_INVALID and the problems to fix.
- scene_remove — Removes a resource from the scene draft. Refused when something else uses it.
- scene_rollback_to_revision — Publishes an earlier revision again as a new revision; streams playing the scene show it at once. The draft is not changed: it still holds the latest edits.
- scene_set — Creates or changes one resource in the scene draft. `replace` writes the whole resource (read its type with scene_get first for the shape); `merge` changes only the fields given and keeps the rest. Se
- stream_add_output — Links a destination to the stream. Up to 5 per stream, disabled ones included, and one YouTube channel connected through OAuth at most (RTMP destinations to YouTube are not counted). Not while live.
- stream_cancel_schedule — Removes the stream's schedule and repeat. A live session keeps running. The stream's streamDuration stays (stream_update streamDuration 0 removes it).
- stream_create — Create a new stream. You can create stream for pre-recorded videos or live scene stream (supports pre-recorded videos too). Live scene is used for more complex setups to include features like overlays
- stream_create_copy — Copies a stream into a new draft: its settings, playlists (items and playing order), linked destinations and YouTube settings; never its schedule. A scene stream's copy plays the same scene as the ori
- stream_get — Get stream (loop) information, use it to get its current state, enabled destinations and configuration.
- stream_list — List streams filtered by status, id, name and return their quick overview.
- stream_preflight_check — Checks whether the stream can start, including whether the workspace has the credits for it, and returns the blocking issues with how to fix each. A few show only once an earlier one is fixed (sound i
- stream_remove — Deletes a stream with its playlists and schedule. Uploaded media and destinations are kept. A scene stream's scene is deleted with it unless another stream plays that scene. Refused with STREAM_LIVE w
- stream_remove_output — Unlinks a destination from the stream; one that is not linked is left as it is. Not while live; use stream_toggle_output.
- stream_schedule — Schedules the stream to start at a set time, optionally with an end and a repeat. Replaces any existing schedule.
- stream_start — Starts the stream now. It answers at once with state preparing; the stream goes preparing, activating, then active (on air) within about a minute: read it with stream_get, which also says why when it
- stream_stop — Stops the stream: it goes off air on every destination and stops spending credits. Media, playlists and settings are kept. A schedule starts it again unless `cancelSchedule` is set. A scheduled stream
- stream_toggle_output — Enables or disables a linked destination without unlinking it. Disabling works while live and takes that destination off air; enabling does not work while live.
- stream_update — Updates stream configuration. Quality and framerate: not while live.
- stream_update_youtube_broadcast_settings — Updates YouTube broadcast settings (only when has linked YouTube channel using Oauth).
- upload_get_import_job_state — Returns whether media is ready to play, for an import and for a direct upload alike: progress and error, then its duration (milliseconds) and resolution (null when not measured). `ready` is true only
- upload_get_upload_url — Creates a media record and returns the URL(s) to PUT the file to; the URLs stop working after 11 hours. After the PUT (after the last part, for multipart) call upload_get_import_job_state until it rep
- upload_import_from_url — Imports media from a URL: a video page (YouTube, Vimeo, Twitch, …) or a direct file link. Runs in the background; follow it with upload_get_import_job_state.
- upload_list — Lists uploaded media (video, audio, images) with size, duration (milliseconds) and whether it is ready to play.
- upload_remove — Deletes media: video, audio or an image. Refused with IN_USE, naming what uses it when known, while a playlist uses it; an image also while it is a stream's YouTube thumbnail or while the workspace ha