
Gatekeeper
io.github.Runestone-Labs由 GitHub 账号 Runestone-Labs 发布v0.1.2更新于 Oct 24, 2026
Run MCP tool calls through Runestone Gatekeeper — policy enforcement, human approval, audit.
概览
一个本地 MCP 入口,把助手的 shell、文件写入和 HTTP 调用统一交给 Runestone Gatekeeper 做策略检查、人工审批和审计。
- 可以做什么
- 通过 Gatekeeper 策略门执行 shell 命令(shell_exec)。经策略门写入文件(files_write)。发起受出站策略管控的 HTTP GET/POST 请求(http_request)。通过通用入口按名称调用任意其他 Gatekeeper 工具(gatekeeper_call)。检查 Gatekeeper 服务器是否可达(gatekeeper_health)。每次受控调用返回允许及输出,或被拒绝、待审批的错误结果。
- 适用场景
- 当你希望助手的 shell、文件和网络操作都经过统一的策略引擎、审计日志并可能需要人工审批,而不是让模型直接接触系统时使用。它必须配合正在运行的 Gatekeeper 服务器才有意义。
- 运行要求
- 需要一个可通过 GATEKEEPER_URL(默认 Gatekeeper 服务器。npm 包 @runestone-labs/gatekeeper-mcp 以 stdio 运行,通常通过 npx,因此需要 Node.js。GATEKEEPER_ROLE 为必填;GATEKEEPER_AGENT_NAME 和 GATEKEEPER_RUN_ID 可选。仅支持桌面 MCP 客户端。
安装
在 SourceWeft 中
- 打开 控制台中的 Gatekeeper,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Runestone Gatekeeper — MCP Server
An MCP server that lets any MCP client (Claude Desktop, Claude Code, Cursor, …) run real tool calls — shell, file writes, HTTP, or any Gatekeeper tool — only through Runestone Gatekeeper. Every call is policy-checked, may require human approval, and is audited. The model never touches your systems directly; Gatekeeper sits in front.
Requirements
A running Gatekeeper server (see the repo root). This package is just the MCP front door; it does nothing on its own.
Install / configure
It runs over stdio. Add it to your MCP client config, e.g. Claude Desktop
(claude_desktop_config.json):
Shared approvals for unattended agents
Local Gatekeeper and this MCP integration are free. Need a teammate to handle approvals while your agents run unattended? We're testing Gatekeeper Team at $49/month, for up to five members and five instances. The proposed Cloud service would coordinate a held action, a teammate's approval or denial, and a record of the outcome. Cloud is planned, not publicly available, and no payment is collected during this test. Only actions actually routed through Gatekeeper are covered; installing the MCP server does not cover a client's other tools.
See the proposed workflow and share your team's needs. The form also lets you optionally report a first real routed action or return use on a later day. These are manual self-reports, not verified external activation. Don't send commands or raw audit logs; this test adds no automatic usage reporting to the MCP server.
Tools
Every gated call returns one of:
- allow → the tool output.
- deny → an error result explaining why (the call did not run).
- approve → an error result saying a human must approve it in Gatekeeper; the call did not run.
Security model
This server is a policy boundary, so it is deliberately strict:
- Identity is pinned server-side. Role comes from
GATEKEEPER_ROLE; origin is fixed tomodel_inferredand taint tomcp_client. The MCP client cannot set or override actor / role / origin / taint / capability tokens via tool arguments — there is no code path from a tool argument to any of those. - Fail closed. A deny, a pending approval, or any malformed/unexpected Gatekeeper response is surfaced as an error — never as a successful result.
- No endpoint traversal. Generic tool names are validated as strict dotted
identifiers;
../, slashes, and the like are rejected before any request. - No leakage. The Gatekeeper URL and anything resembling a credential are scrubbed from error messages before they reach the client.
These invariants are covered by an adversarial test suite (src/*.test.ts).
Distribution
Published to npm as @runestone-labs/gatekeeper-mcp and listed on the MCP
Registry as io.github.runestone-labs/gatekeeper (see server.json). The MCP
Registry is in preview.
License
Apache-2.0
来源:integrations/mcp-server/README.md,提交 130d0b0
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分