原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

PromptSpeak Governance

作者:chrbailey版本 0.4.1i★ –i在你的电脑上运行
注册名称io.github.chrbailey/promptspeak

安装

概览

作者提供的说明(英文原文)

Pre-execution governance for AI agents. Validates tool calls before they execute.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "promptspeak": {
      "command": "npx",
      "args": [
        "-y",
        "@chrbailey/promptspeak-mcp-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "promptspeak": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@chrbailey/promptspeak-mcp-server"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 chrbailey 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32688 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32688 个服务器的 4% 更新
  • 基础检查结果等于或优于此分类中其他 32688 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

PromptSpeak Governance 安全吗?

它在 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

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

promptspeak-mcp-server

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.

When to use this

  • You run AI agents that call tools (MCP servers, function calling, tool use) and need a governance layer between the agent and the tools.
  • You need human-in-the-loop approval for high-risk operations (production deployments, financial transactions, legal filings).
  • You want to detect behavioral drift — an agent gradually shifting away from its assigned task.
  • You need an audit trail of every tool call an agent attempted, whether it was allowed or blocked.
  • You operate in a regulated domain (legal, financial, healthcare) where agent actions must be deterministically constrained.

Install

Claude Code

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.

Claude Desktop

Add to claude_desktop_config.json:

{

"mcpServers": { "promptspeak": { "command": "npx", "args": ["promptspeak-mcp-server"] } } }

As a library
npm install promptspeak-mcp-server
From source
git clone https://github.com/chrbailey/promptspeak-mcp-server.git

cd promptspeak-mcp-server npm install && npm run build npm start

Usage examples

1. Validate a governance frame

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"] }

2. Hold queue workflow — human-in-the-loop approval

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.

3. Security scanning — catch vulnerabilities before execution

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 }] } }

How it works: 9-stage validation pipeline

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.

Security scanning

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:

SeverityEnforcementWhat it catches
CRITICALBlocked — execution deniedSQL injection via template literals, hardcoded API keys/passwords/tokens
HIGHHeld — queued for human reviewSecurity-related TODOs, logging sensitive data, insecure defaults (cors(), 0.0.0.0, debug: true)
MEDIUMWarned — logged, execution continuesEmpty catch blocks, hedging comments ("probably works"), disabled tests
LOWLogged — no enforcementDROP TABLE, rm -rf (flagged for awareness)
What works (tested)

All claims below are backed by passing tests (104 tests across 5 test files):

  • Pattern detection works. Each of the 10 patterns is tested for true positives AND false positives. Example: 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])).
  • Severity enforcement works. Critical findings block execution. High findings hold for review. Medium findings warn but allow. Tested end-to-end through the interceptor pipeline.
  • Only write actions are scanned. read_file and other non-write actions pass through without scanning, even if their arguments contain vulnerable code. Tested.
  • Runtime configuration works. Patterns can be enabled/disabled and severity can be changed at runtime via 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.
  • Performance is fine. 100-line file scans complete in under 10ms. Tested.
  • Multiple findings in one file work. A file with 6 different vulnerability types correctly classifies each into the right severity bucket. Tested.
What does NOT work yet
  • ~~No hold queue integration for HIGH findings.~~ FIXED. HIGH-severity security findings now create real holds in HoldManager via security_finding HoldReason. They appear in ps_hold_list and can be approved/rejected through the normal hold flow.
  • No auto-scan on `ps_execute`. The security scan only triggers in the interceptor's 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.
  • No file-path-based scanning. The scanner only examines content passed as arguments. It cannot scan files already on disk — it doesn't read from the filesystem. Why: The scanner is a pure function that takes a string. Adding filesystem access would change the security model.
  • Patterns are regex-based, not AST-aware. The patterns use regular expressions, which means they can't u

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx