katto-mcp

v0.6.3
io.github.miracleweasel/katto-mcp Checked 4 hours ago Published 2 days ago

AI video clipping MCP: long videos and podcasts into scored, captioned 9:16 shorts.

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

katto_create_clip_job

Submit a long video for clipping, either by public link in url (YouTube, Twitch, Kick, Vimeo, Zoom, Google Drive, Dropbox, Loom, LinkedIn, Facebook, Rumble, Dailymotion, Medal.tv, or a direct https link to a video file; Google Drive and Dropbox links must be shared publicly) or, for a local file, by upload_id after katto_upload_video and the PUT of the file. Pass exactly one of url or upload_id. Consumes 1 video from your monthly quota — check katto_get_usage first. Clips are produced asynchronously; returns a job id, then poll katto_get_job every 30-60 s until status is 'completed', or pass…

ParameterTypeDescription
configobjectOptional pre-clip settings.
idempotency_keystringOptional unique string (max 255 chars). Retrying with the same key returns the original job instead of creating a second one and spending another video. Use one per intended job, e.g. a UUID.
upload_idstringInstead of url: the upload_id returned by katto_upload_video, once the file has been PUT to its upload_url. Starts clipping that file.
urlstringPublic video URL to clip (YouTube, Twitch, Kick, Vimeo, Zoom, Google Drive, Dropbox, Loom, LinkedIn, Facebook, Rumble, Dailymotion, Medal.tv, or a direct https link to a video file). Pass url OR uploa…
webhook_urlstringOptional https URL that receives a signed POST when the job finishes, so you do not have to poll. Verify the signature with the secret from katto_get_webhook_secret. Private and local addresses are re…

katto_get_job

Read-only. Get the status, progress and clips of a job by id. Clips come ranked by virality score (0-100, highest first; ties broken by clip_index). Each clip is { url, captions_url, title, score, clip_index, hd }: when status is 'completed' every url is a finished, downloadable clip; hd is true once the 1080p high-quality render is ready. hd=false does NOT mean broken — the url already works, the 1080p is just still rendering in the background (and stays the standard render on the free plan). The job-level hd_ready flag turns true once every clip is hd, i.e. the URLs are final and won't be…

ParameterTypeDescription
id *stringJob id from katto_create_clip_job.

katto_list_jobs

Read-only. List your recent jobs, newest first. Paginate with 'cursor' (pass the previous next_cursor); optional 'status' filter. Returns { jobs: [{id, status, source, created_at, completed_at}], next_cursor }.

ParameterTypeDescription
cursorstringPass the previous response's next_cursor for the next page.
limitnumberHow many jobs to return (1-100, default 20).
statusstringOptional filter, e.g. 'completed', 'queued', 'failed'.

katto_get_clips

Read-only convenience: the clips of a job as { url, captions_url, title, score, clip_index, hd }, ranked by score (highest first). hd=true means the 1080p render is ready; hd=false means the url is the standard render (HD still finishing, or the free plan). Empty until the first clip is ready.

ParameterTypeDescription
id *stringJob id from katto_create_clip_job.

katto_get_usage

Read-only. Your current plan and monthly video quota: { plan, videos_used, videos_limit, videos_remaining }. Call before katto_create_clip_job to confirm remaining quota.

katto_get_transcript

Read-only. The transcript of a completed job as timestamped segments [{ start, end, text }]. Returns 404 while the job is still processing.

ParameterTypeDescription
id *stringJob id from katto_create_clip_job.

katto_cancel_job

Cancel a still-running job (queued/processing) and refund the video back to your monthly quota. Safe to retry (idempotent). Returns an error if the job already finished, failed, or was cancelled.

ParameterTypeDescription
id *stringJob id from katto_create_clip_job.

katto_get_account

Read-only. The account behind this key: plan, this key's scopes (read/write), and monthly quota { videos_used, videos_limit, videos_remaining }.

katto_list_sources

