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 集成