Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
An MCP server that lets AI agents draw hand-drawn Excalidraw diagrams as files on your machine.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SKETCHDEX_VAULT, SKETCHDEX_BROWSER你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"sketchdex": {
"command": "npx",
"args": [
"-y",
"sketchdex"
],
"env": {
"SKETCHDEX_VAULT": "your-value",
"SKETCHDEX_BROWSER": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add sketchdex --env SKETCHDEX_VAULT=your-value --env SKETCHDEX_BROWSER=your-value -- npx -y sketchdex运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sketchdex": {
"command": "npx",
"args": [
"-y",
"sketchdex"
],
"env": {
"SKETCHDEX_VAULT": "your-value",
"SKETCHDEX_BROWSER": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sketchdex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"sketchdex"
],
"env": {
"SKETCHDEX_VAULT": "your-value",
"SKETCHDEX_BROWSER": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
SKETCHDEX_VAULT envSKETCHDEX_BROWSER env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 lucasr1b 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.2)于2个月前进入注册中心。
支持 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、图片和脚本已被移除。链接会离开本站。
Give your agent a whiteboard. sketchdex.dev
Sketchdex is an MCP server that lets Claude, Codex, Cursor and any other MCP client draw hand-drawn Excalidraw diagrams while it explains something. Scenes are real .excalidraw files in a folder on your machine. The agent can draw, look at what it drew, and fix it; you can open the result in the bundled library app or on excalidraw.com and keep editing.
Built on the official @excalidraw/excalidraw package, so the canvas is the real thing. MIT.
Needs Node 20 or newer. Rendering (render_scene) needs a Chromium-based browser on the machine: Chrome, Chromium, Edge or Brave. Everything else works without one.
The quickest way is to let the agent you already have do it. Paste this into any agent that can run commands:
install the sketchdex mcp server for me. run
npx -y sketchdex docs installfor the steps.
Or by hand:
Claude Code
claude mcp add --scope user sketchdex -- npx -y sketchdex
Codex
codex mcp add sketchdex -- npx -y sketchdex
Cursor
Add to Cursor, or in ~/.cursor/mcp.json:
{
"mcpServers": { "sketchdex": { "command": "npx", "args": ["-y", "sketchdex"] } } }
VS Code
code --add-mcp '{"name":"sketchdex","command":"npx","args":["-y","sketchdex"]}'
Claude Desktop, Windsurf, Gemini CLI, anything else takes the same mcpServers block as Cursor, or the command npx -y sketchdex as a stdio server. npx -y sketchdex docs install has the exact file for each.
Then, in a session: *draw me how the event loop works using sketchdex*.
Scenes are saved to ~/Documents/sketchdex. Point them somewhere else with --vault /path/to/folder after the package name, or SKETCHDEX_VAULT in the server's environment. An iCloud or Dropbox folder works.
The manual ships inside the package so an agent can answer setup questions and fix problems without anyone reading a page:
npx -y sketchdex docs [topic] prints it (topics: install, vault, app, rendering, tools, drawing, troubleshooting, or all).sketchdex_docs tool returns the same text once the server is connected, and the server instructions tell the agent to use it for anything about setup or errors.sketchdex://docs/ .npx sketchdex app
Opens the library in your browser: a grid of scenes with live previews, search, pin, rename, duplicate, import; a full Excalidraw editor for each; a ⌥K switcher; and a History sidebar showing every agent write with the label the agent gave it, so you can preview, keep or revert each one. The app notices agent writes as they happen.
The same process serves the tools over HTTP at POST /mcp and as plain REST at POST /api/agent/:op, localhost only.
Nineteen tools over stdio. The ones that matter:
| Tool | Does |
|---|---|
describe_scene | Structure, not pixels: bounds, counts, a rounded summary per element. Start here. |
add_elements | Boxes, arrows, text, generated shapes (polygon, star, arc, capsule, path). label on a shape adds bound text; start/end on an arrow bind it. |
update_elements | One id and the fields that change. The read-modify-write happens server-side, so a two-line edit costs two lines. |
import_svg | Write an SVG, get hand-drawn editable elements grouped as one piece. The way to draw anything that has to look like something. |
render_scene | A real canvas render as PNG, whole scene or a region, so the agent can look at its own work. |
check_scene | Layout problems found by geometry: hidden text, overlapping labels, dangling arrows, strays. |
snapshot_scene, list_history, restore_snapshot | The safety net. Every write snapshots the previous state first. |
sketchdex_docs | The manual by topic, so the agent can answer setup questions and fix errors itself. |
The full manual the agent reads is BRIEF.md: the element format, the hand-drawn contract (roughness, sparse anchors, flat colour, no clip-art), paper and ink rules, and the things that will bite.
.excalidraw file. Atomic writes (temp file, rename), deletes go to trash/, and index.json is a cache the server rebuilds from the files if it is lost.~/Documents/sketchdex/
├── index.json names, timestamps, pins (a cache, not the truth) ├── scenes/ .excalidraw the scene itself, real Excalidraw format ├── thumbs/ .svg library previews ├── history/ / snapshots taken before agent writes, gzipped └── trash/ - .excalidraw
import { createAgentApi } from "sketchdex";
const api = createAgentApi(); // or createAgentApi("/path/to/vault") await api.describeScene("Brain Dump");
Same implementation as the MCP and REST surfaces. Works with the app closed.
git clone https://github.com/lucasr1b/sketchdex
cd sketchdex npm install # also retunes Excalidraw's colour picker for dark paper npm run dev # app + API + HTTP MCP on http://localhost:5173 npm run build # dist/, which the CLI and the render page need node bin/sketchdex.js app
For an MCP client pointed at a checkout, use node /path/to/sketchdex/mcp/server.js as the command. In a checkout the server hot-reloads its worker when a file under server/ or mcp/ changes, so edits are live on the next tool call without restarting the client.
npm run lint, npx tsc -p tsconfig.app.json --noEmit and npm test before committing. The test packs the package, installs it into a clean project and drives it through a real MCP client, including a render; CI runs it on macOS, Linux and Windows. AGENTS.md maps the codebase and the rules that must survive edits. There is also a macOS desktop shell: npm run electron:dev.
#121212) and nothing is ever colour-inverted: the canvas, thumbnails and renders show every hex exactly as written. Paper colour is per scene (viewBackgroundColor).SKETCHDEX_BROWSER=/path/to/browser if the browser is somewhere unusual.⌘K opens the scene switcher, which shadows Excalidraw's own "add link" shortcut; use the context menu for links.