Read-only. The link sources Katto can clip from (YouTube, Twitch, Kick, Vimeo, Zoom, Google Drive, Dropbox, Loom, LinkedIn, Facebook, Rumble, Dailymotion, Medal.tv, or a direct https link to a video file), each with an example URL. Use it to confirm a URL is supported before calling katto_create_clip_job; for a local file use katto_upload_video instead.

katto_list_clip_lengths

Read-only. The valid values for the optional config.clipLength on katto_create_clip_job (target clip-duration buckets). Note: clipLength is fixed at creation and cannot be changed by re-render.

katto_list_caption_styles

Read-only. The valid caption_style preset names for katto_rerender_clip (id + label), e.g. 'hormozi' for bold word-by-word highlight. Call this before re-rendering so you pass a real preset instead of guessing.

katto_rerender_clip

Re-render one already-finished clip with a new reframe layout and/or caption style (get valid caption_style values from katto_list_caption_styles). Free — does NOT use video quota. Each call starts a new render (not idempotent); the original clip is kept. Returns a rerender_id; poll katto_get_rerender for the new clip url.

ParameterTypeDescription
clip_index *number0-based index of the clip to re-render.
id *stringJob id from katto_create_clip_job.
caption_stylestringA caption style preset name. See katto_list_caption_styles for the labels.
layout_modestringForce a reframing layout instead of letting detection choose one. Omit for automatic, which is what produces the best result on most clips.

katto_dub_clip

Re-render one finished clip dubbed into one or more of 105 languages (ISO 639-1 codes such as en, es, fr, pt, hi, bn, ta, te, ur, ja, zh, ko, ar, sw; 86 of them in beta). Creator feature (requires an active subscription); does NOT use your monthly video quota. Each call starts a new render (not idempotent). Returns a rerender_id; poll katto_get_rerender for the result.

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
languages *arrayTarget languages for the dub, as ISO 639-1 codes. 105 are available, 86 of them in beta; the clip keeps its original audio for any language not listed here.

katto_get_rerender

Read-only. Poll a re-render started by katto_rerender_clip or katto_dub_clip. Returns { status, clip_url, captions_url, dub_urls } — dub_urls is { lang: url } and is where a DUB lands (clip_url stays the undubbed re-render), null otherwise — clip_url is null until status is 'completed'.

ParameterTypeDescription
id *stringJob id.
rerender_id *stringThe rerender_id returned by rerender/dub.

katto_get_brand_kit

Read-only. Your saved brand kits (colors, caption font and position, default layout, watermark url).

katto_get_webhook_secret

Read-only. Returns your webhook signing SECRET — treat it as a credential (do not display or log it) — plus how to verify Katto's signed completion callbacks (HMAC-SHA256 of {timestamp}.{body}). Pass webhook_url on a job to receive them.

katto_create_clip

Create a NEW clip from any time range of a completed job's source video, when the user wants a moment Katto did not pick. start_seconds/end_seconds are SOURCE-video seconds (take them from katto_get_transcript segments); the clip must last 3-180 s. Does NOT use video quota. Limits: at most 10 created clips per video, one clip in preparation at a time (409 'Another clip is being prepared' = wait and retry), and only within 7 days of the job (410 after that: the source is no longer kept). Captions come from the words Katto already timed; has_captions=false means that range had none and the clip…

ParameterTypeDescription
end_seconds *numberEnd of the clip, in seconds of the source video. The clip must last 3 to 180 seconds.
id *stringJob id of a completed job (from katto_create_clip_job).
start_seconds *numberStart of the clip, in seconds of the SOURCE video (read timestamps from katto_get_transcript).
aspectstringOutput aspect ratio. Omit to keep the job's setting (9:16 by default).
auto_reframebooleanfalse = plain center crop instead of following the speaker. Omit for automatic reframing.

katto_more_clips

Render more clips from a job's reserve: moments Katto scored but did not render, best first. Use when the user wants more clips from the same video. Does NOT use video quota. count is 1-10 (default 5), capped by what is left. Returns { status: 'queued'|'pending'|'empty', requested, remaining }: 'pending' means a request is already running (do not call again), 'empty' means the reserve is used up. New clips are appended to the job; poll katto_get_clips.

