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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม 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": "ใส่ค่าของคุณ",
"AR_STUDIO_ASSETS": "ใส่ค่าของคุณ",
"AR_STUDIO_MCP_ENDPOINT": "ใส่ค่าของคุณ",
"AR_STUDIO_ORIGIN": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add 3d-ar-studio --env AR_STUDIO_PAGE_URL='ใส่ค่าของคุณ' --env AR_STUDIO_ASSETS='ใส่ค่าของคุณ' --env AR_STUDIO_MCP_ENDPOINT='ใส่ค่าของคุณ' --env AR_STUDIO_ORIGIN='ใส่ค่าของคุณ' -- 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": "ใส่ค่าของคุณ",
"AR_STUDIO_ASSETS": "ใส่ค่าของคุณ",
"AR_STUDIO_MCP_ENDPOINT": "ใส่ค่าของคุณ",
"AR_STUDIO_ORIGIN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"3d-ar-studio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"3d-ar-studio-mcp"
],
"env": {
"AR_STUDIO_PAGE_URL": "ใส่ค่าของคุณ",
"AR_STUDIO_ASSETS": "ใส่ค่าของคุณ",
"AR_STUDIO_MCP_ENDPOINT": "ใส่ค่าของคุณ",
"AR_STUDIO_ORIGIN": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
AR_STUDIO_PAGE_URL envAR_STUDIO_ASSETS envAR_STUDIO_MCP_ENDPOINT envAR_STUDIO_ORIGIN envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub nirholas ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 3 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Figma Context MCP, Claude Real Video, Figma MCP Server
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
server ทางการของ Figma ส่งข้อมูลงานออกแบบให้ AI อ่าน เพื่อเปลี่ยนแบบเป็นโค้ดหรืออธิบายแบบได้ตรงขึ้น ต่อผ่านคลาวด์ของ Figma
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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.
ตัดมาแค่ช่วงต้น อ่านต่อใน repo