Skip to content

MCP tools

@recit/mcp registers 31 tools. This list is read from the server each time it changes, so it never drifts from what an agent sees. The server never calls a model and never generates an image: the host does, and drives these tools.

Run it with npx @recit/mcp in any MCP host; the setup is on docs.recit.dev.

ToolWhat it does
validate_filmValidate a film against the Récit motion schema.
list_blocksList the block types available to compose scenes from, with their prop names.
describe_blockThe exact props of one block — name, type, required, description — from the schema.
describe_ui_nodesThe ui-scene node vocabulary — containers, leaves, states, and rules.
describe_formatHow to write a story in a Récit format: its Markdown syntax and the JSON Schema of its typed JSON twin.
validate_storyValidate a Récit story that is not a motion film (deck, docs, roadmap, webtoon, calendar…): its schema and the rules of its format, each diagnostic with the line of its scene (Markdown) or its JSON pointer (twin, companion).
lookup_termRead-only: the short and long definition of a term of a glossary story (format: glossary), by its id or by a text that is its name or an alias.
search_directoryRead-only: the entries of a directory story (format: directory) that match a text and the filters given (category, tag, city, country).
list_themesList installed themes.
list_templatesList first-party templates.
list_iconsList the icon names an icon node may use (the allowlist).
theme_importTurn a brand into a full, valid theme.
propose_scenesPropose scene ops from an intent.
build_filmTurn a source into a validated film.
apply_opsApply scene ops to a film file on disk and write it back.
extractExtract a film from a file: rollup (vite/rollup bundle stats → real sizes) or handover (a lenient handover JSON → validated film).
renderRender a film file (.json film or .md story) to a local MP4, drawn in Chromium (Playwright) and encoded by the system ffmpeg.
describe_bible_schemaThe bible of a story world (kind: bible): entry types, trait keys per type, reference roles, character model closed lists, the scene attributes a story uses, and the JSON Schema.
validate_bibleValidate a bible with the rules of recit validate: pass exactly one of markdown (cast.md text), bible (the JSON object) or biblePath (.md or .json under the root).
build_bibleTurn a lenient handover into a validated bible (cast.md).
build_promptThe text of an image prompt, derived word for word from the bible by a deterministic template, with the reference images to attach and its fingerprint.
list_promptsThe image prompts of a bible, or of the bibles of a story with cast: (path under the root), each with its status: present (a registered image), stale (the prompt changed since) or missing (no image yet).
register_assetRegister an image generated outside Récit: writes <image>.json, its provenance (kind: asset), with the fingerprint of its prompt so a later change of the bible shows it as stale.
story_from_beatsThe Markdown skeleton of a story from a beat template of the bible: one scene per beat, empty, with the beat as notes.
check_continuityCheck the continuity of a story world with the rules of recit validate: debts paid before planted or left open, unknown episodes, dead characters on stage, webtoon pacing (bubbles per panel, words per bubble), and with stage the creative gates of the atelier.
render_characterRender a pose (or an animation frame at timeMs) of a described character from a bible or a *.character.json as standalone SVG text, so an agent can inspect what it wrote.
expand_animationExpand an animation of a described character into its frame-by-frame postures as JSON (frame, timeMs, active pose and expression, whether it is a key or between two keys, and posture), at the animation's fps.
build_frame_promptsBuild the frame-by-frame image prompts of an animated entry=prompt (animation=) from a bible as JSON, without writing any file.
expand_eventsThe occurrences of a Récit calendar (format: calendar) between two days, in a time zone: each event's start and end as ISO 8601 with the zone's offset (civil dates for an all-day event), recurrences, exceptions and changes of offset applied exactly as the build does.
book_outlineThe outline of a Récit book (format: book) from its entry book.md (or its JSON twin) under the root: each chapter with its id, number, file and the ids of its sections, the figures (id, number, caption), the notes, the index terms, and the errors of the book (broken , duplicate ids, missing images, each with its file and line).
describe_dataRead-only: one data source of a Récit story (the data: of a report, or of a deck that holds a chart): its columns with their inferred types (number, string, date), its row count and three rows, read exactly as the build reads them.