SproutVideo MCP by usefulapi

v1.2.1
io.usefulapi/sproutvideo Checked 3 days ago Published 2 days ago

Read videos and playlists; update videos, create tags, playlists and folders in SproutVideo.

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

sproutvideo_get_account Get account

Get the SproutVideo account behind this key: company, name, email, plan (name, price, storage, bandwidth) and settings. Good first call to confirm which account is connected. SproutVideo API: GET /v1/account.

sproutvideo_list_videos List videos

List videos in the account, with title, state (inspecting, processing, deployed, failed), privacy, duration, plays, tags, folder and embed code. Filter by tag, folder, playlist, privacy or state. SproutVideo API: GET /v1/videos.

ParameterTypeDescription
folder_idstringOnly videos in this folder id.
idsarrayReturn only these ids.
order_bystringOrder results by one of: created_at, updated_at, duration, title.
order_dirstringSort direction.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page (default 25, max 100).
playlist_idstringOnly videos in this playlist id.
privacyintegerPrivacy: 0 private, 1 password protected, 2 public, 3 login protected (videos only).
statestringOnly videos in this state.
tag_idstringOnly videos with this tag id.
tag_namestringOnly videos with this tag name.

sproutvideo_get_video Get a video

Get one video by id: title, description, state, progress, privacy, tags, folder, duration, plays, embed code and asset URLs. SproutVideo API: GET /v1/videos/{id}.

ParameterTypeDescription
video_id *stringThe video id (from sproutvideo_list_videos).

sproutvideo_list_subtitles List subtitles

List the subtitle tracks of one video: language, label and status. SproutVideo API: GET /v1/videos/{video_id}/subtitles.

ParameterTypeDescription
video_id *stringThe video id.
order_bystringOrder results by one of: created_at, updated_at, language.
order_dirstringSort direction.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page (default 25, max 100).

sproutvideo_list_calls_to_action List calls to action

List the calls to action (buttons or links shown with one video) of one video. SproutVideo API: GET /v1/videos/{video_id}/calls_to_action.

ParameterTypeDescription
video_id *stringThe video id.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page (default 25, max 100).

sproutvideo_list_tags List tags

List the tags in the account with their names and the video ids tagged with each. SproutVideo API: GET /v1/tags.

ParameterTypeDescription
idsarrayReturn only these ids.
order_bystringOrder results by one of: created_at, updated_at, name.
order_dirstringSort direction.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page (default 25, max 100).

sproutvideo_get_tag Get a tag

Get one tag by id, with its name and tagged video ids. SproutVideo API: GET /v1/tags/{id}.

ParameterTypeDescription
tag_id *stringThe tag id (from sproutvideo_list_tags).

sproutvideo_create_tag Create a tag

Create a new tag with the given name. Creates data; it does not change existing tags. SproutVideo API: POST /v1/tags.

ParameterTypeDescription
name *stringThe name of the new tag.

sproutvideo_update_tag Rename a tag

Rename one tag by id. Every video with the tag keeps it. SproutVideo API: PUT /v1/tags/{id}.

ParameterTypeDescription
name *stringThe new name of the tag.
tag_id *stringThe tag id to rename.

sproutvideo_list_playlists List playlists

List playlists with title, description, privacy and the videos they hold. SproutVideo API: GET /v1/playlists.

ParameterTypeDescription
idsarrayReturn only these ids.
order_bystringOrder results by one of: created_at, updated_at, duration, title.
order_dirstringSort direction.
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page (default 25, max 100).
privacyintegerPrivacy: 0 private, 1 password protected, 2 public. Playlists do not support 3.

sproutvideo_get_playlist Get a playlist

Get one playlist by id, with its title, description, privacy and video list. SproutVideo API: GET /v1/playlists/{id}.

ParameterTypeDescription
playlist_id *stringThe playlist id (from sproutvideo_list_playlists).

sproutvideo_create_playlist Create a playlist

Create a new playlist with a title, optional description and privacy. Creates data; it does not change existing playlists. SproutVideo API: POST /v1/playlists.

ParameterTypeDescription
title *stringThe title of the playlist.
descriptionstringThe description of the playlist.
privacyintegerPrivacy: 0 private, 1 password protected, 2 public. Playlists do not support 3.

sproutvideo_list_folders List folders

List the folders in the account, with their names and parent ids. SproutVideo API: GET /v1/folders.

ParameterTypeDescription
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page (default 25, max 100).

sproutvideo_get_folder Get a folder

Get one folder by id, with its name and parent id. SproutVideo API: GET /v1/folders/{id}.

ParameterTypeDescription
folder_id *stringThe folder id (from sproutvideo_list_folders).

sproutvideo_create_folder Create a folder

Create a new folder, at the root or inside a parent folder. Creates data; it does not move existing content. SproutVideo API: POST /v1/folders.

ParameterTypeDescription
name *stringThe name of the new folder.
parent_idstringThe id of the folder to place the new folder in (omit for the root).

sproutvideo_update_folder Rename or move a folder

Change the name or the parent folder of one folder. Moving a folder moves its contents with it. SproutVideo API: PUT /v1/folders/{id}.

ParameterTypeDescription
folder_id *stringThe folder id to change.
namestringThe new name of the folder.
parent_idstringThe new parent folder id.

sproutvideo_list_live_streams List live streams

List the live streams in the account, with title, state and stream settings. SproutVideo API: GET /v1/live_streams.

ParameterTypeDescription
pageintegerPage number for pagination (default 1).
per_pageintegerResults per page (default 25, max 100).

sproutvideo_update_video Update a video

Change the title, description, privacy, password or tags of one video. Setting privacy to 2 (public) makes the video viewable by anyone who has the link. SproutVideo API: PUT /v1/videos/{id}.

ParameterTypeDescription
video_id *stringThe video id to change.
descriptionstringThe new description.
passwordstringThe password, used when privacy is 1.
prefers_embed_passwordbooleanAsk for the password in embeds (privacy 1 only).
privacyintegerPrivacy: 0 private, 1 password protected, 2 public, 3 login protected (videos only).
tagsarrayTag ids to associate with the video (added to its tags, per the SproutVideo docs).
titlestringThe new title.