Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
MCP server for architecture and system design. Store and manage project architecture locally.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"architector": {
"command": "npx",
"args": [
"-y",
"mcp-architector"
]
}
}
}在终端中运行这条命令
claude mcp add architector -- npx -y mcp-architector粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"architector": {
"command": "npx",
"args": [
"-y",
"mcp-architector"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"architector": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-architector"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 theSharque 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.11.1)于42天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ 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、图片和脚本已被移除。链接会离开本站。
Model Context Protocol (MCP) server for architecture and system design
Local-first MCP server that stores and manages project architecture information. All data is stored locally in ~/.mcp-architector for maximum privacy and confidentiality.
📦 Install: npm install -g mcp-architector or use via npx 🌐 npm: https://www.npmjs.com/package/mcp-architector 🔗 GitHub: https://github.com/theSharque/mcp-architect
Add the server to your MCP config. Example for claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }
For Cursor IDE: Settings → Features → Model Context Protocol → Edit Config, then add the same block inside mcpServers. See the Integration section for more options.
For Cursor IDE and Cursor Cloud Agents, use a phased onboarding rule so the agent does not dump the whole repo into context in one shot.
.cursor/rules/architector-onboarding.mdc into your project (the repo you are documenting): mkdir -p /path/to/your-app/.cursor/rules
cp /path/to/mcp-architector/.cursor/rules/architector-onboarding.mdc /path/to/your-app/.cursor/rules/
list-projects and pass projectId on every write — do not rely on omitting it.The rule is `alwaysApply: false` — Cursor attaches it when the task matches architecture import/onboarding. It enforces: structure → one module per step → validate after each step → compact tools only.
If you develop this server repo, keep the same file here so contributors and Cloud Agents follow the same workflow when updating ~/.mcp-architector/_qs_mcp-architector/.
Store and manage project architecture, modules, scripts, data flow, and usage examples - all locally with complete privacy.
~/.mcp-architector (privacy-first)~/.mcp-architector/
└── {projectId}/ ├── architecture.json # Modules + dataFlow (vertical structure) ├── modules/ │ ├── {moduleId}.json │ └── ... ├── entries/ │ ├── index.json # Catalog (no duplicate bodies) │ └── {entryId}.json # Canonical facts (API, domain, flows, …) ├── slices/ │ └── {sliceId}.json # Custom filters only (no items)
| Layer | Purpose | Tools |
|---|---|---|
| Modules | Vertical structure: components, dependencies, dataFlow | set-project-architecture, set-module-details, set-module-data-flow, rebuild-data-flow, validate-architecture |
| Entries | Single source of truth for horizontal facts (one fact = one file) | set-entry, set-entries, get-entry, list-entries |
| Slices | Read-only views over entries (built-in or custom filters) | list-slices, get-slice |
Anti-patterns (no duplication): Do not copy module.description into entry.summary. Link with refs.moduleName. Slices never store item copies—only filters in slices/*.json.
Do not edit `~/.mcp-architector` directly — always use MCP tools so timestamps, merge semantics, and dataFlow inverse sync stay consistent.
list-projects — find projectId for this workspace (query by folder name). Pass it to every other tool. Never omit. Never use default-project.get-project-architecture / set-project-architecture.set-module-details with files + `facts[]` (endpoints, entities, glossary) in the same call, or set-entries / set-entry with refs.moduleName.set-module-data-flow.rebuild-data-flow.validate (summary + issues[]; no full project load).list-slices → get-slice with format=compact or table; use offset when hasMore is true.search-entries → get-entry for full payload.refactor-architecture: scan → dryRun preview → apply with confirm=true.| Scenario | Tool |
|---|---|
| Update one module + its APIs/facts | set-module-details with facts[] |
| Bulk facts for a domain | set-entries with moduleName |
| Patch dataFlow for one module | set-module-data-flow |
| Rebuild all module edges | rebuild-data-flow |
| Diagnose graph + empty slices | validate (or validate-architecture) |
| Catalog JSON corrupt (extra data after JSON) | fix-data |
| Sync paths/names after refactor | refactor-architecture (dryRun, then confirm) |
| Index out of sync | rebuild-entry-index |
| Create project from scratch | set-project-architecture with replaceModules: true |
| Onboard a fresh git clone (phased) | Copy .cursor/rules/architector-onboarding.mdc → ask agent to onboard phase by phase |
Full project picture: modules alone do not populate slices — without http-endpoint (and other kinds) entries, slice api stays empty. New module → add facts or entries in the same step.
Example: set-module-details with facts: [{ kind: "http-endpoint", title: "POST /orders", ... }], then get-slice sliceId=api format=table.
# No installation needed - use directly in Cursor/Claude Desktop
git clone https://github.com/theSharque/mcp-architect.git
cd mcp-architect
npm install
npm run build
Run with hot reload:
npm run dev
Start the server:
npm start
Debug and test your server with the MCP Inspector:
npm run inspector
Installs from npm registry automatically:
{
"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }
For local development with live changes:
{
"mcpServers": { "architector": { "command": "mcp-architector", "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }
Requires: cd /path/to/mcp-architector && npm link -g
{
"mcpServers": { "architector": { "command": "node", "args": ["/path/to/mcp-architector/dist/index.js"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }
Edit .continue/config.json:
{
"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }
projectId is required on every tool except list-projects. There is no default dump project.
query = workspace folder name)set-project-architecture using a stable id from the workspace path (e.g. _qs_my-app)MCP_PROJECT_ID is only a hint (isCurrent / suggestedProjectId). It is not used as a silent write target. default-project and unsubstituted ${workspaceFolder} ids are forbidden.
Creates or updates the overall architecture for a project. By default merges modules and dataFlow by name; omit dataFlow to preserve existing flow. dependsOn is canonical; providesTo is recomputed on save.
Input:
projectId (required): Project ID from list-projects. Never omit. default-project is forbidden.description: Overall project descriptionmodules: Array of module objects with:name: Module namedescription: Brief description of the moduleinputs (optional): What this module requires to workoutputs (optional): What this module produces or generatesdataFlow (optional): Object describing data flow between modules (omit to keep existing):dependsOn (optional): Array of module names this module depends onprovidesTo (optional): Derived on save from all dependsOn edgesdataTransformation (optional): How data is transformed between modulesreplaceModules (optional): Replace entire modules list (default false = merge by name)replaceDataFlow (optional): Replace entire dataFlow (default false = merge by module name)Output:
Retrieves the overall architecture of the project.
Input:
projectId (required): Project ID from list-projects. Never omit. default-project is forbidden.Output:
Lists all projects in local storage (~/.mcp-architector). Call this first. Match the current workspace by folder name, then pass projectId to every other tool.
Input:
query (optional): Filter by substring in projectId or description (case-insensitive)Output:
projects[]: projectId, description, moduleCount, updatedAt, isCurrent (hint from MCP_PROJECT_ID), forbidden (default-project and unsubstituted workspaceFolder dumps)suggestedProjectId: current MCP_PROJECT_ID when it is a valid id, else nullreminder: always pass projectId; never use default-project| Tool | Purpose |
|---|---|
set-entry | Upsert one fact; response may include reminder if modules missing or unlinked |
set-entries | Bulk upsert (max 200); optional moduleName sets refs.moduleName on all |
get-entry | Full entry by id |
delete-entry | Remove entry |
list-entries | Catalog without payload; filter by kind, tags, query |
search-entries | Compact text search with snippet, slices, moduleName, pagination; filters: moduleName, kind, tags |
| list-slices | Built-in + custom slices with e
只显示了开头部分;其余内容请在仓库中阅读