Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Render web and SwiftUI evidence, run explicit visual judgment, and trace ADS UI decisions.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agentic-design-system": {
"command": "npx",
"args": [
"-y",
"ads-mcp",
"--root"
]
}
}
}在终端中运行这条命令
claude mcp add agentic-design-system -- npx -y ads-mcp --root这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentic-design-system": {
"command": "npx",
"args": [
"-y",
"ads-mcp",
"--root"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器需要在启动命令中填入值,请复制设置后自行填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentic-design-system": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"ads-mcp",
"--root"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 aa-on-ai 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.0)于3个月前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
Local MCP adapter for Agentic Design System. It turns ADS rendering, deterministic gates, evaluation receipts, and decision provenance into a stable three-tool surface for coding agents.
Point the server at the project whose UI you want ADS to inspect:
npx --yes ads-mcp@0.3.0 --root /absolute/path/to/project
The MCP server connects without downloading a browser, so cold clients can discover its tools inside their startup budget. Before the first web render, verify or install Chromium once:
npx --yes ads-mcp@0.3.0 doctor
npx --yes ads-mcp@0.3.0 setup
If Chromium is missing, ads_render preserves a blocked run with the same setup command instead of timing out or fabricating evidence. Operators may also set PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH to an existing compatible Chromium executable.
From the ADS repository:
npm --prefix packages/ads-mcp install
npm --prefix packages/ads-mcp run build node packages/ads-mcp/dist/cli.js --root /absolute/path/to/project
Optional server flags:
--runs-dir changes the run directory under the project root. The default is .ads/runs.--allow-origin allows one non-local HTTP(S) origin. Repeat the flag for additional origins.--timeout-ms changes the per-tool timeout. The default is 30 seconds.--judge-command, --judge-provider, and --judge-model configure an explicit visual-judge adapter. --judge-arg is repeatable.--swiftui-command configures a SwiftUI snapshot adapter. --swiftui-arg and --swiftui-detector are repeatable; --swiftui-renderer labels the renderer in run manifests.Use the published package as a local stdio server. Replace the project path:
{
"mcpServers": { "ads": { "command": "npx", "args": [ "--yes", "ads-mcp@0.3.0", "--root", "/absolute/path/to/project" ] } } }
The server initialization instructions tell clients to render and evaluate first:
ads_render -> ads_evaluate
ads_trace is conditional. Call it only after reading the run manifest and confirming it contains at least one observed skill file, source file, and artifact file. Use the exact root-relative paths and excerpts captured in that manifest. Never invent provenance paths or substitute prompt labels or URLs.
Registry name: io.github.aa-on-ai/agentic-design-system.
For URL targets, the default state uses the original URL. Every requested non-default state is loaded as #state= , so the application should read the state parameter from location.hash.
The server is built on the split MCP TypeScript SDK v2 packages and starts through serveStdio. One binary accepts both legacy initialize clients and modern clients that negotiate the 2026-07-28 protocol through server/discover.
Run identifiers are durable handles backed by /.ads/runs, not MCP session identifiers. Render, evaluate, trace, and resource reads therefore recover across fresh client, server, and service instances on the same project filesystem.
The server advertises the stable MCP Apps extension as io.modelcontextprotocol/ui. Each ADS tool links to ui://ads/review, a self-contained text/html;profile=mcp-app resource that can display evidence, gates, findings, blockers, and decision traces inline. The app uses the 2026-01-26 Apps protocol and only requests server-tool and server-resource access from a compatible host. Hosts without Apps support retain the same three-tool and resource surface.
Current extension decisions are deliberate:
io.modelcontextprotocol/tasks extension. Render and evaluation remain bounded synchronous calls because they do not yet need an asynchronous lifecycle; ADS will adopt the extension only with a concrete long-running operation and a verified TypeScript SDK and host path. It does not use the deprecated core task vocabulary.ads_renderRender an allowed URL, root-confined TSX component, or startup-configured SwiftUI target. The tool captures requested states and viewports, runs the applicable platform gates, and returns ads://runs/... resources.
{
"target": { "type": "url", "url": "http://127.0.0.1:3000/orders" }, "states": ["default", "loading", "empty", "error"], "viewports": [{ "width": 390, "height": 844 }, { "width": 1280, "height": 800 }], "waitFor": "main", "provenance": { "observedSkillFiles": ["skills/design-review/SKILL.md"], "sourceFiles": ["brief.md"], "artifactFiles": ["src/Orders.tsx"] } }
A render is complete only when axe, overflow, landmarks and live regions, requested states, CLS, and touch-target gates have usable passing evidence. Missing browser dependencies, timeouts, and gate failures return a preserved blocked run instead of a false success.
SwiftUI uses the same public tool through an external snapshot adapter:
{
"target": { "type": "swiftui", "projectPath": "Orders.xcodeproj", "scheme": "Orders", "sourcePath": "Orders/ContentView.swift", "configuration": "Debug", "device": "iPhone 16 Pro" }, "states": ["default", "loading", "empty", "error"], "viewports": [{ "width": 393, "height": 852 }] }
ads_evaluateNormalize a rendered run and optionally compare it with another run. The default judge.mode: "none" remains model-free and returns needs_human when deterministic gates pass. judge.mode: "configured" invokes the visual-judge adapter selected at server startup and returns a typed verdict, rubric scores, findings, and next revision prompt.
{
"runId": "run_...", "compareToRunId": "run_optional_baseline", "rubric": { "task": "Make the orders workflow understandable on mobile and desktop", "criteria": [ { "name": "Design Quality", "weight": 35 }, { "name": "Originality", "weight": 30 }, { "name": "Craft", "weight": 20 }, { "name": "Functionality", "weight": 15 } ] }, "judge": { "mode": "configured" } }
The server validates exact rubric score keys, ADS finding categories, severities, evidence links, normalized screenshot regions, and verdict consistency before accepting the result. Missing, timed-out, or inconsistent judge output returns blocked, never a pass.
ads_traceVerify final decisions against files hashed during render. Rule files must have been recorded as observed, source and artifact files must be present and unchanged, excerpts must be exact, and all evidence URIs must resolve inside the same run.
For URL-only inspection without captured provenance, stop after ads_evaluate. If a client calls ads_trace anyway, the server returns one actionable trace not applicable error without resolving caller-invented paths.
{
"runId": "run_...", "context": "Orders responsive repair", "decisions": [ { "id": "mobile-primary-action", "decision": "Keep the primary action reachable on mobile.", "artifact": { "path": "src/Orders.tsx", "location": "Primary action row" }, "rule": { "path": "skills/design-review/SKILL.md", "excerpt": "All consequential controls need a visible, reachable interaction target." }, "sourceConstraint": { "path": "brief.md", "excerpt": "The primary action must remain reachable on mobile." }, "evidence": ["ads://runs/run_.../evidence"] } ] }
Run artifacts live under /.ads/runs/ /. Tools return short structured results and read-only resource links for manifests, rendered evidence, screenshots, evaluation receipts, reports, traces, and trace validation.
resources/list enumerates recent run artifacts so a client can recover them after losing a tool response. Resource URIs are stable logical identifiers rather than disk paths. For example, ads://runs/ /screenshots/default-390x844.png maps to /.ads/runs/ /evidence/default-390x844.png; clients should use resources/read.
--root, including symlink checks.judge.mode: "configured"; provider, model, and call count are written to the receipt.npm test
The suite covers legacy initialization and modern server/discover, the MCP App handshake and inline review action, a complete MCP client sequence, cross-server run recovery, Chromium URL and TSX component capture, command-adapter JSON exchange, configured visual verdicts, SwiftUI snapshot evidence, rendered comparisons, resource reads, repeated stage receipts, timeout and incomplete-evidence behavior, path traversal, symlink escape, origin denial, and trace failures.
ads-mcp setup; MCP startup never downloads Chromium.needs_human; automated judgment is deliberately opt-in.See the canonical API contract and command adapter protocol for the complete interfaces.