Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Audit a site's UX the way a design-literate reviewer would, with a concrete fix for every finding.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"uxlint": {
"command": "npx",
"args": [
"-y",
"@uxlint-net/uxlint"
]
}
}
}在终端中运行这条命令
claude mcp add uxlint -- npx -y @uxlint-net/uxlint粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"uxlint": {
"command": "npx",
"args": [
"-y",
"@uxlint-net/uxlint"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"uxlint": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@uxlint-net/uxlint"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 uxlint-net 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.30)于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、图片和脚本已被移除。链接会离开本站。
Audit any website's UX the way a design-literate reviewer would: contrast, tap targets, type scale, colour discipline, scan patterns, landmarks. Every finding comes with a prescriptive fix an agent (or a human) can apply directly. It's designed to sit in a coding agent's loop (MCP) and be iterated against until green.
*A real run, start to finish: audit_url → Grade B, a 2.39:1 contrast error and three CTAs in three different accent hues → the fix → verify_fix → Grade A. Every number in it came back from the tools; only the waiting was cut.*
This is the CLI: a small, single static Rust binary. It drives a Chrome/Chromium you already have installed over the DevTools protocol (no Node, no Playwright, no headless-browser download), captures what a page looks and reads like, and sends that to uxlint's hosted server, which does the actual grading. The rules engine, the calibrated thresholds, and the LLM judge all live server-side, so the client never needs updating when a rule changes.
┌──────────────────────────┐ POST /v1/audit {snapshots} ┌──────────────────────────┐
│ uxlint (this binary) │ ───────────────────────────────────────▶ │ uxlint-server (hosted) │ │ drives YOUR Chrome (CDP) │ ◀─────────────────────────────────────── │ rules engine + LLM judge │ └──────────────────────────┘ report {findings + fixes} └──────────────────────────┘
curl -fsSL https://uxlint.net/install.sh | sh # detects OS/arch, verifies checksum
Or with mise — its github backend pulls the matching build from GitHub Releases, verifies it, and updates on mise up:
mise use -g "github:uxlint-net/uxlint-cli[rename_exe=uxlint]@latest"
or pin it in a project's mise.toml:
[tools]
"github:uxlint-net/uxlint-cli" = { version = "latest", rename_exe = "uxlint" }
Or build from source (needs a recent stable Rust toolchain and a Chrome/Chromium on PATH):
git clone https://github.com/uxlint-net/uxlint-cli && cd uxlint-cli
cargo build --release ./target/release/uxlint --version
uxlint auth login # opens your browser, saves a token
uxlint audit --base https://your-site.com --routes /,/pricing
First time auditing your own project? uxlint init picks (or creates) a site to attach reports to and writes a uxlint.toml so every future audit in this directory just works:
uxlint init
uxlint audit --base http://localhost:5173 --routes /,/pricing
Exit code 1 on findings above the configured severity → drop it straight into CI (see .github/workflows/ for a template, or the uxlint-net/uxlint-action GitHub Action).
uxlint-hide)Some on-page chrome isn't product UI and shouldn't be judged: a dev/staging environment banner, a "DEV" marker, a debug toolbar, a Storybook/preview affordance. Add the class `uxlint-hide` to any such element and the audit removes it — it's display:none from first paint, so it never appears in a screenshot and is invisible to the collector (it seeds no findings):
<div class="env-banner uxlint-hide">STAGING</div>
The class is inert on your real site — it does nothing unless the audit is running, because the stylesheet that hides it (.uxlint-hide { display: none !important; }) is injected only by uxlint's browser, before the page's own scripts run. Style your element however you like the rest of the time. It applies in every capture path — the crawl, goal-walk tests, and fix previews.
--allow-mutation)Interaction audits navigate, read, and click candidate menu, disclosure, and dialog controls. Discovery skips controls whose accessible name contains a recognised action verb: *delete, remove, accept, leave, revoke, cancel, transfer, pay, publish, submit, add, create, save*, and their relatives, matched as whole words anywhere in the label. A label cannot prove what its click handler does, so run interaction audits against an environment you control with disposable data.
Two probes do write, and both need `--allow-mutation` on top of --states:
They power action-no-feedback, destructive-no-confirm and undo-missing, and those three rules stay quiet without the flag. Throwaway environments only. Being signed in as a user who is allowed to delete a row is not the same as having asked us to, and this flag is where you say so.
uxlint mcp never sets it, and cannot be asked to.
The other way an audit writes is one you wrote yourself: a declared [[tests]] walk signs in as a persona and exercises real flows, which is what a test does.
Claude Code, one command:
/plugin marketplace add uxlint-net/uxlint-cli
/plugin install uxlint@uxlint
That installs the uxlint MCP server and, if the CLI isn't already on your PATH, fetches the matching version once with the same checksum-verifying installer as above — so /plugin update updates the CLI underneath it too. No Node needed: it downloads one static binary (verified against a published checksum) and drives the Chrome you already have.
Any other agent — one line (the npm package fetches the binary for your platform, verifies the checksum published beside it, and hands over). This is the only route that needs Node 18+, for npx itself; if you'd rather not, install the binary with the line at the top and register that:
claude mcp add uxlint -- npx -y @uxlint-net/uxlint mcp
Or, for a client that reads a JSON config:
{ "mcpServers": { "uxlint": { "command": "npx", "args": ["-y", "@uxlint-net/uxlint", "mcp"] } } }
uxlint is also in the MCP Registry as io.github.uxlint-net/uxlint, for clients that browse it. Already have the CLI? uxlint mcp install registers it directly, no npx wrapper.
There is no token to set up first: ask your agent to audit something while signed out and it hands you a sign-in link that mints and saves the token for you (UXLINT_API_KEY is for CI, which has no browser).
Five tools: audit_url (full audit, graded verdict + action plan), verify_fix (recheck one rule on one page after an edit), get_shot (fetch a finding's annotated screenshot), ux_guidance (best-practice guidance to read *before* building UI), and lint_feedback — opt-in and off by default (§ Privacy) — one tool for three kinds of signal: whether a finding was useful, a lint uxlint is missing, or a component library it didn't recognise. The agent audits, reads the fixes, edits, and re-audits until green.
verify_fix returns passed, failed, not_evaluated or inconclusive. Zero findings alone never means a fix passed. Passing verification currently covers page-title-missing, html-lang-missing and horizontal-overflow, with explicit evidence for the requested route and both viewports. Other checks can report failures but need a full audit and evidence review; unknown rules, skipped checks and old servers cannot pass. A cleared check never submits an automatic acceptance vote.
Keep approved project decisions in uxlint.design.json beside uxlint.toml. ux_guidance reads it afresh each time, including in a new agent session. Start with a draft:
{"version":1,"revision":1,"status":"draft","site":"example.test",
"tokens":{"accent":"var(--color-brand)"}, "components":{"primary_action":"Reuse PrimaryButton"}, "pages":{"/":"Explain the product and offer a clear starting action"}, "journeys":["Start the main task from the homepage"], "references":["/styleguide"],"exceptions":[]}
Set site to the project's configured site. Review the decisions with the owner before setting status to approved and committing the file. Increment revision for subsequent approved changes. The tool never approves or writes the contract; drafts do not become guidance. References are not automatically fetched, exceptions do not suppress lints, and this initial local memory does not yet enforce tokens or compare screenshots. Invalid contracts produce a visible warning. Keep the file below 32 KiB and do not put credentials or private customer data in it.
This CLI runs on your machine and drives a real browser against real pages, so it's fair to ask exactly what it captures and where it goes. What we can tell you, because it's what the code in this repo actually does:
include_str! of assets/collector.js), so uxlint --version pins the exact capture code and the server can't inject anything at run time. Everything it captures is page geometry, visible text, computed styles, and screenshots. For an embedded it records the src's host only — never the full embed URL, which can carry session ids and tokens in its query string. It never reads your source code or your filesystem beyond uxlint.toml. It does read a little project provenance and send it with the report: your current git commit sha and branch name (git rev-parse), the machine's hostname, and, in GitHub Actions, the repo/PR/commit link. Set UXLINT_RUNNER to override the hostname.assets/redact.js), so they can't drift. Screenshots get an extra pass right before capture: every form field value is masked (passwords blanked, other inputs replaced with dots) and pattern-matched secrets in on-page text are scrubbed, so typed data and displayed keys don't land in the image. That pass reaches into shadow DOM (including closed roots, via an attachShadow interceptor) and same-origin iframes, and covers a cross-origin iframe with an opaque box since its pixels can't be redacted. But redaction is pattern-based, and a screenshot is still pixels: arbitrary displayed content that no pattern catches (a customer name on the page, order data), split-up values, and anything drawn into images or can still slip through. Credentials you pass with --header/--storage/--login-* drive *your* browser only and are never sent to uxlint's server.**Because a report captures page HTML, text, and screenshots, it is impossible to fully guard
against sensitive content leaking into it. Use TEST accounts, not real or production ones.** For
local development the risk is low, as long as the data is only local development data. When you
audit an authenticated site that holds real secrets or personal data, review what gets sent
before you send it: use
--dry-runto write the exact payload (page text, provenance, and
screenshots) to a local folder and inspect it without uploading. Redaction reduces accidental
exposure; it is not a security boundary, and you remain responsible for what you point uxlint at.
options, and workspace/org switcher names run through the same secret patterns, but they are not redacted只显示了开头部分;其余内容请在仓库中阅读