ParameterTypeDescription
id *stringJob id from katto_create_clip_job.
countnumberHow many extra clips to render (1-10, default 5). Capped by what is left in the reserve.

katto_upload_video

Step 1 of clipping a LOCAL file (when the user has a file, not a public link). Pass the exact filename, MIME type and size in bytes; the size is checked against the plan's upload limit and the monthly quota is checked (not yet spent). Returns { upload_id, upload_url, headers, expires_in, next_steps }. Then: (2) HTTP PUT the raw file bytes to upload_url with exactly the returned Content-Type header (e.g. curl -X PUT -H 'Content-Type: video/mp4' --upload-file ./file.mp4 '<upload_url>'), before expires_in seconds; (3) call katto_create_clip_job with upload_id: that verifies the file arrived, spen…

ParameterTypeDescription
content_type *stringMIME type of the file: mp4, mov (quicktime), webm or mkv (x-matroska).
filename *stringThe file's name, e.g. episode-12.mp4 (display only).
size *numberExact file size in bytes. Checked against your plan's upload limit before anything is reserved.

katto_translate_captions

Translate one finished clip's burned-in captions into one of 31 languages and re-render it with them; word timings are kept and the original clip is preserved. Only the captions change: for a translated VOICE use katto_dub_clip. Creator feature (requires an active Creator subscription; otherwise an error with code upgrade_required and a pricing link to give the user). Does NOT use video quota. Not idempotent: each call starts a new render. Returns a rerender_id; poll katto_get_rerender until status is 'completed' for the new clip_url.

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
language *stringTarget caption language, ISO 639-1.

katto_retitle_clip

Change a clip's title. Without 'title', Katto's AI writes a new scroll-stopping title in the clip's language (optional style: energetic, descriptive, fun, shocking); each AI regeneration uses one unit of the plan's monthly title-regeneration allowance (an error with 'limit' when it is used up). With 'title', that exact text is saved and nothing is spent. Synchronous: returns { title, clip_index, regenerated }. Does NOT use video quota.

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
stylestringTone of the AI-generated title. Ignored when title is given.
titlestringSave this exact title instead of generating one (max 200 characters). Costs nothing.

katto_publish_clip

Publish a finished clip to one of the user's connected social accounts (YouTube, TikTok, LinkedIn, Instagram, Bluesky, Mastodon, Threads), now or at schedule_at (future, at most 7 days ahead). Call katto_list_connected_accounts first to see which platforms are connected (and not in need of a reconnect); katto_generate_post_text can draft the caption. This posts PUBLICLY on the user's behalf and cannot be undone from Katto: before calling, show the user the clip, the platform, the caption (and TikTok privacy level) and get their explicit confirmation; never publish on your own initiative or ret…

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
platform *stringWhere to post. The account must already be connected in the Katto dashboard.
brand_contentbooleanTikTok only: the post is a paid partnership (labelled 'Paid partnership'; cannot be SELF_ONLY).
brand_organicbooleanTikTok only: the post promotes the user's own business (labelled 'Promotional content').
captionstringPost text. On YouTube it is used as the title and description unless title/description are given.
descriptionstringYouTube description. Defaults to the caption.
disable_commentbooleanTikTok only: turn comments off.
disable_duetbooleanTikTok only: turn duets off.
disable_stitchbooleanTikTok only: turn stitches off.
privacy_levelstringTikTok only, REQUIRED for TikTok: who can see the post. Must be chosen by the user, never assumed.
privacy_statusstringYouTube visibility (defaults to public).
schedule_atstringOptional ISO 8601 date-time to publish later instead of now (future, at most 7 days ahead). Scheduling is a Creator feature.
tagsarrayYouTube tags.
titlestringYouTube video title (max 100 characters). Defaults to the caption, then the clip's title.

katto_list_connected_accounts

Read-only. Which of the 7 publishable platforms (youtube, tiktok, linkedin, instagram, bluesky, mastodon, threads) the user has connected in the Katto dashboard: { connections: [{ platform, connected, display_name, reconnect_required, connected_at }], connect_url }. Call it BEFORE katto_publish_clip to pick a platform that will work: if the one the user wants shows connected=false or reconnect_required=true, ask them to (re)connect it at connect_url instead of attempting the publish. Never returns tokens.

