Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Parallel video rendering tools: detect GPU encoders, render, color grade, merge audio, concat.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"ffmpeg-render-pro": {
"command": "npx",
"args": [
"-y",
"ffmpeg-render-pro"
]
}
}
}在终端中运行这条命令
claude mcp add ffmpeg-render-pro -- npx -y ffmpeg-render-pro粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ffmpeg-render-pro": {
"command": "npx",
"args": [
"-y",
"ffmpeg-render-pro"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ffmpeg-render-pro": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ffmpeg-render-pro"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 beeswaxpat 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.5.2)于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、图片和脚本已被移除。链接会离开本站。
Render video from code, in parallel. You write one function that paints a frame; ffmpeg-render-pro splits the frame range across worker threads, encodes one MP4 segment per worker, joins the segments with stream copy (no re-encode), and shows a live dashboard in your browser while it runs. It also detects GPU encoders, grades color, merges audio, and ships as a CLI, a Node library, an MCP server for AI agents, and a Claude Code skill.
Built by Beeswax Pat. Free and open source.
Three commands. You need Node.js 18 or newer and ffmpeg on your PATH.
# 1. Prove the setup works: a 5 second test render. The dashboard opens in your browser.
npx ffmpeg-render-pro benchmark
npx ffmpeg-render-pro init my-worker.js
npx ffmpeg-render-pro render my-worker.js --duration=5
Open my-worker.js. The only function you need to change is renderFrame(frameNum, buffer): fill the buffer with your pixels (B, G, R, A, one row after another) and everything else is already done. Derive any randomness from the seed it receives and parallel output stays identical to a sequential render.
Install it globally if you would rather not type npx:
npm install -g ffmpeg-render-pro
FFMPEG_RENDER_PRO_FFMPEG=/opt/ffmpeg/bin/ffmpeg # ffmpeg binary
FFMPEG_RENDER_PRO_FFPROBE=/opt/ffmpeg/bin/ffprobe # optional; the sibling ffprobe is found automatically FFMPEG_RENDER_PRO_CACHE_DIR=~/.ffmpeg-render-pro # optional; where GPU probe results are cached
The variables are read at call time, so a long-running process such as the MCP server picks up changes without a restart.
ffmpeg-render-pro init [my-worker.js] # write the starter worker (--force overwrites)
ffmpeg-render-pro benchmark # 5 second test render with the bundled worker ffmpeg-render-pro render # render with your worker ffmpeg-render-pro info # cores, RAM, recommended workers, ffmpeg version, GPU ffmpeg-render-pro detect-gpu # probe hardware encoders (--cpu / --gpu force a mode) ffmpeg-render-pro version
Render and benchmark flags: --width=1920 --height=1080 (must be even), --fps=60, --duration=60 (fractions allowed), --output=out.mp4, --workers=N, --max-workers=8, --seed=42, --title="...", --crf=20 (0-51, lower is higher quality), --encoder-preset=fast (any x264 preset). Dashboard flags: --no-dashboard, --no-open, --port=8080, --linger-ms=30000 (0 exits as soon as the render finishes). Run ffmpeg-render-pro with no arguments for the full list.
An unknown flag warns and continues. A value that does not parse, such as --fps=abc, exits 1 instead of rendering at the default.
Installed binaries: ffmpeg-render-pro (this CLI) and ffmpeg-render-pro-mcp (the MCP server). The older ffmpeg-render-mcp name still works so existing MCP configs never break.
renderParallel checks ffmpeg, validates the resolution, and picks a worker count from your CPU cores and RAM (never more workers than frames).127.0.0.1 and opens your browser.workerData, pipes raw BGRA frames into its own ffmpeg process, and writes one MP4 segment.-c copy, which takes seconds regardless of length.A worker is a Node script that runs in a worker_threads thread. init gives you one where only renderFrame needs editing; examples/basic-worker.js in the installed package is a larger reference with a particle system and seeded RNG.
Fields the renderer injects through workerData:
| Field | Meaning |
|---|---|
width, height, fps | Frame size and rate |
seed | Derive every random value from this |
startFrame, endFrame | Render exactly [startFrame, endFrame) |
segmentPath | Write this worker's MP4 here |
workerId | Include it in every message you post |
totalFrames, duration | Whole-video totals, for global effects such as a progress bar |
anything in renderParallel({ workerData }) | Your own extra keys (the bundled workers honor codecArgs) |
Messages the worker posts with parentPort.postMessage:
| Message | When | Fields |
|---|---|---|
{ type: 'progress' } | periodically | workerId, pct, fps, frame, eta |
{ type: 'fast-forward-start' } | optional, before replaying state to reach startFrame | workerId, frames |
{ type: 'done' } | once, after the segment is fully written | workerId |
{ type: 'error' } | on failure, never followed by done | workerId, error |
Every worker must encode with the same codec, resolution, framerate, and pixel format, because the segments are stream-copied together.
const {
renderParallel, // the render engine createEncoder, // pipe raw frames into ffmpeg with backpressure detectGPU, // hardware encoder discovery, cached 7 days getConfig, // worker count and codec choice for a resolution computeTotalFrames, // float-safe fps x duration concatSegments, // stream-copy join (validates inputs by default) colorGrade, // presets or a custom -vf chain mergeAudio, // add a soundtrack without re-encoding video startDashboard, // the local progress server ProgressTracker, // per-worker progress plus dashboard JSON saveCheckpoint, loadCheckpoint, restoreCheckpoint, generateCheckpoints, getEncoderIO, // encoder recipe as { inputArgs, filter, outputArgs } getCodecArgs, // the same recipe as one flat array ffmpegBin, ffprobeBin // resolved binaries, env-var aware } = require('ffmpeg-render-pro');
const controller = new AbortController();
const result = await renderParallel({ workerScript: './my-worker.js', // required outputPath: './output.mp4', // required width: 1920, height: 1080, // even numbers, up to 7680x4320 fps: 60, duration: 60, seed: 42, title: 'My Render', // shown in the dashboard workerCount: undefined, // exact count; omit to auto-detect maxWorkers: 8, // cap for auto-detect dashboard: true, autoOpen: true, dashboardPort: 8080, dashboardLingerMs: 0, // 0 resolves as soon as the render ends (the CLI keeps it up 30s) quiet: false, // true keeps stdout byte-clean; status goes to stderr signal: controller.signal, // abort() stops workers and removes temp files workerData: {}, // extra keys for your worker }); // result: { outputPath, elapsed, totalFrames, avgFps }
Abort rejects with an error whose name is 'AbortError'. In library use set dashboardLingerMs: 0 so the call returns without holding the process open. Set FFMPEG_RENDER_PRO_DEBUG=1 for full stack traces from the CLI.
// Color grade with a preset (noir, warm, cool, cinematic, vintage) or a custom -vf chain
await colorGrade({ inputPath: 'raw.mp4', outputPath: 'graded.mp4', preset: 'cinematic' }); await colorGrade({ inputPath: 'raw.mp4', outputPath: 'graded.mp4', filter: 'eq=contrast=1.08:saturation=0.9', crf: 18 }); await colorGrade({ inputPath: 'final.mp4', outputPath: 'graded.mp4', preset: 'noir', keepAudio: true }); // default strips audio
// Merge audio: video is stream-copied, audio becomes AAC. loop and normalize (loudnorm) are optional. await mergeAudio({ videoPath: 'graded.mp4', audioPath: 'track.mp3', outputPath: 'final.mp4', bitrate: 320, loop: true, normalize: true });
// Join same-codec, same-size videos with stream copy. Inputs are probed with ffprobe first; pass { validate: false } to skip. await concatSegments(['part-000.mp4', 'part-001.mp4'], 'joined.mp4');
colorGrade accepts any encoder name in codec; encoders that need their own filter (VA-API) get it merged into the grade chain automatically.
For multi-hour renders, snapshot your simulation state every N frames once, so each worker replays only the frames since the nearest snapshot instead of starting from frame 0.
generateCheckpoints({ systems, totalFrames: 432000, fps: 60, checkpointDir: './.checkpoints', interval: 60000 });
// inside a worker const cp = loadCheckpoint('./.checkpoints', startFrame); if (cp) { const resumeFrame = restoreCheckpoint(cp, systems); // fast-forward from resumeFrame to startFrame, then render }
systems is an object of named modules with getState(), setState(), and update(dt). A checkpoint labeled frame F holds exactly F updates. _frame and _timestamp are reserved keys.
Seven tools over stdio, usable from Claude Code, Claude Desktop, or any MCP client.
# Claude Code, no install needed
claude mcp add --transport stdio ffmpeg-render-pro -- npx --yes --package=ffmpeg-render-pro ffmpeg-render-pro-mcp
claude mcp add --transport stdio ffmpeg-render-pro -- ffmpeg-render-pro-mcp
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "ffmpeg-render-pro": { "command": "npx", "args": ["--yes", "--package=ffmpeg-render-pro", "ffmpeg-render-pro-mcp"] } } }
| Tool | What it does |
|---|---|
get_worker_template | Returns the worker contract, the starter worker source, and paths to both bundled workers. Start here. |
render_video | Parallel render from a worker script, with progress notifications and cancellation |
detect_gpu | Probe hardware encoders (NVENC, VideoToolbox, AMF, VA-API, QSV) |
system_info | Cores, RAM, recommended worker count, ffmpeg version |
color_grade | Presets or a custom filter |
merge_audio | Add a soundtrack, video stream-copied |
concat_videos | Stream-copy join, inputs validated by default |
The agent recipe: call get_worker_template, copy starterSource to a file and replace renderFrame, then call render_video with that file as worker_script (dashboard: false, auto_open: false for headless runs). To render without writing code, pass the returned starterPath or templatePath straight to render_video. Post-process with color_grade, merge_audio, and concat_videos.
Every tool declares an outputSchema and returns structuredContent, so parse JSON instead of text. Writers overwrite output_path. render_video defaults to 30 fps (the CLI defaults to 60), emits notifications/progress every 2 seconds when the client sends a progressToken (turn on resetTimeoutOnProgress for long renders), and stops all workers on client cancellation. stdout carries only JSON-RPC frames. Missing ffmpeg returns an error that names the install page and the env var.
The tarball also ships llms.txt at the package root and a Claude Code skill:
`
只显示了开头部分;其余内容请在仓库中阅读