XGuard — Payment Decision & Discovery
Payment decisions, durable evidence, x402 resource discovery and live gateway status for AI agents.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"xguard": {
"url": "https://xguard-mainnet.maqamapp.workers.dev/mcp"
}
}
}Puntos de conexión remotos
https://xguard-mainnet.maqamapp.workers.dev/mcpstreamable-httphttps://xguardgate.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢xguard_status
Read observed execution/MCP metrics and configuration; empty observations do not imply uptime.
Esquema de entrada
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {
"payment_identifier": {
"type": "string"
},
"quote": {
"type": "string"
}
},
"required": [
"payment_identifier",
"quote"
],
"additionalProperties": false
}Comunidad
Evidencia