Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Unofficial. Status, AMS filament, print control and maintenance for Bambu Lab 3D printers via LAN
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
BAMBU_IP, BAMBU_SERIAL, BAMBU_ACCESS_CODE, BAMBU_READ_ONLYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"for-bambu": {
"command": "npx",
"args": [
"-y",
"mcp-server-for-bambu"
],
"env": {
"BAMBU_IP": "ใส่ค่าของคุณ",
"BAMBU_SERIAL": "ใส่ค่าของคุณ",
"BAMBU_ACCESS_CODE": "ใส่ค่าของคุณ",
"BAMBU_READ_ONLY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add for-bambu --env BAMBU_IP='ใส่ค่าของคุณ' --env BAMBU_SERIAL='ใส่ค่าของคุณ' --env BAMBU_ACCESS_CODE='ใส่ค่าของคุณ' --env BAMBU_READ_ONLY='ใส่ค่าของคุณ' -- npx -y mcp-server-for-bambuเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"for-bambu": {
"command": "npx",
"args": [
"-y",
"mcp-server-for-bambu"
],
"env": {
"BAMBU_IP": "ใส่ค่าของคุณ",
"BAMBU_SERIAL": "ใส่ค่าของคุณ",
"BAMBU_ACCESS_CODE": "ใส่ค่าของคุณ",
"BAMBU_READ_ONLY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"for-bambu": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-for-bambu"
],
"env": {
"BAMBU_IP": "ใส่ค่าของคุณ",
"BAMBU_SERIAL": "ใส่ค่าของคุณ",
"BAMBU_ACCESS_CODE": "ใส่ค่าของคุณ",
"BAMBU_READ_ONLY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
BAMBU_IP envBAMBU_SERIAL envBAMBU_READ_ONLY envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub b84330808 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: BAMBU_ACCESS_CODE
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 11 วันที่ผ่านมา
โปรแกรมที่รองรับ 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Ask Claude (or Cursor, or VS Code) what your Bambu Lab printer is doing, and have it pause, preheat or log maintenance, over your LAN with no cloud.
An MCP server for Bambu Lab 3D printers. It talks to the printer directly over its local MQTT interface. Built and tested against the P1S; other MQTT-speaking models (P1P, X1C, A1) should work.
⚠️ Unofficial — not affiliated with Bambu Lab
This is a community-built project. It is not affiliated with, endorsed by, or sponsored by Bambu Lab / Shenzhen Tuozhu Technology Co., Ltd. "Bambu Lab", "Bambu Studio", "P1S", "P1P", "X1C", and "AMS" are trademarks of their respective owners; references in this project are descriptive only (nominative fair use), made for compatibility purposes. Provided "as is" with no warranty.
*Real tool calls and output, run against the built-in printer simulator (npm run sim). Regenerate with scripts/demo/; docs/demo-script.md covers recording a session with a real printer.*
| Live status | State, current stage, progress, layer, time left, nozzle/bed/chamber temperatures, Wi-Fi signal |
| AMS | Filament type, brand, color and remaining % per slot, plus the active slot |
| Health | Active HMS warnings decoded to module and severity, each with its Bambu wiki link |
| Control | Pause, resume, cancel, chamber light, speed profile, preheat, AMS slot switch, raw G-code |
| Maintenance ledger | Counts print-hours locally and tells you when rails, carbon rods or the hotend are due |
| Guided setup | No config editing: tell Claude your IP, serial and access code; it tests them before saving |
| Safety | Cancel, G-code and AMS switch need explicit confirmation; read-only mode; LAN addresses only |
| Works anywhere MCP does | Claude Code plugin, Claude Desktop, Cursor, VS Code, any stdio MCP client |
| Printer simulator | npm run sim starts a fake printer for trying it out, demos and tests |
You need Node.js 20+ and a printer on the same network with LAN Mode Liveview turned on.
Install the plugin (MCP server plus a short skill that teaches Claude the confirmation rules):
/plugin marketplace add b84330808/mcp-server-for-bambu
/plugin install bambu-printer@mcp-server-for-bambu
Or add just the MCP server:
claude mcp add --transport stdio --scope user bambu -- npx -y mcp-server-for-bambu
Open Settings → Developer → Edit Config (%APPDATA%\Claude\claude_desktop_config.json on Windows, ~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and add:
{
"mcpServers": { "bambu": { "command": "npx", "args": ["-y", "mcp-server-for-bambu"] } } }
Fully quit Claude Desktop (tray icon → Quit) and reopen it.
Or put this in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": { "bambu": { "command": "npx", "args": ["-y", "mcp-server-for-bambu"] } } }
code --add-mcp "{\"name\":\"bambu\",\"type\":\"stdio\",\"command\":\"npx\",\"args\":[\"-y\",\"mcp-server-for-bambu\"]}"
Or add it to .vscode/mcp.json. This version passes the credentials as env vars and asks for the access code as a hidden input:
{
"inputs": [ { "type": "promptString", "id": "bambu-access-code", "description": "Bambu LAN access code (Settings > WLAN > LAN Mode Liveview)", "password": true } ], "servers": { "bambu": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-server-for-bambu"], "env": { "BAMBU_IP": "192.168.1.50", "BAMBU_SERIAL": "01P00A1234567890", "BAMBU_ACCESS_CODE": "${input:bambu-access-code}" } } } }
All of these are in examples/.
On first start the server is in setup mode and offers one tool, setup_printer. Read three values off the printer's touchscreen:
Settings → WLAN → tap the connected networkSettings → Device → Device Info (P1S: 01P00A…)Settings → WLAN → LAN Mode Liveview, 8 characters, not the Wi-Fi password. LAN Mode Liveview must be ON.Then tell your assistant:
"Set up my Bambu printer. IP is 192.168.1.50, serial 01P00A1234567890, access code 12345678."
setup_printer checks the format, connects to the printer, and saves the credentials only if the connection works. Restart the server once (Claude Desktop: quit and reopen; Claude Code: /mcp → reconnect bambu) and the printer tools appear.
You can skip this and pass BAMBU_IP, BAMBU_SERIAL and BAMBU_ACCESS_CODE as env vars instead, as in the VS Code example.
| Tool | What it does | Asks first? |
|---|---|---|
get_status | State, stage, temperatures, progress, layer, HMS warnings, Wi-Fi | |
get_ams_info | Per-slot filament type / color / remaining %, active slot | |
list_active_warnings | Active HMS warnings with links to Bambu's wiki | |
get_maintenance_status | Print-hours and lube / clean / inspect warnings | |
forecast_maintenance | When each maintenance task will be due at your recent print rate | |
get_recent_prints | Last N print sessions: name, duration, finish time | |
mark_maintenance_done | Log a maintenance task (optionally back-dated by hours_ago) | |
pause_print / resume_print | Pause and resume the current print | |
set_light | Chamber light on/off | |
set_speed | silent / standard / sport / ludicrous | |
preheat | Set nozzle and/or bed target temperature | |
stop_print | Cancel the print. Not reversible | yes (confirm: true) |
run_gcode | Send raw G-code (homing, Z moves, manual unload…) | yes (confirm: true) |
change_active_tray | Switch the AMS to another slot | yes (confirm: true) |
Every tool also carries MCP annotations (readOnlyHint, destructiveHint), so clients that ask before running tools can treat the read tools and the destructive ones differently.
This server can move a heated toolhead and cancel hours of printing. It is built to make that hard to do by accident:
stop_print, run_gcode and change_active_tray refuse to run unless called with confirm: true, and their descriptions tell the model to set it only after you agree in plain words. Keep your client's own tool-approval prompts on as a second check.BAMBU_READ_ONLY=1 and the server registers only the read tools. Nothing can pause, cancel, heat or move the printer. A good default for a shared machine or a demo.setup_printer rejects addresses outside private ranges (192.168.x.x, 10.x.x.x, 172.16–31.x.x, plus link-local, loopback and the 100.64/10 range Tailscale uses). Never forward the printer's MQTT port to the internet.preheat and M104/M140 leave the heaters at the target until something changes them. Turn them off (set 0) before you walk away.| Env var | Default | Meaning |
|---|---|---|
BAMBU_IP, BAMBU_SERIAL, BAMBU_ACCESS_CODE | from the saved .env | Printer credentials. Env vars win over the saved file |
BAMBU_READ_ONLY | 0 | 1 registers only the read tools |
BAMBU_CONFIG_DIR | see below | Where the .env and the maintenance ledger live |
MAINTENANCE_LEDGER_PATH | /maintenance.json | Ledger file location |
The config directory is:
%APPDATA%\mcp-server-for-bambu\~/Library/Application Support/mcp-server-for-bambu/~/.config/mcp-server-for-bambu/ (or $XDG_CONFIG_HOME)Versions up to 0.2.0 kept .env and maintenance.json inside the installed package, where npx updates could delete them. 0.3.0 still reads an old .env from there and copies an old ledger into the config directory on first start.
The ledger persists to a local JSON file and survives crashes (active sessions are checkpointed every 5 elapsed minutes). Thresholds are in src/types.ts:
| Task | Interval |
|---|---|
| Clean carbon rods | 100 print-hours |
| Lubricate linear rails | 200 print-hours |
| Inspect hotend / nozzle wear | 500 print-hours |
A task flips to DUE_SOON (🔔) within 10 hours of the threshold and OVERDUE (⚠️) past it.
npm run sim (from a clone, after npm install) starts a simulated P1S halfway through a Benchy, with a 4-slot AMS, on mqtts://127.0.0.1:8883. It answers status requests and applies pause, resume, cancel, speed, preheat, light and AMS commands. Point the server at it:
BAMBU_IP=127.0.0.1 BAMBU_SERIAL=01P00ASIMULATOR BAMBU_ACCESS_CODE=12345678 node dist/index.js
Set SIM_PORT to use another port, then pass the same value as BAMBU_MQTT_PORT. The test suite uses the same simulator.
git clone https://github.com/b84330808/mcp-server-for-bambu.git
cd mcp-server-for-bambu npm install npm test # builds, then runs unit + end-to-end tests against the simulator npm run dev # tsc --watch npm run sim # simulated printer
To run your local build from an MCP client, point it at node /absolute/path/to/mcp-server-for-bambu/dist/index.js.
src/
index.ts MCP server bootstrap + tool definitions config.ts Env / .env loading, LAN address check paths.ts Per-user config directory mqtt-client.ts TLS MQTT client for the printer (port 8883, self-signed cert) setup.ts setup_printer: validate, test the connection, save maintenance.ts Print-time ledger with crash-safe atomic writes + recovery hms.ts Bambu HMS error code → human label stages.ts Stage / speed / tray code → human label commands.ts MQTT command payloads sim/printer.mjs Simulated printer (aedes broker over TLS) plugins/ Claude Code plugin; .claude-plugin/marketplace.json lists it server.json MCP Registry metadata
Protocol notes:
device/{serial}/reportdevice/{serial}/request with {"pushing":{"sequence_id":"...","command":"pushall"}}bblp, password = access code, a random clientตัดมาแค่ช่วงต้น อ่านต่อใน repo