Motion by Frapea
One sentence to a finished animation: your AI writes motion graphics as code and checks real frames.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (2)
- LOWin connect
- LOWin update_composition
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"motion": {
"url": "https://motion.frapea.com/mcp"
}
}
}Remote-Endpunkte
https://motion.frapea.com/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (20)
🔴close_composition(token, id)
Closes a composition and removes it from the user's tabs; its source is not kept. Meant for drafts made along the way. Needs an explicit id and never falls back to the active composition.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string",
"description": "The composition to close. Required."
}
},
"required": [
"token",
"id"
],
"additionalProperties": false
}⚪connect(code)
Pairs this agent with a Motion browser tab using the eight-character code the user sees under the Connect MCP button (for example K7M4-P2Q9). Returns a session token that every other tool takes. The code works once; the token is what stays valid.
Eingabe-Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The eight-character pairing code shown on the Motion page."
}
},
"required": [
"code"
],
"additionalProperties": false
}🟡create_session
Starts a Motion session when the user has no pairing code. Compositions can be created and edited at once; the returned link opens the session in a browser. Rendering frames, playback and anything touching media need that tab open (see wait_for_tab). The scene is kept for 24 hours after the last change.
Eingabe-Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢wait_for_tab
Waits until the user's Motion tab connects to the session, for example after they open the link from create_session. Returns as soon as it connects, or after about 25 seconds with tabConnected false. Tools that render or touch media need the tab.
Eingabe-Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢tell_user(token, text, kind, step, of)
Shows one short status sentence in the user's Motion tab while work is in progress, so they can tell progress from a stall. kind 'done' marks the job finished and 'problem' marks a blocker; step and of draw a progress bar. Changes nothing else. How it fits the workflow: read_skill {topic:'motion-workflow'}.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"text": {
"type": "string",
"description": "One friendly sentence, first person. Not a log line."
},
"kind": {
"type": "string",
"enum": [
"working",
"done",
"problem"
],
"description": "Omit while working. 'done' ends the job, 'problem' flags a blocker."
},
"step": {
"type": "number",
"description": "Which one you are on, e.g. 2."
},
"of": {
"type": "number",
"description": "How many there are in total, e.g. 5 — draws a progress bar. Send both or neither, and only when you genuinely know the total; a bar that goes backwards is worse than none."
}
},
"required": [
"token",
"text"
],
"additionalProperties": false
}🟢read_skill(topic)
Returns one of Motion's authoring guides as text. 'motion' is the API contract: what compiles, resolves and renders — compositions written without it usually fail. 'motion-craft' covers timing and design so results do not look generated; 'motion-text' typography; 'motion-effects' named looks; 'motion-transitions' sequencing scenes; 'motion-examples' two contrasting complete pieces; 'motion-workflow' working while the user watches and checking frames; 'motion-review' a structured critique for pieces with an audience and a purpose.
Eingabe-Schema
{
"type": "object",
"properties": {
"topic": {
"type": "string",
"enum": [
"motion",
"motion-craft",
"motion-text",
"motion-effects",
"motion-transitions",
"motion-examples",
"motion-workflow",
"motion-review"
]
}
},
"required": [
"topic"
],
"additionalProperties": false
}🟢list_media(token, path)
Lists the user's media library: folders, and files with id, name, kind, size and folder. `storage` says whether a file is 'linked' (still on their disk) or 'copied' (held by the browser); a linked file can need the user to re-grant access after a reload.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"path": {
"type": "string",
"description": "Folder to list. Omit for all."
}
},
"required": [
"token"
],
"additionalProperties": false
}🟡put_media(token, name, url, data, folder)
Adds a file to the library as a new item; nothing existing is replaced. With `url`, the user's browser fetches it, so only public https hosts that send CORS headers work. `data` takes base64 bytes and is limited to about 700 KB, for small generated assets. Larger files on the caller's disk can be sent as an HTTP POST of the raw bytes to /media/upload?token=TOKEN&name=NAME on this server's origin (up to 10 MB).
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"name": {
"type": "string",
"description": "Filename, including extension."
},
"url": {
"type": "string",
"description": "http(s) URL for the browser to fetch."
},
"data": {
"type": "string",
"description": "Base64 bytes, for small assets."
},
"folder": {
"type": "string",
"description": "Folder to put it in. Omit for the root."
}
},
"required": [
"token",
"name"
],
"additionalProperties": false
}🟢get_media(token, id)
Returns the raw bytes of one file, base64, capped at about 600 KB. For larger files and for video, inspect_media describes the content at a fraction of the size.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string"
}
},
"required": [
"token",
"id"
],
"additionalProperties": false
}🟢inspect_media(token, id, atSec)
Looks inside an image or video and returns one contact sheet: each requested moment as a labelled cell in a single image. atSec takes up to 12 timestamps in seconds; omitted, the moments are spread evenly over the clip.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string"
},
"atSec": {
"type": "array",
"items": {
"type": "number"
},
"description": "Up to 12 timestamps."
}
},
"required": [
"token",
"id"
],
"additionalProperties": false
}🔴organize_media(token, action, ids, toFolder, name, ...)
Moves files and manages folders. action: 'move' (ids + toFolder), 'createFolder' (name + optional parent), 'deleteFolder' (folder; the files inside move up one level, nothing is deleted). Deleting files is delete_media.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"action": {
"type": "string",
"enum": [
"move",
"createFolder",
"deleteFolder"
]
},
"ids": {
"type": "array",
"items": {
"type": "string"
}
},
"toFolder": {
"type": "string"
},
"name": {
"type": "string"
},
"parent": {
"type": "string"
},
"folder": {
"type": "string"
}
},
"required": [
"token",
"action"
],
"additionalProperties": false
}🔴delete_media(token, ids)
Deletes files from the user's media library by id. A copied file is gone from the browser; a linked file stays on the user's disk and only leaves the library. Compositions that use a deleted file report it as missing footage.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"ids": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "The files to delete."
}
},
"required": [
"token",
"ids"
],
"additionalProperties": false
}🟢list_compositions(token)
Lists the compositions open in the session, and which one is on screen.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
}
},
"required": [
"token"
],
"additionalProperties": false
}🟢get_composition(token, id)
Returns one composition in full: manifest, every source file, and current prop values — the state an update_composition edit applies to.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string",
"description": "Omit for the active one."
}
},
"required": [
"token"
],
"additionalProperties": false
}🟡create_composition(token, name, width, height, fps, ...)
Creates a new composition from TSX source and opens it as a tab in the user's Motion page. `files` maps path to source and must include the entry (default composition.tsx). The API is specific to Motion and documented in read_skill {topic:'motion'}; design guidance is in {topic:'motion-craft'}. A partsBoard prop (default false) can lay out UI-like parts for checking before scenes are built.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"name": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"fps": {
"type": "number"
},
"durationInFrames": {
"type": "number"
},
"entry": {
"type": "string",
"description": "Defaults to composition.tsx."
},
"files": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"schema": {
"type": "object",
"description": "Props schema; drives the editable controls."
}
},
"required": [
"token",
"name",
"width",
"height",
"fps",
"durationInFrames",
"files"
],
"additionalProperties": false
}🔴update_composition(token, id, name, width, height, ...)
Edits an existing composition. Each file sent replaces the file at that path; files not sent are kept. Changing the schema keeps prop values that still have a matching field.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string",
"description": "Omit for the active one."
},
"name": {
"type": "string"
},
"width": {
"type": "number"
},
"height": {
"type": "number"
},
"fps": {
"type": "number"
},
"durationInFrames": {
"type": "number"
},
"files": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"schema": {
"type": "object"
}
},
"required": [
"token"
],
"additionalProperties": false
}🔴set_props(token, id, props)
Sets prop values on a composition, the same values the user's controls change. Merged by key; keys sent replace their current values.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string"
},
"props": {
"type": "object"
}
},
"required": [
"token",
"props"
],
"additionalProperties": false
}🟢inspect_composition(token, id, atFrames, props)
Renders frames of a composition in the user's tab and returns them as one labelled contact sheet; nothing is saved or changed. atFrames takes up to 12 frames; omitted, the sheet is an even spread plus the joins between scenes (labelled "end of a scene", "start of a scene", "mid transition"). One frame comes back at 1560 px, two at 960, for checking detail. `props` are merged over the composition's for this render only, e.g. {partsBoard:true}. Each frame reports its content share (how much is not background); one far below its neighbours is usually a gap between scenes.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string",
"description": "Omit for the active one."
},
"atFrames": {
"type": "array",
"items": {
"type": "number"
}
},
"props": {
"type": "object",
"description": "Merged over the composition's props for this render only, e.g. {partsBoard:true}."
}
},
"required": [
"token"
],
"additionalProperties": false
}🟢check_playback(token, id)
Plays a composition on the user's stage from the first frame to the last, through the same preview a person watches (which inspect_composition does not use), and reports whether it got to the end. Buffering is allowed; any error ends the run. Answers within about 20 s: {status:"running", at, total} means call again with the same id to keep waiting on the same run. Then {status:"done", verdict:"ok"|"problems", problems, warnings} or {status:"incomplete", reason} (tab hidden, interrupted, edited). It takes over the stage while it runs: the composition under test becomes the one on screen and the preview plays from frame 0. The composition's source and props are not changed.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string",
"description": "Omit for the active one."
}
},
"required": [
"token"
],
"additionalProperties": false
}🟢get_problems(token, id, includeWarnings)
Lists what went wrong in the user's tab: frames that failed to render (with the frame and the engine's message), a preview that stopped moving and why, compositions that would not load, clips that will not decode, missing footage, failed exports, a page the browser killed — plus warnings. Works while the tab is hidden or closed. `current` belongs to the composition as it is now; `earlier` counts problems an edit has since left behind. Other tool results may also carry a `problems` list of what is new. An empty list covers only what the tab has played; check_playback does a full pass.
Eingabe-Schema
{
"type": "object",
"properties": {
"token": {
"type": "string",
"description": "The session token that connect returned."
},
"id": {
"type": "string",
"description": "Only this composition. Omit for all of them."
},
"includeWarnings": {
"type": "boolean",
"description": "Include warnings (default true)."
}
},
"required": [
"token"
],
"additionalProperties": false
}Community
Nachweis