ControlKeel

io.github.aryaminus由 GitHub 账号 aryaminus 发布v0.2.29更新于 Oct 24, 2026

Governed MCP workflows with policy validation, findings tracking, and review gates.

已验证STDIO仅桌面开发者工具安全与监控

概览

AI 生成的概览

一个本地 stdio MCP 服务器,位于编码代理与生产之间,按团队策略校验代理输出,并记录发现、评审与证明。

可以做什么
采集意图与策略:范围、风险、预算、领域包与人工偏好成为项目状态,并以类型化记忆跨主机切换和会话保留。校验代理输出:确定性检查与可选建议式评审在风险工作进入主干前生成发现。按需设卡:当意图、风险或策略要求时,由人工批准高影响操作。留存证据:发现、评审、证明、成本与任务结果在更换宿主后仍保留。用评测改进:轨迹与反复出现的失败成为有边界的回归证据,重复行为可经人工把关的路径晋升。
适用场景
适合已在使用编码代理、希望把团队规则、评审口味与交付习惯真正执行而非只写在规则文件里的团队,尤其适用于风险变更在进入主干前需要校验、发现与人工审批关卡的情况。
运行要求
作为本地进程在用户机器上运行,可通过 npm 包以 npx 启动,或使用 Homebrew、npm 或发布安装脚本安装的 CLI。setup 与 attach 需在要治理的仓库中执行;项目作用域只在该仓库内写入宿主文件。清单未声明认证、环境变量或请求头。
安装前请注意
它会写入宿主文件并挂接到代理宿主,部分变更需要重启宿主或工作区信任。它能设卡并阻止操作,策略配置不当可能拦截正常工作。可选的云端遥测、工作区密钥与同步需主动开启,配置后会把发现、评审、摘要与记忆记录发送给第三方。README 的一行式安装要求代理抓取远程文档并安装软件,执行前应先审阅。

安装

在 SourceWeft 中

  1. 打开 控制台中的 ControlKeel,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

ControlKeel

[CI] [Release Smoke] [Latest Release] [npm bootstrap] [Socket Badge] [controlkeel MCP server]

Turn the way your team works into enforceable memory for AI agents. - @arya_minus

ControlKeel is an agent control plane for day-to-day governed engineering. Through observation, findings and evaluation, it learns your intent rules, review taste and delivery habits, turning them into typed memory, policy checks and proof bundles. CK sits between your coding agents and production as a portable "company brain": comparing intended delivery against actual delivery and turning raw agent intent into policy-validated tasks.

If you're using an AI agent today, you probably have an *.md telling it how to behave. But a rules/specs file is just a promise made to the model. ControlKeel enforces the output. Beyond just catching bugs, CK solves the "Unknown Unknowns" problem: having to re-explain your domain knowledge in every single session.

Product loop

  1. Capture intent and policy — scope, risk, budget, domain pack, and human taste become CK state.
  2. Validate agent output — deterministic checks and optional advisory review produce findings before risky work reaches main.
  3. Gate only when needed — humans approve high-impact actions when intent, risk, or policy requires it.
  4. Persist evidence — findings, reviews, proofs, memory, cost, and task outcomes survive host switches.
  5. Improve with evals — traces and recurring failures become bounded regression evidence for specific suites and subjects.

The operating rule is simple: spend tokens on discovery, not rediscovery. Recurring behavior moves through a human-gated deterministic promotion path; once its regression evidence passes, checks, APIs, CLIs, or workflows handle the known case and agents handle only exceptions and genuinely new uncertainty.

ControlKeel transforms your domain knowledge from "raw" intent and "shelfware" documentation into a living system that remembers, enforces, and evolves.

Quick start

One-line setup via your agent

Copy/paste this into your agent (OpenCode, Codex, Claude, or another supported host):

