Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Pre-execution governance for AI agents. Validates tool calls before they execute.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"promptspeak": {
"command": "npx",
"args": [
"-y",
"@chrbailey/promptspeak-mcp-server"
]
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add promptspeak -- npx -y @chrbailey/promptspeak-mcp-serverวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"promptspeak": {
"command": "npx",
"args": [
"-y",
"@chrbailey/promptspeak-mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"promptspeak": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@chrbailey/promptspeak-mcp-server"
]
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub chrbailey ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.1) เข้า registry 8 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, Tools MCP
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.
Web production tools for AI agents: contrast, JP text, WebP, JSON-LD, slugs, dates and 40+ more
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Pre-execution governance for AI agents. Blocks dangerous tool calls before they execute.
AI agents call tools (file writes, API requests, shell commands) with no validation layer between intent and execution. A prompt injection, hallucinated argument, or drifting goal can trigger irreversible actions. PromptSpeak intercepts every MCP tool call, validates it against deterministic rules, and blocks or holds risky operations for human approval — in 0.1ms, before anything executes.
Add to ~/.claude/settings.json (or project-level .claude/settings.json):
{
"mcpServers": { "promptspeak": { "command": "npx", "args": ["promptspeak-mcp-server"] } } }
Restart Claude Code. All 56 governance tools are immediately available.
Add to claude_desktop_config.json:
{
"mcpServers": { "promptspeak": { "command": "npx", "args": ["promptspeak-mcp-server"] } } }
npm install promptspeak-mcp-server
git clone https://github.com/chrbailey/promptspeak-mcp-server.git
cd promptspeak-mcp-server npm install && npm run build npm start
Validate that a PromptSpeak frame is structurally and semantically correct before using it. Frames encode governance constraints as symbol sequences — mode first, then domain, action, and entity.
// Tool call: ps_validate
{ "name": "ps_validate", "arguments": { "frame": "⊕◊▶α", "validationLevel": "full" } }
// Response
{ "valid": true, "frame": "⊕◊▶α", "parsedFrame": { "mode": { "symbol": "⊕", "meaning": "strict" }, "domain": { "symbol": "◊", "meaning": "financial" }, "action": { "symbol": "▶", "meaning": "execute" }, "entity": { "symbol": "α", "meaning": "primary" } }, "parseConfidence": 1.0, "report": { "valid": true, "errors": [], "warnings": [ { "code": "ACTION_MISSING_DOMAIN", "message": "Consider adding domain context", "severity": "warning" } ] }, "summary": { "errors": 0, "warnings": 1, "passed": 16 } }
Invalid frames return actionable suggestions:
// Tool call: validate a frame with conflicting modes
{ "name": "ps_validate", "arguments": { "frame": "⊕⊖▶", "validationLevel": "semantic" } }
// Response: blocked — strict + flexible modes conflict { "valid": false, "summary": { "errors": 1, "warnings": 0, "passed": 10 }, "suggestions": ["Remove either ⊕ (strict) or ⊖ (flexible) - cannot have both"] }
When an agent attempts a risky operation (high drift score, low confidence, security finding), the action is held for human review instead of executing. This is the full hold lifecycle: list, inspect, approve or reject.
Step 1: List pending holds
// Tool call: ps_hold_list
{ "name": "ps_hold_list", "arguments": {} }
// Response: one hold awaiting human review
{ "holds": [ { "holdId": "hold_7k2m9x", "agentId": "devops-agent", "frame": "⊕◈▶α", "tool": "deploy_to_production", "severity": "high", "reason": "drift_prediction", "state": "pending", "evidence": { "driftScore": 0.72, "predictedDrift": 0.85 } } ], "count": 1, "expiredCount": 0 }
Step 2: Approve with modifications (or reject)
// Tool call: ps_hold_approve — approve but downgrade to staging
{ "name": "ps_hold_approve", "arguments": { "holdId": "hold_7k2m9x", "reason": "Reviewed — safe for staging, not production", "modifiedArgs": { "environment": "staging" } } }
// Response
{ "success": true, "decision": { "holdId": "hold_7k2m9x", "state": "approved", "decidedBy": "human", "reason": "Reviewed — safe for staging, not production" }, "executionResult": { "success": true } }
To reject instead:
{
"name": "ps_hold_reject", "arguments": { "holdId": "hold_7k2m9x", "reason": "Drift too high — recalibrate agent first", "haltAgent": true } } // Agent is halted (circuit breaker tripped) and the operation is denied.
Scan code content for security issues before an agent writes it to disk. Critical findings block execution; high-severity findings are held for human review.
// Tool call: ps_security_scan
{ "name": "ps_security_scan", "arguments": { "content": "const query = SELECT * FROM users WHERE id = ${userId};\nconst API_KEY = '[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]';" } }
// Response: two findings — one critical (blocked), one critical (blocked)
{ "findings": [ { "patternId": "sql-injection", "severity": "critical", "match": "SELECT * FROM users WHERE id = ${userId}", "line": 1, "context": "const query = SELECT * FROM users WHERE id = ${userId};", "suggestion": "Use parameterized queries or prepared statements instead of template literals" }, { "patternId": "hardcoded-secret", "severity": "critical", "match": "API_KEY = '[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]'", "line": 2, "context": "const API_KEY = '[PopNx MCP ตัดค่าที่หน้าตาเหมือนกุญแจออก]';", "suggestion": "Move secrets to environment variables or a secrets manager" } ], "scannedAt": "2026-03-19T12:00:00.000Z", "contentLength": 98, "patternsChecked": 10, "enforcement": { "blocked": [ { "patternId": "sql-injection", "severity": "critical" }, { "patternId": "hardcoded-secret", "severity": "critical" } ], "held": [], "warned": [], "logged": [] } }
Use ps_security_gate instead of ps_security_scan to enforce the policy — it blocks on critical, holds high-severity for human review, and warns on medium:
// Tool call: ps_security_gate — scan AND enforce
{ "name": "ps_security_gate", "arguments": { "content": "app.use(cors());\napp.listen(0.0.0.0, 3000);", "action": "write_file" } }
// Response: held for review (insecure defaults = high severity) { "decision": "held", "reason": "Security: 1 high-severity finding(s) held for review — insecure-defaults", "scan": { "findings": [{ "patternId": "insecure-defaults", "severity": "high", "line": 1 }] } }
Every tool call passes through this pipeline. If any stage fails, execution is blocked.
Agent calls tool
│ ├─ 1. Circuit Breaker ──── Halted agents blocked instantly (no further checks) ├─ 2. Frame Validation ─── Structural, semantic, and chain rule checks ├─ 3. Drift Prediction ─── Pre-flight behavioral anomaly detection ├─ 4. Hold Check ────────── Risky operations held for human approval ├─ 5. Interceptor ───────── Final permission gate (confidence thresholds) ├─ 6. Security Scan ─────── Scans write actions for vulnerabilities (see below) ├─ 7. Tool Execution ────── Only reached if all 6 pre-checks pass ├─ 8. Post-Audit ────────── Confirms behavior matched prediction └─ 9. Immediate Action ──── Halts agent if critical drift detected post-execution
Stages 1-6 are pre-execution — the tool never runs if any check fails. Stages 8-9 are post-execution — they detect drift and can halt the agent for future calls.
When an agent writes code (write_file, edit_file, create_file, patch_file), the content is scanned against 10 detection patterns before execution. Severity determines enforcement:
| Severity | Enforcement | What it catches |
|---|---|---|
| CRITICAL | Blocked — execution denied | SQL injection via template literals, hardcoded API keys/passwords/tokens |
| HIGH | Held — queued for human review | Security-related TODOs, logging sensitive data, insecure defaults (cors(), 0.0.0.0, debug: true) |
| MEDIUM | Warned — logged, execution continues | Empty catch blocks, hedging comments ("probably works"), disabled tests |
| LOW | Logged — no enforcement | DROP TABLE, rm -rf (flagged for awareness) |
All claims below are backed by passing tests (104 tests across 5 test files):
api_key = "sk-1234567890abcdef" is caught; API_KEY = process.env.API_KEY is not. SQL injection catches \SELECT * FROM users WHERE id = ${id}\ but not parameterized queries (db.query("SELECT * FROM users WHERE id = ?", [id])).read_file and other non-write actions pass through without scanning, even if their arguments contain vulnerable code. Tested.ps_security_config. A disabled pattern stops firing immediately. Changing a pattern from medium to critical makes it block instead of warn. Tested end-to-end.security_finding HoldReason. They appear in ps_hold_list and can be approved/rejected through the normal hold flow.intercept() method for direct tool calls. If an agent uses ps_execute (the governed execution path), the scan runs only if the inner tool is a write action AND the content is passed as a top-level arg. Nested argument structures may bypass scanning. Why: ps_execute wraps tool calls in its own argument schema; the scanner checks proposedArgs.content, not deeply nested fields.ตัดมาแค่ช่วงต้น อ่านต่อใน repo