Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
MCP server that turns AI into an SVG artist. One rendering engine, AI decides everything.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"nakkas": {
"command": "npx",
"args": [
"-y",
"nakkas"
]
}
}
}在终端中运行这条命令
claude mcp add nakkas -- npx -y nakkas粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"nakkas": {
"command": "npx",
"args": [
"-y",
"nakkas"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"nakkas": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nakkas"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 arikusi 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.5.0)于4个月前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
MCP server that turns AI into an SVG artist.
One rendering engine. AI decides everything.
Officially listed on the MCP Registry , Glama , LobeHub , and PulseMCP .
Both drawn by an AI through nakkas, one JSON config each, iterated against its own PNG previews. Pure CSS animation, no JavaScript.
Nakkas is an MCP (Model Context Protocol) server that lets AI assistants like Claude create animated SVG graphics from a declarative JSON config: logos, icons, loading spinners, GitHub README banners, badges, and generative art. It renders CSS @keyframes and SMIL animations with no JavaScript, so the output works inside GitHub READMEs and anywhere an tag renders SVG. Every render comes back as a PNG preview plus a server-side artifact id, so the AI sees its own work immediately and iterates without the SVG text ever passing through its context window.
*nakkaş* means painter/artist in Turkish (old).
"make a neon terminal logo with animated binary digits"
→ AI constructs JSON config → nakkas renders to animated SVG → AI previews the PNG, critiques, revises → clean animated SVG output
render_svg takes a JSON config. AI fills in everything.Add to your config file:
~/Library/Application Support/Claude/claude_desktop_config.json~/.config/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": { "nakkas": { "command": "npx", "args": ["-y", "nakkas@latest"] } } }
claude mcp add nakkas npx nakkas@latest
{
"mcpServers": { "nakkas": { "command": "npx", "args": ["-y", "nakkas@latest"] } } }
git clone https://github.com/arikusi/nakkas
cd nakkas npm install && npm run build
Ask your AI (with Nakkas connected):
"Make an animated SVG: dark terminal frame (800×200), glowing cyan text 'NAKKAS', neon glow filter, fade-in on load."
"Create a loading spinner: a circle with a draw-on stroke animation that loops every 1.5 seconds."
"Data visualization: animated bar chart, 5 bars, each fading in with a staggered delay, gradient fills."
"Profile badge (400×120): blue-to-purple gradient, white username text, drop shadow, subtle pulse animation."
Nakkas provides three tools:
| Tool | Purpose |
|---|---|
render_svg | Takes SVGConfig JSON, returns a PNG preview + artifact id (+ design analysis warnings) |
preview | Re-renders a stored artifact (or raw SVG) to PNG at any width |
save | Saves a stored artifact (or raw content) to disk as SVG (text) or PNG (raster) |
The intended workflow: render → look at the returned preview → revise the config → render again → save. The rendered SVG stays on the server as an artifact: render_svg answers with the preview image and an id like art-1, and preview/save accept that id directly. The SVG text never has to travel back through the model's context window, which cuts the token cost of an iteration loop to a fraction of pasting SVG around. Artifacts live for the server process lifetime (capped at 32, oldest evicted).
save Tool{ "artifact": "art-1", "outputPath": "./design.svg", "format": "auto" }
Pass either artifact (id from render_svg, preferred) or content (raw string). Formats: auto (infers from extension), svg (text file), png (renders to raster first). If the file exists, a numeric counter is appended to prevent overwriting. The actual saved path is returned.
render_svg ToolInput: SVGConfig JSON object Output: PNG preview image + a summary naming the artifact id, plus optional design analysis notes
The response shape is controlled by an optional output block in the config:
{ "output": { "svg": false, "preview": true, "previewWidth": 800, "minify": false } }
svg: true includes the full SVG text in the response (off by default; the artifact id covers preview and save)preview: false skips the PNG imagepreviewWidth scales the previewminify: true collapses whitespace in the stored and saved SVGframes: N (2 to 10) replaces the static preview with one filmstrip image sampling the CSS animations at N points in time — the way to verify motion, since a single preview only shows the starting stateWith frames, nakkas evaluates the @keyframes math itself (duration, delay, iteration count, direction, fill mode, easing per segment) and bakes each sampled state into a static frame. Transform origins declared as transform-box: fill-box are resolved numerically from the element's geometry. SMIL animations are not sampled.
After rendering, the response may include design warnings about common issues such as too many concurrent animations, missing transformBox, group-level scale transforms, content extending past the viewport (measured from the real rendered bounding box, with the overflow in pixels), or low-contrast text against the canvas background (WCAG ratios). Text gets its own layout audit: every text element's ink bounding box is measured through an isolated render, so text escaping the viewport is named with its exact overflow, and two texts printed over each other come back as an overlap warning naming both.
{
canvas: { width: number | string, // e.g. 800 or "100%" height: number | string, viewBox?: string, // "0 0 800 400" background?: string // hex "#111111" or "transparent" },
defs?: { gradients?: Gradient[], // linearGradient | radialGradient filters?: Filter[], // preset or raw primitives clipPaths?: ClipPath[], masks?: Mask[], symbols?: Symbol[], paths?: { id, d }[], // for textPath elements patterns?: Pattern[], // repeating tile fills markers?: Marker[] // arrowheads: triangle | arrow | circle | square | diamond | bar },
elements: Element[], // shapes, text, groups, use instances
animations?: CSSAnimation[] // CSS @keyframes definitions }
| Type | Required fields | Notes | |
|---|---|---|---|
rect | width, height | x, y default 0; rx/ry for rounded corners | |
circle | r | cx, cy default 0 | |
ellipse | rx, ry | Independent horizontal/vertical radii | |
line | x1, y1, x2, y2 | markerStart/markerEnd take a marker id from defs.markers | |
polyline | points | Open path: "10,20 50,80 90,20"; supports markerStart/markerMid/markerEnd | |
polygon | points | Auto-closed shape | |
path | d | Full SVG path commands | |
image | href, width, height | URL or data:image/... URI for embedded images | |
text | content | String or `(string \ | Tspan)[]` array |
textPath | pathId, text | Text following a curve; path defined in defs.paths | |
group | children | Shared attrs applied to all children (no nested groups) | |
use | href | Instance a symbol or clone an element by #id | |
radial-group | cx, cy, count, radius, child | Place N copies around a full circle | |
arc-group | cx, cy, radius, count, startAngle, endAngle, child | Place N copies along a circular arc | |
grid-group | cols, rows, colSpacing, rowSpacing, child | Place copies in an M by N grid | |
scatter-group | width, height, count, seed, child | Scatter N copies at seeded random positions | |
path-group | waypoints, count, child | Distribute N copies evenly along a polyline | |
parametric | fn | Mathematical curve: rose, heart, star, lissajous, spiral, superformula, epitrochoid, hypotrochoid, wave |
Two field names differ from raw SVG on purpose: the string of a text element goes in content (on textPath it is text), and validation errors will point you to the exact field if you mix them up. Pattern groups rotate each copy to face outward by default; set rotateChildren: false when the child is text or any shape that should stay upright.
{
id?: string, // required for filter/gradient/clip references cssClass?: string, // matches CSS animation names fill?: string, // "#rrggbb" | "none" | "url(#gradId)" stroke?: string, strokeWidth?: number, strokeDasharray?: string, // "10 5", use for draw-on animation strokeDashoffset?: number, opacity?: number, // 0–1 filter?: string, // "url(#filterId)" clipPath?: string, // "url(#clipId)" transform?: string, // "rotate(45)" "translate(100, 50)" transformBox?: "fill-box" | "view-box" | "stroke-box", // set "fill-box" for CSS rotation transformOrigin?: string, // "center", works with fill-box smilAnimations?: SMILAnimation[] }
Reference as filter: "url(#myId)" on any element after defining in defs.filters:
{ "type": "preset", "id": "myGlow", "preset": "glow", "stdDeviation": 8, "color": "#ff00ff" }
| Preset | Key params | Effect |
|---|---|---|
glow | stdDeviation, color | Soft halo |
neon | stdDeviation, color | Intense bright glow |
| blur | stdDeviation | Gaussia
只显示了开头部分;其余内容请在仓库中阅读