cave-motion
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@cave-motion Find a motion recipe for our SaaS launch and prepare a 12s 16:9 prompt"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DarkKnight Cave Motion Library
Search motion recipes and prepare a prompt for your coding agent. The initial catalog has 50 original DKC recipes, one approved MIT adaptation, 12 browser-checked reference builds, and five links to external source repositories. It covers interface motion, product films, explainers, and procedural scenes.
The server returns instructions and requirements. Your coding agent implements the result in your project. It does not call a model API or render video.
Connect over HTTP
Live endpoint: https://cave-motion.darkknightcave.workers.dev/mcp
claude mcp add --transport http cave-motion https://cave-motion.darkknightcave.workers.dev/mcpFor Codex, configure url = "https://cave-motion.darkknightcave.workers.dev/mcp"
inside [mcp_servers.cave_motion]. For Cursor, use
{"mcpServers":{"cave-motion":{"url":"https://cave-motion.darkknightcave.workers.dev/mcp"}}}.
No local process or account is needed for hosted access.
Related MCP server: motionprompts
Run locally
Node.js 22 or newer:
git clone https://github.com/DKC-Engineering/motion-library.git
cd motion-library
npm ci
npm run build
npm startnpm start waits for MCP messages on standard input. Startup is silent because
stdout is reserved for the protocol. No API key or network access is required
after installation. The packaged server carries a fixed catalog snapshot.
In Claude Code, from this directory:
claude mcp add cave-motion -- node "$PWD/dist/src/stdio.js"For Codex, add the absolute path to its config.toml:
[mcp_servers.cave_motion]
command = "node"
args = ["/absolute/path/to/motion-library/dist/src/stdio.js"]For Cursor, use project .cursor/mcp.json or your user MCP settings:
{
"mcpServers": {
"cave-motion": {
"command": "node",
"args": ["/absolute/path/to/motion-library/dist/src/stdio.js"]
}
}
}Setup references: Claude Code, OpenAI, Cursor. These configuration formats follow the vendors' documentation. Protocol checks do not establish that a native editor installation was tested; see verification.
Two calls
search_motion({"query":"SaaS product launch"})
prepare_motion({"id":"feature-launch","brief":"Show our scheduling product using the three screenshots I supplied.","customization":{"accent":"#35745e","duration":12,"aspectRatio":"16:9"}})Exact IDs can go straight to prepare_motion. get_motion returns the full
recipe, requirements, attribution, version, and verification status. Search
accepts category, stack, verifiedOnly, includeReferences, and a limit from one
to ten (default five). Categories: ui, film, explainer, 3d. Stacks: css, svg,
canvas, threejs. Unknown IDs and unsupported customization return clear errors.
Preparation is deterministic and only supports accent, duration, and aspectRatio.
The use-motion prompt accepts id and brief. Resources:
motion://catalogmotion://recipes/{id}motion://originals/{id}for separately cleared imported originals, if any.
Source-only references are opt-in search results. They cannot be prepared and include no copied prompt or media. First-party original recipes are not presented as the original creator prompts from those collections.
Gallery and deployment
The separate DarkKnight Cave Next.js site consumes a pinned package version
for its gallery at /labs/motion-library. Its build copies the package's demo assets and posters;
iframes only load after interaction. Prompt preparation runs in the browser.
An optional project brief explicitly submits contact details and recipe ID
through the existing contact endpoint.
The public endpoint is https://cave-motion.darkknightcave.workers.dev/mcp.
The branded motion.darkknightcave.co domain still needs separate DNS/hosting
configuration. The npm package and
MCP Registry listing remain unpublished. See deployment.
Reference previews are served alongside the Worker as static assets.
The optional skill is in skills/motion-library/SKILL.md. Copy that folder to
your agent's skill location if you want workflow guidance in addition to tools.
Verify
npm test
npx playwright install chromium
npm run verify:demos
npm run devWith the local Worker running, use another terminal:
npm run test:httpThe HTTP check deliberately reaches the local rate limit. Wait for the 60-second window to reset before repeating it. The optional gallery integration check accepts a website export explicitly:
npm run verify:site -- --site-out /absolute/path/to/darkknight/outBrowser checks can use an
existing Chromium with -- --browser-executable /absolute/path/to/browser.
Use node scripts/test-http.mjs URL --smoke against production to omit the
deliberate burst. Cloudflare's limits are approximate and apply per location;
see verification for the observed results.
See repository layout for the website package boundary and release workflow. Cloudflare hosting is independent of the Git checkout location; moving this repository does not change the live MCP URL.
Catalog maintenance and licensing
Read CONTRIBUTING.md for source discovery, entry-level rights, approval records, and reproducibility. Discovery reports never publish entries.
New code: MIT. Original DKC recipe text: CC BY 4.0. Imported content retains its own license and notices. See NOTICE. For corrections or removal, email hello@darkknightcave.co with the recipe ID, source link, and the affected material. Prior downloads may persist.
Available Tools
3 toolsget_motionBRead-onlyIdempotent
Read a recipe prompt, dependencies, customization parameters, verification, source, and license. Source-only references return a link and no prompt.
Inputs: id (required).
prepare_motionARead-onlyIdempotent
Prepare a motion prompt for the user coding agent using a recipe ID and project brief. Deterministic text preparation; does not render, call an LLM, or spend money.
Inputs: id (required), brief (required), customization.
search_motionARead-onlyIdempotent
Find motion recipes by effect, use case, category, or stack. Returns compact matches; select an ID and call prepare_motion. No generation or network fetches.
Inputs: limit, query, stack, category, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct stage: search finds recipes, get reads recipe details, and prepare builds a prompt. Their descriptions explicitly clarify boundaries and handoffs.
All three tools follow the same verb_motion pattern: search_motion, get_motion, prepare_motion. The shared noun and consistent verb-first style make the set predictable.
Three tools are well-scoped for a focused recipe-discovery-and-preparation workflow. Each tool has a clear role in the sequence, with no unnecessary surface area.
The surface covers the full expected lifecycle: discover recipes, inspect recipe details including dependencies and licensing, then prepare a motion prompt. No obvious dead ends for the stated purpose.
Maintenance
Related MCP Connectors
Search attributed motion recipes and prepare prompts for your coding agent. No API key required.
Free, open source library of AI video prompts that really worked, each next to the video it produced and credited to its creator. Describe a video in plain words, in any language: your AI finds the prompts that fit by meaning, shows you the videos and can adapt the best one to your idea. Read only, with no account and no key.
Video how-to search for AI agents: 2,000+ video skills, tutorials and FFmpeg recipes. No key.
One sentence to a finished animation: your AI writes motion graphics as code and checks real frames.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with comprehensive access to Motion.dev animation library documentation and code generation tools. Enables LLMs to generate Motion animations for React, JavaScript, and Vue with proper documentation backing and framework conversion capabilities.14MIT
- FlicenseAqualityCmaintenanceMCP server over a catalog of production-grade GSAP and WebGL motion components. Your agent can plan a page's sections, pick a mechanic for each one, get composition rules so animations don't fight each other, and fetch build prompts validated against live demos. Hosted at motionprompts.dev/mcp or local with npx motionprompts-mcp.1453 npm-
- AlicenseNot gradedqualityCmaintenanceEnables searching, inspecting, auditing, and composing AI video prompts using 150 verified prompts that were each rendered into real Seedance 2 videos.55 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables AI coding agents to search and fetch tested, version-pinned, multi-library code recipes complete with files, setup and test commands, and receipts proving they currently pass. Recipes are re-tested on upstream releases, so agents only receive implementations that are up to date and verified.1MIT