Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Compose and render video from one JSON template. Deterministic, runs locally, no generative model.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
LECLAP_MCP_OUTPUT_DIR, LECLAP_MCP_MEDIA_DIR, LECLAP_MCP_RENDER_TIMEOUT_MS, LECLAP_MCP_ALLOW_REMOTION, LECLAP_MCP_REMOTION_ENTRY你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"video": {
"command": "npx",
"args": [
"-y",
"@leclap/mcp"
],
"env": {
"LECLAP_MCP_OUTPUT_DIR": "your-value",
"LECLAP_MCP_MEDIA_DIR": "your-value",
"LECLAP_MCP_RENDER_TIMEOUT_MS": "your-value",
"LECLAP_MCP_ALLOW_REMOTION": "your-value",
"LECLAP_MCP_REMOTION_ENTRY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add video --env LECLAP_MCP_OUTPUT_DIR=your-value --env LECLAP_MCP_MEDIA_DIR=your-value --env LECLAP_MCP_RENDER_TIMEOUT_MS=your-value --env LECLAP_MCP_ALLOW_REMOTION=your-value --env LECLAP_MCP_REMOTION_ENTRY=your-value -- npx -y @leclap/mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"video": {
"command": "npx",
"args": [
"-y",
"@leclap/mcp"
],
"env": {
"LECLAP_MCP_OUTPUT_DIR": "your-value",
"LECLAP_MCP_MEDIA_DIR": "your-value",
"LECLAP_MCP_RENDER_TIMEOUT_MS": "your-value",
"LECLAP_MCP_ALLOW_REMOTION": "your-value",
"LECLAP_MCP_REMOTION_ENTRY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"video": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@leclap/mcp"
],
"env": {
"LECLAP_MCP_OUTPUT_DIR": "your-value",
"LECLAP_MCP_MEDIA_DIR": "your-value",
"LECLAP_MCP_RENDER_TIMEOUT_MS": "your-value",
"LECLAP_MCP_ALLOW_REMOTION": "your-value",
"LECLAP_MCP_REMOTION_ENTRY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
LECLAP_MCP_OUTPUT_DIR envLECLAP_MCP_MEDIA_DIR envLECLAP_MCP_RENDER_TIMEOUT_MS envLECLAP_MCP_ALLOW_REMOTION envLECLAP_MCP_REMOTION_ENTRY env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过域名 leclap.dev 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.4)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Let any LLM watch a video locally — and search everything it has ever watched.
The Figma MCP server brings Figma design context directly into your AI workflow.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Connect your AI agent to LeClap’s video engine. Discover samples, author a template, validate it, inspect real frames, revise and render. Start with the agent guide.
An MCP server that exposes the ffmpeg-video-composer engine as agent-callable video tools.
An AI agent (Claude Desktop, Cursor, …) is the LLM; this server helps it author a customized template with nice effects from the schema, then validates and renders it deterministically to an mp4. The server includes the 50 showcase samples through the shared packaged catalog, with creative direction, descriptors and required inputs. It works without the app or private creative-kit at runtime. Remotion-assisted authoring is an optional path. The result is _agent-composable, deterministic, reproducible_ video — the opposite of generative video models, which sample rather than render.
| Tool | Description |
|---|---|
get_samples | Without id: sample metadata and required inputs, filtered by category/backend/query → { samples }; with id: that sample with its self-contained template JSON |
get_template_schema | The JSON Schema for a template descriptor + a short authoring guide |
get_motion_catalog | Motion presets, camera, graphics, transitions, easing/time grammar, themes, platforms, genre doctrine and scene blueprints; { query, kind? } → ranked matches (a query matching nothing is logged to the catalog gap log) |
validate_template | Dry-run an inline descriptor (no render) → { valid, sectionCount, orientation, requiredClips, formFields, fields?, geometry?, featureWarnings? }; include: ["resolved"] adds resolved (the descriptor for fields/format), include: ["timeline"] adds timeline (sections, motion events, beats, cues) |
compose_video | Validate an inline descriptor and render (one format of it, optionally) → { outputPath, durationSeconds, sizeBytes, videoCodec, audioCodec, renderId }, plus a resource_link to the mp4 |
render_frames | Render a native template and return still frames as PNG images + paths: at, atTransitions, perSection, sheet, safe, zoom, variants, looks |
edit_template | JSON Patch operations and/or registered effectProps by section name over inline JSON, under expectedRevision, all-or-nothing → { template, revision, changedPaths, changedSections? } |
probe_media | Inspect a local media file → codecs, duration, sample rate, size, and HDR / colour / bit depth / VFR / rotation traits |
extract_style | Reference image/clip under the media dir → { theme, styleGuide, confidence }: palette roles + WCAG contrast, grain, pacing (palette and pacing only) |
extract_structure | A reference clip's format (shots, rhythm, transitions, grounds, layout) as binding rules for a template. Format only; samples every 0.25 s for up to 2 minutes. |
extract_brand | A website's brand kit (name, colours, fonts, logo) as a theme and binding rules, saved under /brand-kits/ /. Needs --allow-network. |
analyze_music | Measure a local music file → { bpm, offset, beatsPerBar, confidence, usable, cues, globalBeats } for global.beats and cue:drop |
analyze_sound | Render an sfx[].sound (composed, or a preset with variations) → length, peak/RMS dBFS, centroid, high/low energy shares, attack, advisories + spectrogram and waveform PNGs |
transcribe_media | Transcribe a local audio/video file's speech with whisper.cpp, locally → { words, srt, language, confidence, advice } to pin into subtitles.words |
get_capabilities | Local FFmpeg capability report (listings + one-frame probes) → each feature yes/no/unknown with a fix |
open_in_builder | Template → a leclap.dev/studio/builder#t=… link for a person to edit it; the template rides in the URL fragment (never sent to a server) → { url, length, mediaToRebind, warnings } |
render_remotion_clip | _(bonus, opt-in)_ Render a composition from your own Remotion project → an mp4 clip for a project_video section |
analyze_sound seeds a sound's noise and jitter with seed (default 0). To hear the exact render a template will play, pass the template's global.seed as seed and the cue's path as cue: "sections.intro.sfx[0]" for the first cue of the section named intro, "global.sfx[2]" for the third global cue. The tool then seeds the sound as the mix seeds that cue and returns the seed it used. Levels are floored at -120 dBFS, so a silent sound reads -120 and raises sound_silent.
Typical agent flow: get_samples → get_samples { id } → inspect requirements and customize media/copy → get_template_schema → validate_template (iterate until valid) → render_frames (look at the result; check safe zones with safe) → compose_video → read the returned outputPath. Author a fresh descriptor from the schema when no sample fits.
render_frames renders through a per-section cache under /.section-cache, so a second look after a small edit re-encodes only the sections that changed. It runs in the render worker under the same media-dir checks, slot cap, timeout and cancellation as compose_video, writes PNGs to /frames- /, and inlines at most eight images (the sheets when sheet is set). Moments are seconds or time references on the whole video: "intro.end" (a section or an element id), "50%", "beat:8", "cue:drop + 0.1". validate_template with include: ["timeline"] lists the moments worth picking.
validate_template also reports, render-free, text that would run off the frame or out of title-safe, collide with other text, sit under a band, be too small, lack contrast, or sit over footage with no box, outline or shadow. Those findings arrive on the optional geometry field — one line each, saying what to change, and the field is absent entirely when there is nothing to fix. They are advisory: valid stays true. A line ending (approx: …) says why it is an estimate: the font could not be read, the text carries a {{ variable }} that only resolves at render time, or a section declares no duration. When a font is not bundled, the server fetches it from the LeClap asset catalog (5s timeout); offline, it estimates.
Pass render: true to validate_template to also render the sections that hold text and measure their contrast from real pixels — it settles text over images, grades and looks that the render-free check can only call unknown. It costs seconds (two renders of those sections), goes through the same media-dir sandbox as compose_video, reads assets from the media dir, and runs in the same forked render worker under the same timeout. It adds a render field (measured, seconds, and unavailable when it could not render — no FFmpeg with drawtext, a failed render, or a timeout); the render-free findings come back either way.
get_samples is always available, even with Remotion disabled. It reads packaged data only: no media downloads, effect execution or repository access. Without id it lists, filtered by optional category (templates, typography, effects, app-demos, overlays, evidence), backend (native, remotion) and case-insensitive query (up to 4000 characters). With id (1–200 characters) it returns that sample.
{ "name": "get_samples", "arguments": { "category": "app-demos", "backend": "native" } }
{ "name": "get_samples", "arguments": { "id": "web-app-promo" } }
Results include identical JSON in text and structuredContent; with id, the descriptor sits at template alongside its metadata. Unknown IDs return isError with a discovery hint. Required inputs include named clips and durations/capture hints, form fields and limits, variables/defaults/placeholders, assets, effective preset font files (source: "preset") and versioned effects. Replace the sample copy, supply clips by userVideoPaths and form values by fields, customize global.variables, then pass template to validate_template and compose_video. Referenced partials are embedded in the descriptor.
The 25 native samples use FFmpeg; the 10 registered effect samples require --allow-remotion, Remotion peers and a trusted --remotion-entry. Effects with customCatalog: true also require the operator's --effect-catalog and the matching composition in that entry. Sample discovery does not enable execution, install a catalog or supply React source. Inspect requirements.setup and, after operator setup, get_effect_schema before editing effect props. See operator catalogs.
Pr
只显示了开头部分;其余内容请在仓库中阅读