clipkit
v1.0.0MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_docs Read the Clipkit authoring docs
Return a canonical Clipkit doc as text. topic "card" = the ~8KB compact authoring card — the recommended context for authoring; "pattern-lighting" = the shine/neon/glow technique rigs; "pattern-data-viz" / "pattern-cinematic-ui" / "pattern-ui-screencast" / "pattern-promo-teaser" = ~4-5KB pattern cards (proven idioms: count-ups and bar rows; product hero shots with camera rigs; faked app UI with typing/cursor/clicks) — load ONE alongside the card when the brief matches its archetype; "agents" = the full authoring guide (fetch only when the card doesn't cover a need); "protocol" = the formal…
| Parameter | Type | Description |
|---|---|---|
topic | string | Which doc. Default "agents". |
get_schema Get the Clipkit JSON Schema (exact fields)
Return the authoritative JSON Schema for a Clipkit Source — exact field names, types, and enums, generated from the protocol. Call with no argument for the full Source schema, or with element_type (e.g. "text", "shape", "particles") for just that element's fields (much smaller). Use this when authoring with set_project / add_element so you never guess a field.
| Parameter | Type | Description |
|---|---|---|
element_type | string | Limit to one element type's fields (e.g. "text"). Omit for the full Source schema (large). |
create_project Create a new Clipkit project
Create a new, blank Clipkit project with the given dimensions and duration, and return its project_id. Defaults: 1920×1080, 10 seconds, 30 fps, output_format "mp4". Call this first when starting a new video. Pass an existing project_id to reset that project to blank; omit it to start a fresh project (note the returned id for subsequent tools).
| Parameter | Type | Description |
|---|---|---|
background_color | string | Hex color, e.g. "#000000". |
duration | number | Composition duration in seconds. Default 10. |
frame_rate | number | Frame rate. Default 30. |
height | integer | Composition height in pixels. Default 1080. |
output_dither | Anti-banding output dither — DEFAULT ON, leave unset. Pass false for byte-exact undithered output, or { amplitude, pattern } to tune. Stops gradients / soft shadows / blur from showing 8-bit banding… | |
output_format | string | Output container/codec. Default "mp4". |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
width | integer | Composition width in pixels. Default 1920. |
get_project Get the current Clipkit project JSON
Return the full current Clipkit source as JSON. Use this to inspect the project, pass it to a render pipeline, or compose follow-up edits.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
describe_project Describe the current project in plain language
Return a compact, human-readable summary of the current project — dimensions, fps, duration, an element breakdown by type, a per-track timeline (paint order low→high), and render-time warnings. Much cheaper to read than get_project's full JSON; use it to orient yourself or sanity-check structure without dumping the whole source.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
set_project Replace the entire Clipkit project
Replace the entire project with the given source JSON, returning its project_id. This is the PRIMARY way to build: use it to create a composition or to add/change many elements at once. (To tweak a single element in an existing project, use edit_element / add_element / delete_element instead.) REVISION RULE: if you are iterating on a video that already exists in this conversation — the user asked for changes, you are fixing your own work — you MUST pass its project_id so the project is updated in place and keeps one editor link and its version history. Omitting project_id creates a NEW, un…
| Parameter | Type | Description |
|---|---|---|
source * | object | A full Clipkit source object. |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
add_element Add an element to the current project
Append a single element to an existing project — a TWEAK, e.g. dropping in one more caption or shape. By default it is added at the top level; pass parent_id to add it INTO a group (nested). The element is any valid schema element: video, image, text, shape, audio, group, caption, or particles. To create a composition or add several elements at once, build the JSON and use set_project instead. The new element is validated as part of the project as a whole before being added. Call get_schema(element_type) for the exact per-type fields; unrecognized keys are flagged.
| Parameter | Type | Description |
|---|---|---|
element * | object | A Clipkit element object. Must include `type`. |
parent_id | string | Optional id of a group to add this element INTO (nested). Omit to add at the top level. |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
edit_element Tweak one existing element (merge changed fields)
Change fields on the element with the given id by merging in a partial element — only the keys you include change. The id may be any element ANYWHERE in the tree, including one nested inside a group (or its mask). Pass a whole nested value (e.g. a new `keyframe_animations` array) to replace that key; set a key to null to remove it. This is for TWEAKING an existing composition. To create a composition or change many elements at once, edit the JSON and call set_project instead. The result is re-validated before being accepted.
| Parameter | Type | Description |
|---|---|---|
id * | string | The id of the element to edit. |
patch * | object | Partial element: the fields to change. Omitted keys are left as-is; a key set to null is removed. |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
delete_element Delete one element by id
Delete the element with the given id, anywhere in the tree (including one nested inside a group or its mask) — a tweak to an existing composition. (The project must keep at least one top-level element.)
| Parameter | Type | Description |
|---|---|---|
id * | string | The id of the element to delete. |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
validate_project Validate the current project (schema + render-time warnings)
Run the @clipkit/protocol validator against the current project AND surface render-time warnings even when the JSON is valid — things that pass the schema but the runtime will silently drop or clip: emoji / non-ASCII text (the runtime font atlas is ASCII-only), elements that run past the composition end, a missing top-level duration. Run it before you share or render the project. For a fuller timeline read-back, use describe_project.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
preview_still Render one frame of the current project so you can SEE it
Render a single frame of the current project to a PNG and return it as an image you can look at. This is how you check your work — in chat there is no other way to see what a composition actually looks like. Use it liberally: after composing, after edits, and at different times to inspect motion. Stills are FREE (credits are only spent by render_video). Pass `time` (seconds) to choose the frame; defaults to 0.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
time | number | Composition time in seconds to capture. Default 0 (first frame). |
create_promo Compose a designed promo from prebuilt scenes (one fast option)
Assemble a designed-looking promo/intro/product/data video from the Clipkit pattern library: give an ordered list of SCENES and the words, and it bakes in the camera, glass, lighting, motion blur, timing, and layout, then returns an editor link. This is a FAST option when a conventional promo structure fits — it is NOT the only way to make a video and NOT a default; for anything specific or original, author the JSON yourself and call set_project (the full creative range). When you do use this, MIX scene types to fit the brief and vary the structure — a video can be a single kinetic headlin…
| Parameter | Type | Description |
|---|---|---|
scenes * | array | Ordered scenes; mix types to fit the brief — you do NOT need hero/cta. e.g. a single [{type:"kinetic",text:"…"}], a sequence [{type:"title",headline:"…"},{type:"showcase",screenshot:"…"},{type… |
height | integer | Default 1080. |
motion_blur | integer | Supersampled motion-blur samples (≥2 enables it — nicer but slower to render). Default off. |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
theme | string | Visual theme. Default "cinematic" (dark, serif, premium). |
width | integer | Default 1920. |
open_in_editor Create a shareable link that opens the current project in the editor
Validate the current project and create a link that opens it in the Clipkit web editor, where the user can preview and refine it. This shares the PROJECT (nothing is rendered — that's render_video). Use after composing or editing. Returns a URL.
| Parameter | Type | Description |
|---|---|---|
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
ingest_asset Host a remote image/video/audio so a project can use it
Fetch a remote media URL (image/video/audio) and HOST it on Clipkit, returning a stable asset_url to put in an element's `url`. Use this so the project's media survives — the original link may rot, be private, or block hotlinking. Anonymous projects allow up to 5 hosted assets / 100 MB total / 50 MB per file; when the limit is hit, tell the user to open the project (open_in_editor) and sign in to add more. Requires project_id.
| Parameter | Type | Description |
|---|---|---|
url * | string | A public http(s) URL to an image, video, or audio file. |
filename | string | Optional display name for the asset. |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |
load_project Load a shared project back into the session
Import a previously shared project as the current project, by its share id or its editor URL (e.g. https://clipkit.dev/editor?id=…), returning its project_id. Use this to continue working on a project the user opened in the editor or shared earlier — the round-trip for open_in_editor. Pass an existing project_id to load into that project; omit it to load into a new one.
| Parameter | Type | Description |
|---|---|---|
id_or_url * | string | A share id, or a clipkit.dev/editor?id=… URL. |
project_id | string | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool create… |