a207-router-mcp
v0.2.3M13 意图路由与安全闸:三条互斥硬规则(MX-1/MX-2/MX-3) + 权限矩阵执行点,调度 Agent 独占
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
check_safety_gate Check Safety Gate
安全闸预检:P0 危急词扫描 + MX-1 分期互斥 / MX-2 游戏化隔离 / MX-3 写权收口。 subject:要评估的目标角色(不是你自己的身份,你的身份由部署注入)。 返回 allow 为 false 时,调度 Agent 应终止本次路由并按 reason 处置; 即便强行继续,目标 MCP 内部的 enforce_* 也会再拒一次。
| Parameter | Type | Description |
|---|---|---|
intent * | string | |
subject * | string | |
target_mcp | string |
classify_intent Classify Intent
意图路由:规则命中优先,返回目标 MCP、允许的角色、槽位与置信度。
| Parameter | Type | Description |
|---|---|---|
text * | string |
check_permission Check Permission
权限矩阵查询:subject x MCP x read/write,写工具按 MX-3 收口判定。 subject:要查询的角色(不是你自己的身份)。 这是解释性查询,不是执行点——执行点在各 MCP 内部,绕不过。
| Parameter | Type | Description |
|---|---|---|
mcp_id * | string | |
subject * | string | |
action | string |
extract_slots Extract Slots
规则抽槽位:patient_id / food / analyte / date / number / 量具 / 时间窗。
| Parameter | Type | Description |
|---|---|---|
text * | string |