XGuard — Payment Decision & Discovery

Payment decisions, durable evidence, x402 resource discovery and live gateway status for AI agents.

我該用這個嗎

品質與安全性

B
說明品質
95%
結構描述完整度
64%
命名品質
80%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~988Token(工具定義)
~775 B典型回應大小
中等的注意力影響(128k 上下文的 0.77%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "xguard": {
      "url": "https://xguard-mainnet.maqamapp.workers.dev/mcp"
    }
  }
}

遠端端點

https://xguard-mainnet.maqamapp.workers.dev/mcpstreamable-http
https://xguardgate.com/mcpstreamable-http

它能做什麼

工具清單

工具(8)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🔴xguard_execute(intent, operation, capability, input, idempotency_key)

Execute an explicit scoped provider operation, or a supported public-source outcome. intent:demo is free. Never infer a mutation from ambiguous text.

輸入結構描述

{
  "type": "object",
  "properties": {
    "intent": {
      "type": [
        "string",
        "object"
      ]
    },
    "operation": {
      "type": "string"
    },
    "capability": {
      "type": "string"
    },
    "input": {
      "type": "object"
    },
    "idempotency_key": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
🔴xguard_secretless_call(capability, operation, input, target, method, ...)

Call an allowed provider operation with a capability. Enforces scope, call/credit budget and billing before server-side credential injection. Writes require idempotency_key.

輸入結構描述

{
  "type": "object",
  "properties": {
    "capability": {
      "type": "string",
      "description": "Scoped XGuard capability, never an upstream key."
    },
    "operation": {
      "type": "string",
      "enum": [
        "github.repository.read",
        "github.issue.create",
        "github.issue.comment",
        "github.pull_request.create",
        "cloudflare.zone.read",
        "cloudflare.worker.metadata",
        "slack.channel.read",
        "slack.message.send",
        "notion.page.read",
        "notion.database.read",
        "notion.page.create",
        "notion.page.update",
        "openai.response.create",
        "anthropic.message.create",
        "gemini.content.generate",
        "stripe.customer.read"
      ]
    },
    "input": {
      "type": "object"
    },
    "target": {
      "type": "string",
      "format": "uri"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "POST",
        "PUT",
        "PATCH",
        "DELETE"
      ]
    },
    "body_json": {},
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 128
    }
  },
  "required": [
    "capability"
  ],
  "additionalProperties": false,
  "anyOf": [
    {
      "required": [
        "operation",
        "input"
      ]
    },
    {
      "required": [
        "target"
      ]
    }
  ]
}
🟢xguard_preflight(intent, operation, capability, input, idempotency_key)

Inspect validation, scope and remaining capability budget without reserving, billing or executing. Execution rechecks everything.

輸入結構描述

{
  "type": "object",
  "properties": {
    "intent": {
      "type": [
        "string",
        "object"
      ]
    },
    "operation": {
      "type": "string"
    },
    "capability": {
      "type": "string"
    },
    "input": {
      "type": "object"
    },
    "idempotency_key": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
🟢xguard_quote(intent, operation, capability, input, idempotency_key)

Inspect XGuard credit pricing for a capability, or obtain a signed x402 quote for a public outcome. Does not execute.

輸入結構描述

{
  "type": "object",
  "properties": {
    "intent": {
      "type": [
        "string",
        "object"
      ]
    },
    "operation": {
      "type": "string"
    },
    "capability": {
      "type": "string"
    },
    "input": {
      "type": "object"
    },
    "idempotency_key": {
      "type": "string"
    }
  },
  "additionalProperties": true
}
🟢xguard_verify_receipt(proof, receipt, result_sha256)

Verify a ProofRail proof and optionally its bound x402 receipt and result digest. Signature validity does not prove source truth.

輸入結構描述

{
  "type": "object",
  "properties": {
    "proof": {
      "type": "string",
      "maxLength": 16000
    },
    "receipt": {
      "type": "object"
    },
    "result_sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    }
  },
  "required": [
    "proof"
  ],
  "additionalProperties": false
}
🟢xguard_discover

Find the paid API catalog and buying instructions, plus explicit provider operations and input schemas.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢xguard_status

Read observed execution/MCP metrics and configuration; empty observations do not imply uptime.

輸入結構描述

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢xguard_get_result(payment_identifier, quote)

Recover a paid public outcome with its payment identifier and original signed quote without execution or another payment.

輸入結構描述

{
  "type": "object",
  "properties": {
    "payment_identifier": {
      "type": "string"
    },
    "quote": {
      "type": "string"
    }
  },
  "required": [
    "payment_identifier",
    "quote"
  ],
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本8 個工具
觀測失敗未記錄版本—
已驗證未記錄版本3 個工具