MCP tools

The genmotion MCP server gives Claude Code, Codex and Cursor tools to create projects, add scenes, check them, capture frames as images and render MP4.

npx genmotion mcp runs a Model Context Protocol server over stdio. It gives agents tools instead of more text to read. Projects made with init register it already; see Connect your agent to add it anywhere else.

Tools#

ToolWhat it does
project_overviewSize, fps, engine, every scene with its file, start frame and length, audio and assets. Agents call this first
create_projectCreate a project folder with a starter scene and agent files, optionally from a template
add_sceneCreate a scene file and register it in project.json
validate_sceneCompile one scene and check the determinism rules. Fast, no browser
check_projectThe full check: manifest, every scene compiled, and a headless render of each scene's first, middle and last frame
capture_framesRender frames and return them as images the agent can look at. Times like 1.5s, 45, 500ms, 60%
render_videoRender the video to a file, exports/<name>.mp4 by default
save_assetDownload a remote image, audio, video, font or 3D model into assets/ (up to 25 MB)
add_packageInstall a browser-safe npm package, with lifecycle scripts disabled
search_skillsFind the skill that owns this kind of video, from the user's own words
get_skillRead a skill and, when needed, one of its reference files
get_guideReference on demand: three (scene authoring), workflow, cli
list_templatesThe template catalog, for create_project

Every tool takes an optional dir when the server didn't start in the project folder.

How an agent uses them#

A typical session:

  1. project_overview to learn the project.
  2. search_skills and get_skill to pick how this video is made.
  3. add_scene for each scene, then edits the files.
  4. check_project and capture_frames after each change, and looks at the frames.
  5. render_video at the end, or when you ask.