World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
Human approval gate for AI agents: risk-scored requests that only a person can approve
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月14日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
需要先在电脑上安装 Node.js(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
SettingsDeveloperEdit Config
{
"mcpServers": {
"approval-queue": {
"command": "npx",
"args": [
"-y",
"@opafex/mcp-approval-queue"
]
}
}
}用 MCP Approval Queue 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 MCP Approval Queue,或回答中出现 MCP Approval Queue 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
APPROVAL_QUEUE_STATE_DIR Directory holding state.json; the server and the CLI must share it (default ~/.opafex/approval-queue)APPROVAL_QUEUE_TTL_HOURS Hours before an undecided request expires (default 24)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 MCP Approval Queue
MCP Approval Queue 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 MCP Approval Queue 的应用
B · 其他 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user approval-queue -- npx -y @opafex/mcp-approval-queue应能看到 MCP Approval Queue 在列表中并显示已连接
用 MCP Approval Queue 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 MCP Approval Queue,或回答中出现 MCP Approval Queue 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
APPROVAL_QUEUE_STATE_DIR Directory holding state.json; the server and the CLI must share it (default ~/.opafex/approval-queue)APPROVAL_QUEUE_TTL_HOURS Hours before an undecided request expires (default 24)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
用 MCP Approval Queue 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 MCP Approval Queue,或回答中出现 MCP Approval Queue 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
APPROVAL_QUEUE_STATE_DIR Directory holding state.json; the server and the CLI must share it (default ~/.opafex/approval-queue)APPROVAL_QUEUE_TTL_HOURS Hours before an undecided request expires (default 24)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
需要先在电脑上安装 Node.js(只需一次)
用 MCP Approval Queue 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 MCP Approval Queue,或回答中出现 MCP Approval Queue 的工具名称,就表示连接成功
上面的命令不填这些也能用。想调整时再按开发者的说明添加。
APPROVAL_QUEUE_STATE_DIR Directory holding state.json; the server and the CLI must share it (default ~/.opafex/approval-queue)APPROVAL_QUEUE_TTL_HOURS Hours before an undecided request expires (default 24)说明仍为英文原文。
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user approval-queue -- npx -y @opafex/mcp-approval-queueClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"approval-queue": {
"command": "npx",
"args": [
"-y",
"@opafex/mcp-approval-queue"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"approval-queue": {
"command": "npx",
"args": [
"-y",
"@opafex/mcp-approval-queue"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"approval-queue": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@opafex/mcp-approval-queue"
]
}
}
}APPROVAL_QUEUE_STATE_DIR envAPPROVAL_QUEUE_TTL_HOURS env说明仍为英文原文。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月14日
注册名称已通过 GitHub 账户 Opafex 验证,该账户拥有此仓库
代码最后更新于5天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于5天前,最新版本(0.2.0)于20天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:World Monitor, Claude Flow, Windmill
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A human-in-the-loop approval gate for AI agents, as an MCP server.
The agent calls request_approval before doing something risky. The action is risk-scored, and unless a rule you set covers it, you decide — in a form your MCP client shows you (MCP elicitation), or from a terminal. The agent gets a proceed: true|false it can act on.
The agent can ask; only a human can approve. There is no approve, reject or add-rule tool for the model to call. An approval gate the gated agent can open is not a gate.
Requires Node.js 20+.
Add to your client's MCP config (for Claude Code, .mcp.json in your project root):
{
"mcpServers": { "approval-queue": { "command": "npx", "args": ["-y", "@opafex/mcp-approval-queue"] } } }
Then tell the agent when to use it, for example in your project instructions:
Before deleting data, sending email, spending money or deploying, call
request_approvaland only continue ifproceedis true.
bulk_delete_users is a delete wherever the word sits — plus params.estimatedCost. The agent may pass a category, but it can only raise the score, never lower it.check_status:bash npx @opafex/mcp-approval-queue pending npx @opafex/mcp-approval-queue approve appr_3f9c1a2b4d5e --reason "checked the recipient list" npx @opafex/mcp-approval-queue reject appr_3f9c1a2b4d5e
APPROVAL_QUEUE_TTL_HOURS) and can no longer be approved.After five human approvals of the same action with no rejection, the next form suggests *always approve*. Auto-approvals do not count towards that — the system agreeing with itself is not evidence.
| Tool | Description |
|---|---|
request_approval | Submit an action (action, optional params, context, category, wait). Returns status, proceed, risk, and what to do next. |
check_status | Re-read a request by id. |
list_pending | Requests still waiting for a human, newest first. |
list_rules | The auto-approval rules a human has set (read-only). |
status is one of pending, approved, rejected, auto_approved, expired. Proceed only when proceed is true.
| URI | Contents |
|---|---|
approval://stats | Counts by status and the average time a human took to decide |
approval://rules | Current auto-approval rules |
approval://history | Last 50 decisions |
mcp-approval-queue start the MCP server (stdio)
mcp-approval-queue pending list requests waiting for a decision mcp-approval-queue show one request in full mcp-approval-queue approve [--always] [--reason ] mcp-approval-queue reject [--reason ] mcp-approval-queue rules list rules mcp-approval-queue rules add --max-risk [--description ] mcp-approval-queue rules remove mcp-approval-queue history [limit]
Patterns are globs: * matches anything, ? one character, case-insensitive. A rule can never cover high or critical risk.
| Variable | Default | Description |
|---|---|---|
APPROVAL_QUEUE_STATE_DIR | ~/.opafex/approval-queue | Where state.json (requests, rules, history) lives. The server and the CLI must point at the same directory. |
APPROVAL_QUEUE_TTL_HOURS | 24 | Hours before an undecided request expires |
State is one JSON file, written atomically under a lock file, so the server and the CLI can run at the same time.
Be clear about this before relying on it:
state.json are a human channel only if the agent cannot run the command or write the file. Coding agents such as Claude Code usually can. In that setup rely on the elicitation channel, and deny the agent the CLI and the state directory in your client's permission settings — for Claude Code, deny Bash(npx @opafex/mcp-approval-queue approve:*), Bash(npx @opafex/mcp-approval-queue rules:*), and edits under ~/.opafex/.request_approval, and has to honour proceed: false. This is a protocol for a cooperative agent and a record of what was allowed, not a sandbox. Pair it with your client's own tool permissions for anything that must be enforced.import { ApprovalQueueService, StateStore, assessRisk } from '@opafex/mcp-approval-queue';
const queue = new ApprovalQueueService(new StateStore('/var/lib/my-app/approvals')); const { request } = await queue.requestApproval({ action: 'refund_order', params: { estimatedCost: 40 } });
npm install
npm run build npm test
MIT — see LICENSE.