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.

已驗證STDIO僅桌面效率與工作流開發者工具

概覽

AI 產生的概覽

一個本機 MCP 伺服器,將 AI 助理連接到 Gatewerk 審核執行個體,用來建立、讀取與處理人工審核。

可以做什麼
建立、列出與取得審核,並對審核執行可設定的核准、拒絕、編輯或重試動作,還可查看審核可用的動作與鏈結上下文。列出、建立、更新與刪除審核範本,並啟動多步驟審核鏈執行。張貼與列出備註,可關聯到審核、範本或鏈執行。查詢過往決策、稽核紀錄,以及含每日趨勢的審核指標。
適用情境
適用於團隊以 Gatewerk(雲端或自架)作為 AI 代理產出的人工審核層,並希望助理在聊天用戶端內提交審核請求、處理審核收件匣或參考過往決策的情況。
執行需求
透過 npx 在本機執行(需要 Node.js)。需要在 GATEWERK_API_KEY 提供具備對應權限範圍的 Gatewerk API 金鑰,工具會依範圍篩選。GATEWERK_URL 設定執行個體基底網址,預設指向本機位址。GATEWERK_REVIEWER 為選用,用於將決策歸屬到某位審核人電子郵件。需要能連線到 Gatewerk 執行個體的網路。
安裝前請注意
API 金鑰屬於機密,其權限範圍決定助理能做什麼;管理員範圍的金鑰會暴露全部功能。決策工具會核准、拒絕或重試審核,範本工具會建立、更新與刪除範本,都會寫入執行個體。決策可能歸屬到 GATEWERK_REVIEWER 中的身分,而非金鑰擁有者。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Gatewerk,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

bash
npx @gatewerk/mcp init

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:

json
{  "mcpServers": {    "gatewerk": {      "command": "npx",      "args": ["-y", "@gatewerk/[email protected]"],      "env": {        "GATEWERK_URL": "https://api.gatewerk.com",        "GATEWERK_API_KEY": "gwk_...",        "GATEWERK_REVIEWER": "[email protected]"      }    }  }}

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; prefer gatewerk_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-keys page

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

VariableRequiredDescription
GATEWERK_API_KEYyesAPI key (gwk_...)
GATEWERK_URLnoGatewerk base URL (defaults to http://localhost:3100)
GATEWERK_REVIEWERnoReviewer email used as decision attribution

Links

來源:packages/mcp/README.md,提交 9b4f740

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.1.4最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分