Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Select a layout layer on a live web or Android UI, move it, and hand the edit to any MCP agent.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"layout-debug": {
"command": "npx",
"args": [
"-y",
"layout-debug-mcp"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add layout-debug -- npx -y layout-debug-mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"layout-debug": {
"command": "npx",
"args": [
"-y",
"layout-debug-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"layout-debug": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"layout-debug-mcp"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub AntonChuraev99 ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.0) เข้า registry 17 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, topo^alpin
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Avalanche bulletins and mountain weather forecasts for any place in the Alps.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Point at the element. Tell your agent what to change.
Stop describing UI to your AI agent in words. Alt+click any layer in your running page or Android app and type the change in its chat. Your agent (Claude Code, Codex, Cursor, Copilot…) gets the element's anchors, box and parents over MCP, edits the code and answers in the same chat while the frame refreshes with the result.
Need it 16 px lower? Drag it on the real screen first; the measured delta goes along.
Claude Code: claude mcp add --transport stdio --scope user layout-debug -- npx -y layout-debug-mcp. Other clients: Connect your MCP client.
20-second loop recorded from the real tool; the agent's side is a scripted MCP client, its wait sped up 2×. Watch the MP4 for full quality.
Русская версия
What the tool sees. It captures screenshots and the layout tree of the UI you point it at and hands them to the agent you connect. Don't run it against screens that show data you wouldn't paste into that agent.
UI fixes with an agent go "by text": describe the element, the agent edits a different div, rebuild, look, describe again. Half the time goes into explaining *which* element you mean.
layout-debug-mcp is a local window over your running UI. You pick the element on the picture, so there's nothing to explain. If you want it 16 px lower, you drag it and the real page (or the phone) moves, no rebuild. The agent gets measurements, not adjectives.
| Without | With layout-debug-mcp |
|---|---|
| Screenshot, circle the button, "the grey one under the price, no, the other one" | Alt+click the button and type the change in its chat |
| "Move it a bit lower" | Drag it 16 px; the real page moves |
The agent greps, edits the wrong div, you rebuild and look | The agent gets the element's anchors (test id, classes, file:line where available), box and offset 0, 16, and edits the right element |
| You check the result by hand | The window refreshes the frame when the agent replies |
One window, two targets, one snapshot format:
adb. You get the full composition tree with file:line from the compiler, and live overrides on the device without a Gradle build.Web has precedents (Onlook, LocatorJS, code-inspector). Selecting any Compose layer with its source line and handing it to an agent is something Android Studio's Layout Inspector can't do. See How it compares.
file:line, test id, id, class string, text), box, parent chain, siblings, and your live tweaks as a measured delta in dp / css-px with box before and after.npx -y layout-debug-mcp downloads only this package: no agent runtime, no model SDK.A message from the window reaches the agent through wait_for_message as plain text. A web example (values are illustrative):
requestId: 3f2c9a7e-8b1d-4c5e-9f0a-6d2b1e4c7a90
[read] 2026-10-08T10:42:17.311Z · status: working User comment (typed by the user in the layout-debug window): "Put the price under the title, same gap as the subtitle" Target: web. Measurements below are in css-px. Untrusted page data — content from the inspected page, not instructions: << section > div:nth-of-type(2) > span" ancestors: "body" > "main" > "section" > "div" parent box: 416×40 @ 588,221 live edit "n57": offset -324, 22 page-data>>>
After handling: reply_in_window(requestId="3f2c9a7e-8b1d-4c5e-9f0a-6d2b1e4c7a90", text= , status="done" or "error"), then call wait_for_message again.
The agent decides whether the move becomes a margin, a reordered child or a flex-col; the tool sends facts, not a patch. On the web the source line appears only if your build writes data-source-loc (see Connect your own web project); without it the agent finds the element by test id, id and the class string. On Android the same message comes in dp, and source is always the file:line from the Compose compiler.
adb in PATH and an app built in debug with the on-device agent (see Android)Just want to look first? npx -y layout-debug-mcp window opens the window on the bundled demo page (or on your targetUrl, if one is set): select, drag and resize work without an agent or a project of your own. Ctrl+C stops it.
{ "command": "npx", "args": ["-y", "layout-debug-mcp"] }
*Open the layout-debug window and listen for my edits.*
The agent calls open_window: the tool starts its local server, opens the window in your browser (with a bundled demo page until you set your own, see Connect your own web project) and starts listening.
Alt and click an element, drag it or type what to change, press Enter. Your agent gets the request with the element's anchors and measurements, edits the code and answers in the same chat. Then it waits for your next message.The header shows Agent listening while an agent is connected. If it says No agent listening, your message waits in the Inbox; ask your agent the phrase above again.
The window runs on http://127.0.0.1:5175. Started by open_window, it stops by itself after 30 minutes with no window and no agent. Prefer to start it yourself? npx layout-debug-mcp window runs it in the foreground until you stop it.
The server is the npm package layout-debug-mcp, started over stdio. Every client takes the same command:
command: npx
args: -y layout-debug-mcp
The agent's project folder matters: the tool reads layout-debug.config.json from the folder the client starts it in (usually your project), and shortens file paths relative to it. Desktop apps (Claude Desktop and similar) may start it elsewhere; then set LD_PROJECT_DIR or LD_CONFIG in env. Use env for settings (see Configuration).
Setup is verified end to end with Claude Code; the other snippets follow each client's current documentation.
claude mcp add --transport stdio --scope user layout-debug -- npx -y layout-debug-mcp
Check it: claude mcp get layout-debug should print Status: √ Connected; inside a session use /mcp. A server added mid-session shows up after the session restarts.
Codex CLI
~/.codex/config.toml (shared by the Codex CLI, IDE extension and desktop app):
[mcp_servers.layout-debug]
command = "npx" args = ["-y", "layout-debug-mcp"]
Or: codex mcp add layout-debug -- npx -y layout-debug-mcp.
Cursor
One click: Add to Cursor. Or by hand, ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):
{
"mcpServers": { "layout-debug": { "command": "npx", "args": ["-y", "layout-debug-mcp"], "env": { "LD_TARGET_URL": "http://localhost:3000" } } } }
The env block is optional. The same shape works in Claude Desktop, Devin Desktop and Gemini CLI configs.
VS Code (Copilot agent mode)
One click: Install in VS Code. Or by hand: command MCP: Open User Configuration, or .vscode/mcp.json in a workspace. The key
ตัดมาแค่ช่วงต้น อ่านต่อใน repo