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.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"promptspeak": {
"command": "npx",
"args": [
"-y",
"@chrbailey/promptspeak-mcp-server"
]
}
}
}在终端中运行这条命令
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"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"promptspeak": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@chrbailey/promptspeak-mcp-server"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 chrbailey 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.4.1)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, 御府和田玉 在售作品查询
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
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.
Live in-stock Hetian jade from Yufu, Shanghai: prices, monthly price guide, book a viewing.
按原文从作者的仓库复制。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.只显示了开头部分;其余内容请在仓库中阅读