Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Put 3D models in someone's real room: generate, arrange, and hand back one AR link.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
AR_STUDIO_PAGE_URL, AR_STUDIO_ASSETS, AR_STUDIO_MCP_ENDPOINT, AR_STUDIO_ORIGIN你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"3d-ar-studio": {
"command": "npx",
"args": [
"-y",
"3d-ar-studio-mcp"
],
"env": {
"AR_STUDIO_PAGE_URL": "your-value",
"AR_STUDIO_ASSETS": "your-value",
"AR_STUDIO_MCP_ENDPOINT": "your-value",
"AR_STUDIO_ORIGIN": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add 3d-ar-studio --env AR_STUDIO_PAGE_URL=your-value --env AR_STUDIO_ASSETS=your-value --env AR_STUDIO_MCP_ENDPOINT=your-value --env AR_STUDIO_ORIGIN=your-value -- npx -y 3d-ar-studio-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"3d-ar-studio": {
"command": "npx",
"args": [
"-y",
"3d-ar-studio-mcp"
],
"env": {
"AR_STUDIO_PAGE_URL": "your-value",
"AR_STUDIO_ASSETS": "your-value",
"AR_STUDIO_MCP_ENDPOINT": "your-value",
"AR_STUDIO_ORIGIN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"3d-ar-studio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"3d-ar-studio-mcp"
],
"env": {
"AR_STUDIO_PAGE_URL": "your-value",
"AR_STUDIO_ASSETS": "your-value",
"AR_STUDIO_MCP_ENDPOINT": "your-value",
"AR_STUDIO_ORIGIN": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
AR_STUDIO_PAGE_URL envAR_STUDIO_ASSETS envAR_STUDIO_MCP_ENDPOINT envAR_STUDIO_ORIGIN env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 nirholas 验证,该账户拥有此仓库
我们还没有从 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、图片和脚本已被移除。链接会离开本站。
Drop a full augmented-reality studio into any web page.
Place as many 3D models as you like in your real room through the camera, describe a new one and watch it appear, arrange everything by hand, then share the whole scene as a link, a QR code, or a live room someone else can build in with you.
<script type="module" src="https://unpkg.com/3d-ar-studio/dist/ar-studio.min.js"></script>
That is a working AR studio. No build step, no API key, no account. It comes wired to a free library of a few hundred public-domain models and a free, keyless text-to-3D lane; point it at your own catalogue with one option when you are ready.
Every web-AR drop-in places exactly one model and then hands off to a native viewer, which ends the session. This one keeps the whole scene in your page:
XRAnchor per placed model, real-world light estimation, and depth occlusion so models hide behind your furniture.USDZExporter, no server involved) and, because it is exported from the copy already standing in your scene, it arrives at the size you pinched it to and in the pose it was in, stood on the floor rather than hanging at the height it happened to be modelled at. Android without WebXR gets Scene Viewer. Desktop gets a grid preview and a QR hand-off to a phone.The rendering ladder, anchor lifecycle, retargeting pipeline, scene format and shared-room protocol are extracted from the AR surfaces running in production on three.ws, and generalized so they work on your site with your models.
npm i 3d-ar-studio three
three is a peer dependency, so you keep one copy of it and pick the version. The CDN bundle (dist/ar-studio.min.js) has three.js inside it and needs nothing else.
import { createArStudio } from '3d-ar-studio'
const studio = createArStudio('#stage', { branding: { title: 'Acme AR', accent: '#00b894' }, })
studio.on('add', ({ placement }) => console.log('placed', placement.title))
The studio fills its host element absolutely, so give the host a height (any positioned box with a real height works; a with no height gets a sensible 70vh default rather than rendering invisibly).
npx 3d-ar-studio create my-ar-site # a folder you can publish as-is
cd my-ar-site npx 3d-ar-studio dev # look at it locally npx 3d-ar-studio deploy # push it and turn on GitHub Pages
deploy prints every git and gh command before it runs it. It needs git and the GitHub CLI; without them it tells you the three manual steps instead of failing silently.
Templates: static (one HTML file, no build), vite, react.
Both 3d-ar-studio and ar-studio run the CLI. The MCP server is a separate binary in its own package, so npx 3d-ar-studio-mcp resolves cleanly: see MCP server.
The tray is filled from three.ws by default: a few hundred public-domain (CC0) props, free for commercial use, served with open CORS. Swap in your own with the assets option.
A JSON file anywhere. Five common shapes are read without reshaping:
createArStudio(el, { assets: 'https://cdn.acme.com/models.json' })
// Any of these work:
[ { "url": "https://cdn.acme.com/chair.glb", "name": "Aero chair" } ] { "items": [ … ] } { "objects": [ … ] } // three.ws object library { "creations": [ … ] } // three.ws forge gallery { "models": [ … ] }
Per entry, the model URL is read from the first present of src, url, glb, glb_url, glbUrl, file or model; the label from title, label, name or prompt; and the thumbnail from poster, thumb, thumbnail, image or preview_image_url. Anything that is not an https (or site-relative) URL is dropped rather than handed to the loader.
A list you hold in code:
import { staticSource } from '3d-ar-studio/sources'
createArStudio(el, { assets: staticSource({ label: 'Our furniture', items: [{ src: 'https://cdn.acme.com/chair.glb', title: 'Aero chair', poster: '…' }], }), })
Several tabs at once, in the order you want them:
createArStudio(el, { assets: ['recent', myCatalogue, 'objects', 'link'] })
Built-in keys: 'three.ws' (the default set), 'recent', 'objects', 'community', 'link'.
Anything else. A source is an object with a list():
createArStudio(el, {
assets: { id: 'search', label: 'Search', searchable: true, async list() { const rows = await fetch('/api/models').then((r) => r.json()) return rows.map((m) => ({ src: m.glb, title: m.name, poster: m.thumb })) }, }, })
Throwing from list() is fine: the tray renders a designed error state with a Retry button.
Your users can retarget it too, without touching your code: ?assets=https://…/manifest.json on the page URL. Only https URLs are accepted, and every model source is re-validated before it reaches the loader, so a hostile link can add a catalogue but can never smuggle a javascript: or data: model into the scene. Set allowUrlOverride: false to switch that off.
Models are loaded by the browser, so the host serving your .glb files has to allow cross-origin requests (access-control-allow-origin). If a model fails to load, that is almost always why, and the studio says so in the status line rather than failing silently.
| Option | Default | What it does |
|---|---|---|
assets | 'three.ws' | Where models come from: a preset key, a manifest URL, a source object, or an array of them. |
generate | enabled | { enabled, endpoint, kind, tier, timeoutMs, pollMs }. endpoint is any MCP server exposing a compatible generate tool. |
rooms | enabled | { enabled, server }. Point server at your own Colyseus deployment to host shared rooms yourself. |
animations | three.ws idle clip | { enabled, manifestUrl, clip }. The clip retargeted onto humanoid models that ship no animation. |
lighting | 'studio' HDRI | { preset, urls }. preset: null uses procedural lighting only and downloads no HDRI. |
branding | : | { title, accent, backHref, backLabel }. |
shareBaseUrl | this page | Where share links and QR codes point. |
origin | https://three.ws | Origin for the hosted "View in your space" launcher and viewer links. |
persistKey | 'ar-studio:scene:v1' | localStorage key for the saved scene. Change it to run two studios on one origin. |
persist | true | Restore the last scene on load. |
maxPlacements | 20 | Cap on simultaneous models. Keeps low-end phones interactive. |
fullscreen | auto | Render as a fixed full-screen layer. Defaults to true only when mounted on document.body. |
allowUrlOverride | true | Honour ?assets=, ?src=, ?room= and ?forge= on the hosting page's URL. |
onEvent | null | Called with (event, detail) for every notable action. Wire it to your analytics. |
| Parameter | Effect |
|---|---|
?assets= | Swap the catalogue. |
?src= &title= | Load models into the scene. Repeatable. |
#s= | Reopen a full arrangement, transforms included. Written by shareUrl(). |
?room= | Join a shared room. |
?forge= | Start a generation on load. |
await studio.addModel({ src, title }) // place a model
studio.clear() // remove everything; returns what was there studio.getScene() // [{ src, title, x, z, yaw, scale }] await studio.setScene(items) // replace the arrangement studio.shareUrl() // a link that reopens it exactly await studio.generate('a brass desk lamp') // text to 3D, into the room studio.viewInYourSpace(src, title) // open the hosted launch page for one model await studio.startCamera() // needs a user gesture on iOS await studio.enterAR() // best AR path for this device studio.openArSheet() // the "Place in your space" hand-off sheet studio.closeArSheet() await studio.placeInYourSpace() // straight to the native viewer, no sheet await studio.toggleImmersive() // enter or leave WebXR specifically await studio.openRoom() // returns the room code studio.destroy() // releases camera, socket and GPU context
studio.on(name, fn) returns an unsubscribe function. The same events also fire as ar-studio: DOM events on the mounted element.
| Event | Detail |
|---|---|
add | { placement, remote } |
remove | { src, title } |
select | { placement } (null when deselected) |
clear | { items } |
generate | { model } |
generate-error | { error, prompt } |
camera | { active } |
xr | { active } |
native-ar | { src, title, viewer } where viewer is quicklook, sceneviewer or none |
native-ar-error | { error, src } |
ar-sheet | { open } when the hand-off sheet opens or closes |
room | { status, code } |
share | { url } |
<ar-studio
assets="https://cdn.acme.com/models.json" title="Acme AR" accent="#00b894" generate="true" rooms="true"
element.studio is the live instance. Importing 3d-ar-studio/auto (what the CDN bundle does) registers the element for you.
只显示了开头部分;其余内容请在仓库中阅读