text
Set up ControlKeel for this repository. Read and follow https://raw.githubusercontent.com/aryaminus/controlkeel/main/README.md, https://raw.githubusercontent.com/aryaminus/controlkeel/main/docs/getting-started.md, https://raw.githubusercontent.com/aryaminus/controlkeel/main/docs/support-matrix.md, and https://raw.githubusercontent.com/aryaminus/controlkeel/main/docs/agent-integrations.md. Install ControlKeel if missing, run `controlkeel setup`, detect this agent host, attach the strongest supported path with `controlkeel attach <host>`, then run `controlkeel attach doctor`, `controlkeel provider doctor`, `controlkeel status`, `controlkeel findings`, and the host-native MCP check. If CK is available only as MCP, call `ck_attach` for this host. Apply only safe local fixes and redact secrets from logs. Pause and ask before continuing if the host needs workspace trust, manual provider configuration, a restart after attach/plugin changes, or a plan-review approval that cannot auto-wait. Ensure the project is trusted and restart the host after attach/plugin changes.

CLI install

Install the CLI:

bash
brew tap aryaminus/controlkeel && brew install controlkeel# ornpm i -g @aryaminus/controlkeel# orcurl -fsSL https://github.com/aryaminus/controlkeel/releases/latest/download/install.sh | sh

Windows PowerShell:

powershell
irm https://github.com/aryaminus/controlkeel/releases/latest/download/install.ps1 | iex

First governed run:

bash
controlkeelcontrolkeel setupcontrolkeel attach opencode   # project scope by default; use another supported host as neededcontrolkeel attach doctorcontrolkeel provider doctorcontrolkeel statuscontrolkeel findings

Run setup and attach from the repository you want to govern. Project scope writes host files only inside that repository. --scope user writes host-level files under your user configuration only for targets that explicitly support user scope; it does not turn project binding or proof state into global state.

For the complete first-run path, use docs/getting-started.md. For host truth, use docs/support-matrix.md and docs/agent-integrations.md.

Benchmark-backed evidence

ControlKeel includes a persisted benchmark engine. Current user-facing evidence is bounded to the named suite, subject, and scoring definition below; docs/benchmarks.md is the canonical reference for full tables, caveats, JSON exports, and agent-host protocols.

Verified with-vs-without-CK baseline (host_comparison_v1, 12 risky scenarios)

Verified with ControlKeel 0.3.45:

  • Risky suite host_comparison_v1: null_policy_baseline caught 0/12; controlkeel_validate caught 12/12, blocked 9/12, and hit expected rules 9/12 with median deterministic validation time 52 ms, 0 provider tokens.
  • Paired benign suite benign_baseline_v1: controlkeel_validate produced 0/10 catches, 0/10 blocks, FPR 0.000, median deterministic validation time 42 ms, 0 provider tokens.

Read the numbers precisely: deterministic scanner evidence is not the same as model-backed agent-host evidence. Reproduction commands and the OpenCode/Copilot/Claude/Codex comparison protocol live in docs/benchmarks.md.

What ships today

  • Local governance: CLI, the full local stdio MCP tool set, project binding, host attach/export bundles, scanner validation, findings, reviews, proof bundles, budgets, and typed memory.
  • Host and runtime support: native attach for supported hosts, runtime exports for headless/outer-loop systems, a narrower OAuth-scoped hosted MCP set, minimal A2A, and fallback validation/proxy paths.
  • Team/project operations: org membership, invitations, workspace GitHub repo bindings, service accounts, webhooks, workspace tool policy, and policy-set APIs.
  • Cloud evidence paths: opt-in cloud telemetry, workspace keys, cloud run packages, runtime callbacks, and dormant-until-configured bidirectional sync for findings, reviews, digests, and memory records.
  • Observability loop: timelines, memory quality, costs, trends, problem clusters, eval candidates, benchmark drafts/history, and promotion advisories.

Docs map

Development

bash
mix setupmix phx.servermix testmix precommit

Phoenix + Ecto on SQLite. Uses Req for HTTP. Single-binary builds ship through Burrito and GitHub Releases.

来源:README.md,提交 b0e0cf6

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.29最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。