XGuard — Payment Decision & Discovery
Payment decisions, durable evidence, x402 resource discovery and live gateway status for AI agents.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"xguard": {
"url": "https://xguard-mainnet.maqamapp.workers.dev/mcp"
}
}
}원격 엔드포인트
https://xguard-mainnet.maqamapp.workers.dev/mcpstreamable-httphttps://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
}커뮤니티
증거