katto_list_scheduled_posts

Read-only. The user's scheduled social posts (from katto_publish_clip with schedule_at, or the dashboard calendar), newest first: { scheduled_posts: [{ id, job_id, clip_index, platform, scheduled_at, status, title, error, posted_at, created_at }], next_cursor }. status: pending = waiting for its time, posting = being published, posted = done, failed = see error. Paginate with cursor = the previous next_cursor; optional status filter.

ParameterTypeDescription
cursorstringPass the previous response's next_cursor for the next page.
limitnumberHow many posts to return (1-100, default 20).
statusstringOptional filter: pending (waiting for its time), posting, posted, failed.

katto_cancel_scheduled_post

Cancel a scheduled post before it goes out: it is removed from the calendar and will not be published (same as deleting it in the dashboard calendar). Only pending or failed posts can be cancelled; one already posting or posted returns an error (a published post cannot be taken down from Katto). Confirm with the user which post (platform, clip, time) before cancelling. Safe to retry: a second call returns 'not found'. Returns { id, status: 'cancelled', previous_status }.

ParameterTypeDescription
scheduled_post_id *stringThe scheduled post id (scheduled_post_id from katto_publish_clip, or id from katto_list_scheduled_posts).

katto_generate_post_text

Write publish-ready post text for one clip with AI, tailored to each platform's tone and character limits, in the clip's language: { clip_index, posts: { [platform]: { title, description, hashtags } } }. title is only filled for YouTube (for the other platforms the caption is description, hashtags included). Omit platform to get all seven at once. Nothing is posted or saved and no video quota is used: show the text to the user, then pass it to katto_publish_clip (caption, or title/description for YouTube). Each call is a new AI generation (identical requests within an hour return the cached te…

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
platformstringPlatform to write for. Omit to get text for all seven.

katto_adjust_clip

Trim or extend one finished clip by moving its start and/or end, then re-render it. Offsets are in seconds, relative to the clip's ORIGINAL bounds (two calls do not add up): positive extends (start earlier / end later), negative trims. The result must last 3-180 s and stay inside the source video. Extending re-cuts from the source, which Katto keeps 7 days: after that only trimming works (410). Captions for an extended part come from words Katto already timed or the transcript sentence. Does NOT use video quota; the original clip is kept. Not idempotent: each call starts a new render. Returns…

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
end_offset_secondsnumberSeconds to move the END: positive ends later (extends), negative ends earlier (trims). Relative to the clip's original end.
start_offset_secondsnumberSeconds to move the START: positive starts earlier (extends), negative starts later (trims). Relative to the clip's original start.

katto_add_hook

Add a hook, big bold text over the first seconds that stops the scroll, to one finished clip and re-render it. Pass text to use your own (max 80 characters, 3-7 words reads best) or omit it and Katto's AI writes one from the clip in its language. position: top (default) or center; duration: 1-10 s (default 4). Styled like the editor's AI Hook (white, boxed, pop-in). Does NOT use video quota; the original clip is kept. Not idempotent: each call starts a new render, and a re-render starts from the original clip, so calling it again replaces the hook rather than stacking two. Returns { rerender_i…

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
durationnumberHow many seconds the hook stays on screen, 1-10 (default 4).
positionstringWhere the hook sits on the frame (default top).
textstringThe hook to display (max 80 characters; 3-7 words reads best). Omit to let Katto write one from the clip.

katto_rate_clip

Record the user's verdict on a clip: rating good or bad, with an optional reason in their words. Same signal as the thumbs up/down on the Katto results page; it is used to improve which moments Katto picks. Only rate when the user expressed an opinion, never on your own. Rating again records the new verdict (the latest one counts). Returns { ok, clip_index, rating }.

ParameterTypeDescription
clip_index *number0-based clip index.
id *stringJob id.
rating *stringThe user's verdict on the clip.
reasonstringOptional: why, in the user's words (max 2000 characters).