XGuard — Agent Execution Gateway

io.github.moelayyan90由 GitHub 帳號 moelayyan90 發布v5.2.0更新於 Nov 7, 2026

Scoped agent execution. Server-side credentials, policy, budgets and verifiable receipts.

發布方自己的服務:Execution Market

已驗證Streamable HTTP可網頁執行安全與監控AI 與機器學習

概覽

AI 產生的概覽

一個遠端閘道,可在伺服器端憑證、政策與預算約束下執行限定範圍的代理操作,並回傳可驗證的收據。

可以做什麼
XGuard 是位於 api.xguardgate.com 的遠端 streamable HTTP 端點,被描述為限定範圍的代理執行閘道。其宣稱用途是在伺服器端憑證、政策與預算下執行代理操作,並回傳可驗證的收據。登錄描述未列出任何工具,因此具體操作未在此說明。README 主要描述的是另一個公開事實服務 XGuard Live,它透過一般 HTTP 發布經來源核驗的事實。
適用情境
當助理需要透過受管閘道執行操作、把憑證留在伺服器端並執行政策與支出限制,而不是在本機保存金鑰時,可以考慮使用。它與 README 中描述的公開事實服務不同,後者不需要帳號,也不是一組 MCP 工具。
執行需求
支援 streamable HTTP 的遠端 MCP 用戶端,以及對 api.xguardgate.com 的網路存取。清單未宣告任何身分驗證、環境變數或標頭,也沒有套件。README 的開發與維運部分提到 Node 24、Cloudflare Workers 以及用於管理後台的 owner key,但這些是執行該服務所需,而非連線所需。
安裝前請注意
清單未宣告任何身分驗證,因此在傳送任何敏感內容前應確認存取實際如何控管。README 指出原執行閘道僅為狀態與復原相容而保留,並非公開的 Live 產品,且歷史結果復原仍需其原始簽章報價。文中提到預算與付費檢索,應確認哪些操作可能產生費用。未公布工具清單,因此無法事先核對能力。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.moelayyan90%2Fxguard-control-plane/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "xguard-agent-execution-gateway": {
      "type": "http",
      "url": "https://api.xguardgate.com/mcp"
    }
  }
}

README

XGuard Live

The live facts layer for AI.

Current facts. Source verified. Change tracked. Machine readable.

XGuard Live observes public primary sources and publishes compact, canonical facts with verification timestamps, source evidence and immutable history. People and machines retrieve the same data through ordinary HTTP. No account, SDK, plugin or paid API key is needed for public facts.

Live site · Fact index · Methodology · Changes

sh
curl https://xguardgate.com/fact/npm/react/latest-versioncurl -H 'Accept: text/markdown' https://xguardgate.com/fact/npm/react/latest-versioncurl -H 'Accept: application/json' https://xguardgate.com/fact/npm/react/latest-version

A published observation includes the current or last observed value, source URL, source hash, observed/verified timestamps, freshness limit, previous value and history. STALE/UNKNOWN never imply a current verified value. Verification means a match to the source at retrieval, not independent certification of every publisher claim. Candidates remain unpublished until schema and source checks pass.

Development

Use Node 24.

sh
npm ci --prefix apps/relaynpm run checknpm testnpm run buildnpm run --prefix apps/relay live:test-runtimenpm run dev

Local development uses a separate Worker config and local SQLite Durable Objects. Production smoke checks are read-only and excluded from business metrics: npm run smoke. The primary-source check is node scripts/live-source-check.mjs; robots restrictions, rate limits and changed source schemas can legitimately prevent collection.

Operations

The production Worker is xguard-mainnet. Cron runs every ten minutes; persistent shard alarms collect due sources with domain limits and backoff. Cloudflare cache serves bounded, format-specific representations. /healthz exposes real counts and scheduler health. /admin requires an owner key and protects all mutations.

Deployment: use a pull request, pass CI/CodeQL, merge, then the Deploy XGuard Live workflow deploys the tested commit. Manual deployment with existing Cloudflare credentials: npx --prefix apps/relay wrangler deploy --config apps/relay/wrangler.jsonc --tag git-$(git rev-parse --short=12 HEAD). Production lifecycle changes must first pass node scripts/durable-object-deploy-guard.mjs <deployed-git-ref> HEAD and be isolated from runtime changes.

See operations and rollback and migration inventory. The former execution gateway is retained solely for state/recovery compatibility and historical reference; it is not the public Live product. Historical result recovery still requires its original signed quote. Legacy marketing and release workflows are archived and do not run.

Monetization

Launch mode is observe. Cloudflare Pay Per Crawl eligibility and Pay Per Use buyer participation require confirmation in the owner's Cloudflare account. The application does not fabricate revenue, simulate paid production traffic or equate crawler requests with paid use. Actual provider report imports and invoice costs are separate, auditable records. No report means unknown account revenue, not proven zero. Discovery remains free even when eligible high-value detail pages are later configured for paid retrieval.

來源:README.md,提交 91c23ae

工具

6

xguard.fact.get

Read one free published software fact by canonical ID. Returns the primary source, verification status and timestamp. Use xguard.web.fetch for a separate paid fetch of a public URL.

輸入參數factId必填

xguard.capabilities

Discover XGuard capabilities

Return the enabled and disabled XGuard tools, their security boundary, and canonical discovery URLs. Free.

無需輸入參數。

xguard.preflight

Preflight a guarded paid request

Free, read-only safety gate for xguard.web.fetch. Validates the public HTTPS target, SSRF policy, DNS reachability and selected payment path without contacting the target or attempting payment. On allow, call xguard.web.fetch directly; it creates the signed quote and returns the mandatory x402 v2 PaymentRequired result.

無需輸入參數。

xguard.pricing.quote

Get a signed execution quote

Get an optional signed quote for xguard.web.fetch. Call xguard.web.fetch directly to receive the price in an HTTP 402 challenge.

無需輸入參數。

xguard.web.fetch

Fetch a public HTTPS resource

Fetch one public HTTPS resource after x402 v2 payment and on-chain settlement verification. Retry the identical MCP call with Payment-Signature and X-XGuard-Quote. A completed retry returns the prior receipt.

無需輸入參數。

xguard.extract

Extract main text, titles, metadata and links from 1–3 public HTTPS pages into one deduplicated, attributed result. No JavaScript rendering, private pages or web search. Up to 6,000 text characters per page; partial source coverage is explicit. Price: 0.012 USDC on Base. Uses x402 v2 HTTP payment headers: retry identical arguments and idempotency key with Payment-Signature and X-XGuard-Quote; the authorization is for the canonical HTTP API resource. No source is fetched before payment.

輸入參數urls必填idempotency_key必填max_amount_atomic必填

版本歷史

2
  1. v5.2.0最新Sep 20, 2026
  2. v5.1.1Sep 16, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Execution 整合