tidy-core
Enables design system governance over MCP, with tools to track component adoption, detect drift, assess change impact, and enforce recorded decisions.
README
tidy-core
Other Figma MCP servers let an agent change your design system. tidy-core tells you whether it should, what will break, whether anyone adopted the last change, and what you decided six months ago.
Design system governance over the Model Context Protocol. Thirteen tools, not a hundred.
Status: v0.2.0, early. Five of the thirteen tools are implemented, including the plan/apply pair that makes changes reviewable. The other eight are registered and will tell you they are not built yet rather than returning an empty result. See the build sequence.
Why this exists
Reading and writing Figma from an agent is a solved problem. Figma ships a first-party MCP server, and there are good third-party ones with a hundred-plus tools.
What none of them do is answer the question a design system lead actually gets asked: is this working, and is it worth the headcount?
You can show a component count. You cannot show adoption, drift, decision history, or the cost of the next migration. So the system gets judged on output volume, which is the one metric that rewards the wrong behaviour.
tidy-core is built for that gap. It is not a faster way to draw components.
What it does
| Capability | The question it answers |
|---|---|
| Decision record | Why is the system like this? Which decisions now contradict each other? |
| Longitudinal health | Is it improving or decaying, and which category moved? |
| Adoption evidence | Do designers use the components, or detach and override them? |
| Blast radius | What breaks if I rename this token, and what will the migration cost? |
| Drift and parity | Does the design still match code, Storybook, and the docs? |
| CI enforcement | Does this change violate a recorded decision? Block it. |
What it does not do
- Not a design-to-code generator. Figma's own MCP server does that well.
- Not a way to author components faster. Other servers do that well.
- Not a tool-count competition. The small surface is the point.
It is designed to sit alongside an authoring MCP server, not replace one. Use those to make the change. Use this to decide whether to make it, and to prove what happened.
Install
👋 New to this?
Read the step-by-step guide instead →
It assumes no coding experience, explains every term, and tells you what should happen after each step. About 20 minutes.
The short version, for people who have set up an MCP server before.
Requires Node 18+ and Figma Desktop. A browser tab cannot reach a localhost WebSocket, and there is no workaround.
Not on npm yet, so clone and build:
git clone https://github.com/rominak/tidy-core.git
cd tidy-core
npm install
npm run build
Claude Code
claude mcp add tidy-core -s user -- node /absolute/path/to/tidy-core/dist/index.js
Cursor, Windsurf, Claude Desktop
{
"mcpServers": {
"tidy-core": {
"command": "node",
"args": ["/absolute/path/to/tidy-core/dist/index.js"]
}
}
}
Then connect the plugin:
- Figma Desktop → Plugins → Development → Import plugin from manifest
- Select
plugin/manifest.jsonfrom this repo - Run it. It scans ports 9240 to 9249 and connects on its own.
Verify:
Check tidy status
First run
Load the design system contract.
tidy_context returns collections, modes, token names grouped by intent, component variant axes, and the naming conventions actually in use, inferred from your data rather than asserted.
More in docs/examples.md.
Design decisions worth knowing
It refuses to guess which file you mean. With two or more Figma files connected and no target set, commands fail with a list of the files instead of picking the first open socket. Picking is a coin flip, and losing it writes to the wrong file. Set one with tidy_target.
It tags every response. Real setups run several Figma MCP servers side by side. Every response carries _mcp: "tidy-core" and every error is prefixed [tidy-core], so another server's failure is never blamed on this one.
Unbuilt tools say so. The eight planned tools are registered and return an explicit refusal naming what they will do. A tool that silently returns {} is worse than one that admits it does not exist yet.
It will not kill your other tools. If port 9240 is busy it moves to the next free one in 9240 to 9249, which the plugin scans anyway. It deliberately does not terminate whatever was holding the port.
Reads will write. Once tidy_health and tidy_adoption land, every call persists a snapshot. That is what makes the second run able to show a delta without anyone scheduling anything. A noCapture flag will exist for read-only CI checks. See the reasoning.
The thirteen tools
| Tool | Status | Question |
|---|---|---|
tidy_status |
✅ | Where am I connected, and where will the next command land? |
tidy_target |
✅ | Which file am I working in? |
tidy_context |
✅ | What is in this system, so I can work correctly? |
tidy_health |
🚧 | How healthy is it, and which direction is it moving? |
tidy_adoption |
🚧 | Is anyone actually using it? |
tidy_drift |
🚧 | Does design still match code, Storybook, docs? |
tidy_impact |
🚧 | What breaks if I change this? |
tidy_cleanup |
🚧 | What should I fix first? |
tidy_plan |
✅ | Give me a safe, reviewable sequence of changes. |
tidy_apply |
✅ | Execute the plan I reviewed. |
tidy_decisions |
🚧 | Why is it like this, and do our decisions contradict? |
tidy_record_decision |
🚧 | Capture why we did this. |
tidy_gate |
🚧 | Should this change be allowed to merge? |
Full definitions in docs/spec.md.
Development
npm install
npm run build # emits dist/, excludes tests
npm test
npm run typecheck # checks everything including tests
npm run dev # watch mode
Everything runs locally. No data leaves your machine, and there is no telemetry.
Learn more
tidy-core comes out of ongoing work on design systems and AI at aidesign.guide, where the thinking behind it is written up in more depth: how design systems get measured, where AI actually helps, and where it quietly makes things worse.
Built by Romina Kavčič.
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。