Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Deterministic policy enforcement and MCP management for AI agent tool calls.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
作者没有在注册中心列出安装信息。请查看下方作者的 README。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 jmcentire 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(3.12.2)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。
同一分类中有:Spec Driven Development, Remote Desktop Commander, ScienceShot science reference
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Sourced, citable answers in radiation and particle physics, photonics, electronics and quantum.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Deterministic policy enforcement for AI agent tool calls. Integrated tool calls pass through user-defined rules before execution. No LLM in the authorization path. Advisory nudges are separate from authorization.
# crates.io
cargo install signet-eval
git clone https://github.com/wandercom/signet-eval cd signet-eval cargo install --path .
There is no npm or PyPI package for signet-eval. The public distribution path is crates.io plus source install from GitHub. The MCP Registry listing points at the repository metadata; the runtime is the local signet-eval serve stdio server.
The command-hook adapters below remain supported and independent. For Claude Code's optional early-access function hooks, see the function adapter. It is disabled by default; installing/building this package does not activate it or change user settings.
1. Hook into Claude Code — add to ~/.claude/settings.json:
{
"hooks": { "PreToolUse": [{ "matcher": "", "hooks": [{"type": "command", "command": "signet-eval", "timeout": 2000}] }] } }
For Codex, enable hooks in ~/.codex/config.toml or /.codex/config.toml:
[features]
codex_hooks = true
Then add ~/.codex/hooks.json or /.codex/hooks.json:
{
"hooks": { "PreToolUse": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "signet-eval --adapter codex", "timeout": 30000, "statusMessage": "Checking Signet policy" }] }], "PermissionRequest": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "signet-eval --adapter codex-permission", "timeout": 30000, "statusMessage": "Checking Signet approval policy" }] }] } }
For Antigravity, add this block to ~/.gemini/config/hooks.json (merge it with any existing hook groups):
{
"signet": { "enabled": true, "PreToolUse": [{ "matcher": "*", "hooks": [{ "type": "command", "command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter antigravity'", "timeout": 30, "statusMessage": "Checking Signet policy" }] }] } }
The same configuration is available at hooks/antigravity-hooks.json.
For Cursor, add to ~/.cursor/hooks.json (user) or /.cursor/hooks.json (project), merging with any existing events:
{
"version": 1, "hooks": { "preToolUse": [{ "command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter cursor'", "matcher": "^(?!Shell$|MCP:)", "timeout": 30, "failClosed": true }], "beforeShellExecution": [{ "command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter cursor'", "timeout": 30, "failClosed": true }], "beforeMCPExecution": [{ "command": "/bin/bash -lc 'source ~/.profile >/dev/null 2>&1 || true; exec signet-eval --adapter cursor'", "timeout": 30, "failClosed": true }] } }
The same configuration is available at hooks/cursor-hooks.json. The preToolUse matcher skips shell and MCP calls because the two dedicated events evaluate them; without it, each such call is evaluated and logged twice.
For Muse Code, add a top-level hooks member to ~/.config/muse/settings.json (user scope; keep schema_version and your other settings), or save the file as /.muse/hooks.json (project scope, which Muse enables only for trusted workspaces):
{
"hooks": { "PreToolUse": [{ "matcher": "*", "hooks": [{"type": "command", "command": "signet-eval --adapter muse"}] }] } }
The same configuration is available at hooks/muse-hooks.json.
2. Done. Every tool call now passes through policy evaluation. The default policy blocks destructive operations, protects its own configuration, and allows everything else.
3. (Optional) Customize — talk to Claude with the MCP server:
claude mcp add --scope user --transport stdio signet -- signet-eval serve
Then say: *"Add a $50 limit for amazon orders"* or *"Block all rm commands"*.
Self-protection rules are locked — they cannot be removed, edited, or reordered by the AI agent, even through the MCP management server. This prevents the agent from disabling its own guardrails.
| Action | Decision | Locked | ||
|---|---|---|---|---|
Write/Edit/Bash touching .signet/ | deny | yes | ||
Write/Edit/Bash touching signet-eval binary | deny | yes | ||
Write/Edit settings.json / settings.local.json | ask | yes | ||
Bash kill/pkill/killall + signet | deny | yes | ||
| Direct edit tools without recent Kindex tag/search/context | deny | yes | ||
Claude TaskCreate, TaskUpdate, TaskList, TaskGet, TodoWrite | deny | yes | ||
rm, rmdir | deny | |||
Cursor's native Delete tool | deny | |||
git push --force | ask | |||
Git remote and gh operations with mismatched target-owner identity | deny | |||
mkfs, format, dd if= | deny | |||
| `curl \ | sh, wget \ | sh` | deny | |
| Any tool input carrying a literal masked secret value | ask | |||
| Everything else | allow |
signet-eval init # write default policy to ~/.signet/policy.yaml
signet-eval validate # check policy for errors signet-eval rules # show current rules
Edit ~/.signet/policy.yaml:
version: 1
default_action: ALLOW rules:
Rules are evaluated in order — first match wins. Multiple conditions on a rule are AND'd. Rules with locked: true cannot be modified through the MCP management server.
User-managed ENSURE scripts receive the original normalized tool name and input on stdin. SIGNET_TOOL_COMMAND carries the first non-empty string among the normalized command and cmd fields as a literal environment value. It is empty when neither field holds one. The forwarding mechanism does not interpret that value as shell code.
SIGNET_TOOL_CWD uses the normalized tool cwd/workdir, then the host envelope's cwd, then the hook process's working directory. Empty values are skipped. SIGNET_TOOL_CWD_SOURCE says which one was used: tool_input, host, or process. SIGNET_HOST_CWD carries the host envelope's cwd on its own, or is empty when the host sent none. A tool_input directory is where the host will run the command, but the model wrote it. The process fallback is not an independently verified execution directory. None of these is a trusted location attestation, and a check that authorizes on location should look at the source before relying on the value. Signet does not interpret the command, so a cd inside it does not change SIGNET_TOOL_CWD. All of these environment values replace inherited ones, and stdin remains unchanged.
A missing or unresolvable check script denies the call with a reason naming the check, for user rules as well as locked ones. Signet installs no check scripts, so copy ~/.signet/checks/ along with any rules.yaml that refers to it.
Older releases shipped a github_identity_guard system rule. A copy of it left in policy.yaml is ignored, and signet-eval validate reports it as a warning. To keep an identity check, put the rule in rules.yaml with a script you maintain.
From the repository root after cargo build --release, run the independent local acceptance checks with:
SIGNET_EVAL_BINARY="$(pwd)/target/release/signet-eval" python3 tests/test_ensure_behavior.py
These Python acceptance checks can run locally and are also collected by hosted CI on Linux and macOS against the release binary, alongside Rust and packaging checks.
INJECT rules probabilistically add advisory context near the tool call that triggered them. They are nudges, not authorization: the normal ALLOW/DENY/ASK/GATE/ENSURE pass remains first-match-wins and deterministic. Injection runs afterward and only emits context when a matching inject rule fires.
rules:
.kin files should be included."
Trigger modes:
| Mode | Behavior |
|---|---|
constant / step | Fixed probability after cooldown |
linear | Ramps from 0 to peak over peak_after_seconds |
exponential | Approaches peak with exponential decay |
Payload sources:
| Source | Notes |
|---|---|
text | Inline literal text |
text_file | Bare filename under ~/.signet/injections/ |
from_command | HMAC-signed allowlist entry from ~/.signet/inject_commands.yaml; direct exec, no shell |
Template substitutions are enabled by default: {tool_name}, {cwd}, {date}, and {matched_param.X}. See examples/inject_examples.yaml.
| Function | Description | Example | ||||
|---|---|---|---|---|---|---|
contains(parameters, 'X') | Tool input contains string | contains(parameters, 'rm ') | ||||
any_of(parameters, 'X', 'Y') | Any string present | any_of(parameters, 'mkfs', 'format') | ||||
param_eq(field, 'value') | Field equals value | param_eq(category, 'books') | ||||
param_ne(field, 'value') | Field not equal | param_ne(role, 'admin') | ||||
param_gt(field, N) | Field > number | param_gt(amount, 100) | ||||
param_lt(field, N) | Field < number | param_lt(amount, 5) | ||||
param_contains(field, 'X') | Field contains substring | param_contains(command, 'sudo') | ||||
matches(field, 'regex') | Field matches regex | matches(file_path, '\\.env$') | ||||
has_credential('name') | Credential exists in vault | has_credential('cc_visa') | ||||
spend_gt('cat', N) | Session spend > limit | spend_gt('books', 200) | ||||
spend_plus_amount_gt('cat', field, N) | Spend + this amount > limit | spend_plus_amount_gt('books', amount, 200) | ||||
not(condition) | Negate condition | not(param_eq(format, 'json')) | ||||
| `or(A \ | \ | B)` | Either condition | `or(contains(parameters, '-f') \ | \ | contains(parameters, '--force'))` |
has_recent_action('search', N) | Recent allowed action matches in tool name or detail; pipe-delimited OR | `has_recent_action('EnterPlanMode\ | TaskCreate', 500)` | |||
has_current_session() | Hook host supplied a distinct chat/session identifier | has_current_session() | ||||
contains_masked_value(parameters) | Tool input holds a literal value from the secret masking reference files; also takes a field name. Never matches without a config | contains_masked_value(command) | ||||
true / false | Literal | true |
Hook-mode calls can carry an agent_model field naming the model that issued the tool call. Only the host may supply it: Signet reads the hook envelope's model (a string, or an ob
只显示了开头部分;其余内容请在仓库中阅读