Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Agentic UX testing for real Electron apps: launch, inspect, interact, and assert through MCP.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"core": {
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add core -- npx -y @electron-stagewright/coreวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"core": {
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"core": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@electron-stagewright/core"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub electron-stagewright ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.8.1) เข้า registry 8 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, yontu
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.
Türkçe yazı denetimi: TDK kuralları, yapay zekâ izleri, metin türüne göre üslup.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Agentic UX testing for real Electron apps. Cue the app, prove the experience, and return bounded evidence through MCP.
Electron Stagewright is a Model Context Protocol (MCP) server that lets Claude Code, Codex, Cursor, Cline, Aider, and any MCP-compatible agent operate real Electron applications. Launch or attach, inspect the accessibility tree, interact through stable refs, assert behavior with retrying expectations, and capture diagnostics without turning every check into another agent round-trip.
Browser automation already has mature agent tooling. Electron adds a different boundary: the main process, renderer surfaces, native menus and dialogs, multiple windows, packaged runtimes, and signed release artifacts. A browser API exposed through MCP does not cover that whole product.
Electron Stagewright is designed agent-first from the primitive level up:
{ visible: true, enabled: true, focused: false } evaluated atomically by the server. One call replaces three.electron_snapshot({ since: 'last' }) returns only deltas. Fewer APIs to remember.electron_snapshot({ format: 'text' }) renders one line per element ([3] textbox "Email" value="" focused) with only non-default state, cutting snapshot tokens 5-10x versus the JSON shape when the agent just needs to look.expect_* primitives replace read-compare-retry chains** — electron_expect_text({ ref, equals: 'Welcome', timeoutMs: 5000 }) is one call, not five.{ role: 'button', name_contains: 'Submit', visible: true } — no CSS selectors, no XPath, no guessing.The server treats three Electron-specific workflows as first-class:
electron_attach connects to apps exposing a loopback CDP endpoint, and electron_inject can attach to a running main process via the Node Inspector handshake when no debug flag was arranged up front.trace.zip but designed for LLM agent sessions: a timeline of tool calls, arguments, results, timings, and token estimates — replayable against a fresh app instance, with budgets so agents can cap runaway loops.codesign, Gatekeeper assessment, autoUpdater feed inspection, URL-scheme declaration checks, and crash reporter machinery. The full production surface, not just dev.Microsoft's official Playwright MCP team explicitly declined to support Electron ("you can release your own server for Electron" — Pavel Feldman, lead). This project takes the invitation seriously.
Requires Node.js 24 or newer (node -v); on Linux the server also needs a display (DISPLAY, WAYLAND_DISPLAY, or xvfb-run -a). The default launch transport uses Playwright and an Electron runtime. For a private setup in the current project, keep the server local to that project and pin the release-tested package set.
Before configuring an MCP host, prepare the same package set once in a terminal. Electron downloads its binary the first time something loads it, not during install, and that download prints a progress line to stdout; inside an MCP session the line would land in the protocol stream. Fetch the binary with Electron's install-electron bin, then run doctor, which reports "ok": true and exits 0 when every required check passes:
npx -y --prefix ~/ --package @electron-stagewright/core@0.8.1 \
--package playwright@1.63.0 --package electron@42.11.10 install-electron npx -y --prefix ~/ --package @electron-stagewright/core@0.8.1 \ --package playwright@1.63.0 --package electron@42.11.10 electron-stagewright doctor --json
claude mcp add electron-stagewright -- \
npx -y --prefix ~/ --package @electron-stagewright/core@0.8.1 \ --package playwright@1.63.0 --package electron@42.11.10 \ electron-stagewright --tool-profile essential
claude mcp list should then show the server as connected (or run /mcp inside a session), and its tools appear as mcp__electron-stagewright__electron_launch and so on. Keep the --package list identical across all three commands: npx caches each list separately, so adding the demo or a plugin package means running install-electron and doctor again with the new list. Keep --prefix ~/ too: without it, npx skips any listed package the current project already has at that version (an Electron app often has both Playwright and Electron), and the server, which runs from npx's cache, cannot load it. The server still runs in the current directory. To move to a newer release later, follow Update to a new release.
The default Claude Code scope is local: it is available only in the current project and stays out of unrelated workspaces. To share a reviewed configuration with a team, use --scope project, which writes the same mcpServers shape to .mcp.json. See the Claude Code MCP scopes for the host-specific behavior.
To verify a host before pointing it at your app, add the pinned @electron-stagewright/demo@0.1.0 package and use the demo guide. The demo is opt-in, so a normal core installation neither loads nor depends on it.
For local development, build the checkout and point your MCP host at the built CLI:
pnpm install
pnpm build
claude mcp add electron-stagewright -- \ node /abs/path/to/electron-stagewright/packages/core/dist/cli.js
Shared project .mcp.json shape:
{
"mcpServers": { "electron-stagewright": { "command": "npx", "args": [ "-y", "--prefix", "~/", "--package", "@electron-stagewright/core@0.8.1", "--package", "playwright@1.63.0", "--package", "electron@42.11.10", "electron-stagewright", "--tool-profile", "essential" ] } } }
Then from any MCP-compatible agent (tool names as Claude Code shows them; other hosts prefix them differently):
// Launch
mcpelectron-stagewrightelectron_launch({ main: "/abs/path/to/.vite/build/main.js", env: { MY_ENV_VAR: "value" } })
// Inspect with full state per ref mcpelectron-stagewrightelectron_snapshot() // → [1] button "Open File" enabled=true visible=true // [2] button "Settings" enabled=true visible=true // [3] textbox "Email" value="" focused=false // [4] heading "Welcome"
// Interact by ref mcpelectron-stagewrightelectron_click({ ref: 2 })
// Wait for a composite state in one call mcpelectron-stagewrightelectron_wait_for_state({ ref: 3, state: { focused: true, enabled: true }, timeoutMs: 2000 })
// Assert + retry in one call instead of read-compare-retry chain mcpelectron-stagewrightelectron_expect_text({ ref: 4, equals: "Welcome back" })
// Stop mcpelectron-stagewrightelectron_stop()
The full tool list — every tool, its parameters, and operation type — is in TOOL-REFERENCE.md, generated from the live dispatcher manifest (pnpm docs:tools).
expect_* family, waits, and snapshot diffs.replace, the auto-pairing caveat, and how to verify the text landed.electron_plugins.--allow-eval, and a deployment checklist.Pass these after the CLI path in your MCP host config (the args array). All default to the safe option; diagnostics go to stderr (stdout is reserved for the JSON-RPC protocol channel).
| Flag | Effect
ตัดมาแค่ช่วงต้น อ่านต่อใน repo