
Gatewerk
io.github.gatewerk由 GitHub 账号 gatewerk 发布v1.1.4更新于 Oct 25, 2026
The open-source review layer for AI agents. Work done for humans is decided by humans.
概览
一个本地 MCP 服务器,将 AI 助手连接到 Gatewerk 审核实例,用于创建、读取和处理人工审核。
- 可以做什么
- 创建、列出和获取审核,并对审核执行可配置的批准、拒绝、编辑或重试操作,还可查看审核可用的操作及链上下文。列出、创建、更新和删除审核模板,并启动多步骤审核链运行。发布和列出备注,可关联到审核、模板或链运行。查询历史决策、审计记录以及带每日趋势的审核指标。
- 适用场景
- 适用于团队使用 Gatewerk(云端或自托管)作为 AI 智能体产出的人工审核层,并希望助手在聊天客户端内提交审核请求、处理审核收件箱或参考历史决策的场景。
- 运行要求
- 通过 npx 在本地运行(需要 Node.js)。需要在 GATEWERK_API_KEY 中提供具备相应权限范围的 Gatewerk API 密钥,工具会按范围过滤。GATEWERK_URL 设置实例基础地址,默认指向本地地址。GATEWERK_REVIEWER 可选,用于将决策归属到某位审核人邮箱。需要能访问 Gatewerk 实例的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Gatewerk,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@gatewerk/mcp
The Gatewerk MCP server lets AI agents read and decide reviews from inside Claude Desktop, Claude Code, Cursor, Windsurf, or any Model Context Protocol client. It exposes Gatewerk's review/template/feedback/audit/chain/note APIs as MCP tools, scoped to whatever permissions the API key carries.
Gatewerk is an open-source, self-hosted review layer for AI agents. Work done for humans is decided by humans.
Quickstart
The init command prompts for your Gatewerk URL, API key, and (optionally) reviewer email, then prints a config block you paste into your MCP client's settings.
You can also write the config by hand:
GATEWERK_REVIEWER is optional — when set, decisions made through the MCP server are attributed to that reviewer. Otherwise the API key's identity is used.
Available tools
Tools are filtered automatically based on the scopes attached to your API key. A key with only reviews:read will not see gatewerk_decide_review.
Reviews
gatewerk_create_review— submit a new review request (scope:reviews:create)gatewerk_list_reviews— list reviews with filters (scope:reviews:read)gatewerk_get_review— fetch a review with its template metadata (scope:reviews:read)gatewerk_decide_review— approve / reject / edit / retry a review [deprecated; prefergatewerk_take_review_action] (scope:reviews:decide)gatewerk_take_review_action— invoke a configurable action on a review; supports built-in and template-specific action IDs (scope:reviews:decide)gatewerk_list_review_actions— introspect the available actions on a review's template (scope:reviews:read)
Templates
gatewerk_list_templates— list templates (scope:templates:read)gatewerk_create_template— define a template (scope:templates:write)gatewerk_update_template— modify a template (scope:templates:write)gatewerk_delete_template— remove a template (scope:templates:write)
Chains
gatewerk_start_chain_run— start a multi-step review chain from a definition (scope:templates:write)gatewerk_get_chain_run— fetch a chain run + steps by ID (scope:reviews:read)gatewerk_get_chain_for_review— get chain context for a review (scope:reviews:read)
Notes
gatewerk_create_note— post a note, optionally pinned to one or more reviews/templates/chain runs (scope:notes:write)gatewerk_list_notes— list notes with filters (author, tags, target, shared/private) (scope:notes:read)
Queries + stats
gatewerk_query_feedback— query past decisions for learning (scope:feedback:read)gatewerk_query_audit— query the audit trail (scope:audit:read)gatewerk_get_stats— review metrics + daily trend (scope:stats:read)
Authentication
You'll need a Gatewerk API key with the appropriate scopes. Generate one at:
- Cloud: https://app.gatewerk.com → Settings → API Keys
- Self-hosted: your Gatewerk instance's
/settings/api-keyspage
Common scope bundles:
- agent (read your reviews + create new ones):
reviews:create,feedback:read - reviewer (act on the inbox):
reviews:read,reviews:decide,templates:read,notes:read,notes:write - admin (full surface): all scopes
Environment variables
Links
- Website: https://gatewerk.com
- App: https://app.gatewerk.com
- Source: https://github.com/gatewerk/gatewerk
- Docs: https://gatewerk.com/docs
- License: Apache-2.0 (MCP SDK package; server is AGPL-3.0-only)
来源:packages/mcp/README.md,提交 9b4f740
工具
0版本历史
1- v1.1.4最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分