LottieFiles MCP

Build, preview and export Lottie animations with the LottieFiles Creator API, generate or import media, and save files to your LottieFiles workspace through LottieFiles' hosted Creator MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Creator generate media

    Generate an image (PNG), an SVG (kind vector), music or speech into the document's media library as media/<name>. It does not change the scene: the result shows the exact creator_exec code that uses the file. image: prompt describes the picture; transparent:true for a subject placed over the scene. vector: prompt draws a flat icon and traces it to SVG, or inputs:["media/<x>.png"] traces an image. music: prompt is mood, genre and instruments; text is lyrics; durationS 5–180. speech: text is the exact words, style the delivery, voice a provider voice. Each call is billed. A result not ready within the server's wait comes back as {status:"generating"}: call creator_download_file(file), which waits for it, until it is ready; do not generate it again. A taken name fails unless replace:true. With replace, the new file overwrites the existing media file of the same name.

  • Creator import media

    Add a local PNG, SVG, Lottie, .lottie, .riv, audio or font file to the document as media/<name>, without base64. source "upload" returns a URL: PUT the bytes there within 15 minutes, with no credentials. Scripts pass {file: "media/<name>"} to createImageAsset, loadBytes, createAudioAsset or loadFont. The upload URL accepts bytes without credentials: treat it as a secret, use it only for this upload and do not log or share it. With replace, the import overwrites the existing media file of the same name.

  • Creator load from workspace

    Load a LottieFiles workspace file into the document by fileId. mode "replace" discards the document (content, files, output files) and commits the file as its next revision, with no confirmation; mode "add" adds its compositions beside the existing ones. Edit the result with creator_exec; creator_save_to_workspace with the same fileId saves a new version. Files created inside Creator return unsupported_file; also file_not_found, file_too_large, workspace_download_failed (retry).

  • Creator open in creator

    Save the focused composition to the caller's LottieFiles workspace and give the user the returned creatorUrl, which opens it in LottieFiles Creator. The first call on a document creates the file; every later call writes a new version of that same file, so creatorUrl and fileId stay the same (rebound: true when the file was gone and a new one was made). Errors: empty_document, no_focused_composition (creator.focusOn first), payload_too_large.

  • Creator save to workspace

    Save to the caller's LottieFiles workspace; give the user the returned creatorUrl, which opens the file in LottieFiles Creator. Default: exports the focused composition as a dotLottie; `file` uploads a ready Lottie JSON output file instead. `fileId` saves a new version of that file; omit it for a new file in Drafts. Errors: empty_document, no_focused_composition (creator.focusOn first), unsupported_file, not_found, expired, file_not_found, payload_too_large.