Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Search, retrieve, store, view, measure and de-identify DICOM images over DIMSE and DICOMweb.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
AZURE_DICOM_TOKEN, DICOM_AGENT_MCP_DEID_KEYค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"dicom-agent": {
"command": "uvx",
"args": [
"dicom-agent-mcp"
],
"env": {
"AZURE_DICOM_TOKEN": "ใส่ค่าของคุณ",
"DICOM_AGENT_MCP_DEID_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add dicom-agent --env AZURE_DICOM_TOKEN='ใส่ค่าของคุณ' --env DICOM_AGENT_MCP_DEID_KEY='ใส่ค่าของคุณ' -- uvx dicom-agent-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"dicom-agent": {
"command": "uvx",
"args": [
"dicom-agent-mcp"
],
"env": {
"AZURE_DICOM_TOKEN": "ใส่ค่าของคุณ",
"DICOM_AGENT_MCP_DEID_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"dicom-agent": {
"type": "stdio",
"command": "uvx",
"args": [
"dicom-agent-mcp"
],
"env": {
"AZURE_DICOM_TOKEN": "ใส่ค่าของคุณ",
"DICOM_AGENT_MCP_DEID_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub arunmk-ms ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: AZURE_DICOM_TOKEN, DICOM_AGENT_MCP_DEID_KEY
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 5 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี 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 รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
An MCP (Model Context Protocol) server that gives AI agents one set of tools for both DIMSE archives (C-ECHO, C-FIND, C-GET, C-MOVE, C-STORE) and DICOMweb archives (QIDO-RS, WADO-RS, STOW-RS).
It also includes pixel and geometry tools that work on local files: rendering, statistics, measurement, geometry checks, multiplanar reconstruction (MPR) and de-identification. This is the tool layer for Topic 3 (Validated Tool Execution). The verification loop comes later; see ROADMAP.md.
Not for clinical use. This is a research scaffold. Use only with test or de-identified data.
| Tool | DIMSE node | DICOMweb node | Notes |
|---|---|---|---|
list_nodes | – | – | Lists configured nodes; secrets are never returned |
echo | C-ECHO | GET /studies?limit=1 | Connectivity check |
search | C-FIND | QIDO-RS | Levels: patient, study, series, instance. Supports wildcards and date ranges. Paging uses offset/limit. QIDO has no patient level |
get_metadata | C-FIND (indexed attributes only) | WADO-RS /metadata | Returns keyword-based JSON; bulk data is summarised |
retrieve | C-GET | WADO-RS | Saves files to storage_dir/ / / .dcm |
move | C-MOVE | – | Destination is a node name or an AE title |
store | C-STORE | STOW-RS | Accepts files or directories inside the sandbox |
transfer | retrieve + store | retrieve + store | Works across protocols (e.g. PACS → DICOMweb) |
list_local_files | – | – | Lists cached or allowed DICOM files |
read_local_metadata | – | – | Reads a local file header without pixel data |
| Tool | What it does |
|---|---|
render_image | Renders one frame to a PNG and returns it alongside JSON. Windowing comes from explicit centre/width values, a preset (lung, mediastinum, soft_tissue, abdomen, liver, bone, brain, subdural, stroke), the file's window, or 0.5–99.5 percentiles. Corrects for non-square pixels and MONOCHROME1, and labels the edges with patient directions (for example R/L, A/P) |
pixel_statistics | Reports min, max, mean, standard deviation, percentiles and a voxel count for a frame or a rectangular/elliptical ROI. ROIs can be given in pixels or mm. Values are in modality units (HU for CT) and the ROI area is reported in mm² |
measure_distance | Measures the in-plane distance in mm between two pixels and returns both points in patient (LPS) coordinates |
check_geometry | Groups files into series and checks whether each one can be treated as a volume. Issues are reported with codes such as MISSING_SLICES, NON_UNIFORM_SPACING, DUPLICATE_POSITIONS, MIXED_ORIENTATION, OBLIQUE, SHEARED_STACK and INSTANCE_ORDER_MISMATCH |
render_mpr | Renders an axial, coronal or sagittal slice reformatted from a series that passes check_geometry. The PNG uses true mm aspect and radiological orientation |
deidentify | Writes de-identified copies under storage_dir/deidentified using a subset of the Basic Profile. See De-identification |
Every pixel result includes an input_fingerprint: a SHA-256 hash of the decoded pixels and geometry. It does not change with the transfer syntax, and the verification loop uses it to bind results to their inputs.
| Tool | What it does |
|---|---|
verify_claim | Re-runs pixel_statistics, measure_distance or check_geometry and compares the values the agent intends to report (for example {"mean": 47.2}) with the fresh result. It returns a verdict for each field. The default tolerance is half a unit in the last decimal of the claimed value |
get_verification | Looks up ledger records by id or by fingerprint, and checks the integrity of the hash chain |
See Verification loop.
Each tool carries MCP annotations (readOnlyHint, destructiveHint, idempotentHint) so a harness can decide which tools need approval.
python -m venv .venv
.venv\Scripts\python -m pip install -e ".[dev]"
.venv\Scripts\python -m pip install -e ".[codecs]"
No config file is needed. Pass nodes and paths as arguments in the harness config; add a YAML file only for advanced settings.
| Argument | Meaning |
|---|---|
--node SPEC | Adds a node. Repeatable. See the node spec below |
--storage-dir DIR | Local cache for retrieved files and renders. Default ~/.dicom-agent-mcp/cache |
--allow-path DIR | Extra directory that the local-file and pixel tools may read. Repeatable |
--calling-ae AE | AE title this server uses for DIMSE. Default DICOM_MCP; register it on your PACS |
--verification MODE | off, advisory (default) or enforce. See Verification loop |
--config FILE | Optional YAML file (see below) |
--print-config | Prints the resolved settings and exits. Useful for checking a harness setup |
Node spec: name=URL[;option;option…]
| URL | Node type |
|---|---|
dimse://AE_TITLE@host:port | DIMSE (C-FIND, C-GET, C-MOVE, C-STORE) |
http://… or https://… | DICOMweb base URL (QIDO-RS, WADO-RS, STOW-RS) |
| Option | Meaning |
|---|---|
read-only | store, move and transfer refuse to write to this node |
token-env=VAR | DICOMweb bearer token read from environment variable VAR |
user=NAME;password-env=VAR | DICOMweb basic auth; the password is read from VAR |
no-verify-tls | Skip TLS certificate checks (test servers only) |
transfer-syntax=UID | Transfer syntax requested from WADO-RS. Empty means the server default; the default * keeps the stored encoding |
Examples:
--node orthanc=dimse://ORTHANC@localhost:4242
--node orthanc-web=http://localhost:8042/dicom-web --node "azure=https:// - .dicom.azurehealthcareapis.com/v2;token-env=AZURE_DICOM_TOKEN;read-only"
Secrets never go in arguments. Arguments are visible in process lists and are often committed in mcp.json. Put tokens and passwords in environment variables and pass only the variable name.
With no --node, the server still starts: the local-file and pixel tools work on files under the allowed paths.
Every argument has an environment-variable equivalent, which suits Docker and CI:
| Variable | Equivalent |
|---|---|
DICOM_AGENT_MCP_NODES | --node; several specs separated by spaces |
DICOM_AGENT_MCP_STORAGE_DIR | --storage-dir |
DICOM_AGENT_MCP_ALLOWED_PATHS | --allow-path; several paths separated by ; on Windows or : elsewhere |
DICOM_AGENT_MCP_CALLING_AE | --calling-ae |
DICOM_AGENT_MCP_VERIFICATION | --verification |
DICOM_AGENT_MCP_CONFIG | --config |
Use a file for settings that have no argument: timeouts, max_results, max_volume_voxels, deid_key_env and node descriptions. See config.example.yaml. If ./dicom-agent-mcp.yaml exists in the working directory, it is loaded automatically. Relative paths in a file resolve against the file's directory; relative paths in arguments and environment variables resolve against the working directory.
Precedence: config file, then environment variables, then arguments. Later sources override single values, nodes are merged by name (a --node with the same name replaces the file's node), and allowed paths are combined.
dicom-agent-mcp --node orthanc=dimse://ORTHANC@localhost:4242 # stdio
dicom-agent-mcp --node orthanc=dimse://ORTHANC@localhost:4242 --transport streamable-http --port 8000 dicom-agent-mcp --node orthanc=dimse://ORTHANC@localhost:4242 --print-config # check settings
.vscode/mcp.json){
"inputs": [ { "id": "azureToken", "type": "promptString", "description": "Azure DICOM access token", "password": true } ], "servers": { "dicom": { "type": "stdio", "command": "${workspaceFolder}/.venv/Scripts/dicom-agent-mcp", "args": [ "--node", "orthanc=dimse://ORTHANC@localhost:4242", "--node", "orthanc-web=http://localhost:8042/dicom-web", "--node", "azure=https:// - .dicom.azurehealthcareapis.com/v2;token-env=AZURE_DICOM_TOKEN;read-only", "--storage-dir", "${workspaceFolder}/dicom-cache", "--allow-path", "${workspaceFolder}/inbox" ], "env": { "AZURE_DICOM_TOKEN": "${input:azureToken}" } } } }
{
"mcpServers": { "dicom": { "command": "dicom-agent-mcp", "args": [ "--node", "orthanc=dimse://ORTHANC@localhost:4242", "--allow-path", "C:/data/dicom-inbox" ] } } }
Use absolute paths here: these harnesses may start the server in any working directory. To use a file instead, pass "args": ["--config", "C:/path/to/dicom-agent-mcp.yaml"].
docker-compose up -d # DIMSE on 4242, DICOMweb on http://localhost:8042/dicom-web (compose file not yet tested)
These prompts assume three nodes: orthanc (DIMSE), orthanc-web (DICOMweb) and azure-dicom, for example:
--node orthanc=dimse://ORTHANC@localhost:4242 --node orthanc-web=http://localhost:8042/dicom-web
--node "azure-dicom=https:// - .dicom.azurehealthcareapis.com/v2;token-env=AZURE_DICOM_TOKEN"
The tool the agent is expected to call is shown after each prompt.
| Prompt | Tool |
|---|---|
| "Which DICOM nodes are configured, and which ones are read-only?" | list_nodes |
"Check whether orthanc and azure-dicom are reachable." | echo |
| Prompt | Tool |
|---|---|
"Find all CT studies on orthanc from the last 30 days." | search (C-FIND) |
"List the series in study 1.2.840… on orthanc-web, with modality and number of images." | search (QIDO-RS) |
"Find patients whose name starts with DOE^." | search at patient level (DIMSE nodes only) |
"Show the acquisition parameters for series 1.2.840…: slice thickness, kVp and pixel spacing." | get_metadata |
| Prompt | Tool |
|---|---|
"Download the chest CT series from orthanc into the local cache." | retrieve |
"Send study 1.2.840… from orthanc to the AE title WORKSTATION1." | move (C-MOVE) |
"Upload the files in ./inbox/case42 to orthanc-web." | store (STOW-RS) |
"Copy series 1.2.840… from orthanc to azure-dicom." | transfer (works across protocols) |
| Prompt | Tool |
|---|---|
| "What DICOM files do I have locally?" | list_local_files |
"Read the header of ./dicom-cache/…/x.dcm. Is it compressed? What is the photometric interpretation?" | read_local_metadata |
| Prompt | Tool |
|---|---|
| "Show me slice 40 of that series in a lung window." | render_image (preset) |
| "Render it again with centre 40 and width 400." | render_image (explicit window) |
| "What is the mean HU in a 10 mm circle centred at row 256, column 300?" | pixel_statistics (ellipse in mm) |
| "Give me the minimum, maximum and 95th percentile for the whole frame." | pixel_statistics |
| "How far apart in mm are pixel (120, 200) and pixel (180, 260)?" | measure_distance |
| "Can this series be used as a 3D volume? Report any missing slices or uneven spacing." | check_geometry |
| "Show the middle coronal slice in a bone window." | render_mpr |
| "Show sagittal slice 100." | render_mpr |
| Prompt | Tool |
|---|---|
| "De-identify the downloaded study, shift the dates and drop private tags." | deidentify |
| "De-identify it but k
ตัดมาแค่ช่วงต้น อ่านต่อใน repo