FOXIFY Agent Authority + Payment Preflight
x402 agent preflight: exact action authority plus payment mandate, destination, expiry and replay.
我該用這個嗎
品質與安全性
A
發現項目(1)
- LOW在 foxify_preflight_info 中
根據工具定義與協定合規性的自動化分析。
上下文成本
~1,033Token(工具定義)
~3.9 KB典型回應大小
中等的注意力影響(128k 上下文的 0.81%)
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"foxify-x402-agent-commerce-payment-preflight": {
"url": "https://xqmokxkbgewocuiinnot.supabase.co/functions/v1/foxify-agent-commerce-mcp"
}
}
}遠端端點
https://xqmokxkbgewocuiinnot.supabase.co/functions/v1/foxify-agent-commerce-mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
⚪foxify_preflight_info
Free metadata for FOXIFY machine-payable authority preflight tools.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪verify_agent_payment_intent(intent_id, nonce, expires_at, agent, merchant, ...)
Paid transaction preflight. Checks mandate, amount, destination, merchant, expiry and replay risk before an autonomous payment executes. Costs $0.05 USDC on Base.
輸入結構描述
{
"type": "object",
"properties": {
"intent_id": {
"type": "string",
"minLength": 1,
"description": "Unique payment-intent identifier"
},
"nonce": {
"type": "string",
"minLength": 8,
"description": "Unique anti-replay nonce"
},
"expires_at": {
"type": "string",
"description": "ISO-8601 intent expiry"
},
"agent": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"signature_verified": {
"type": "boolean"
}
},
"additionalProperties": true
},
"merchant": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"minLength": 1
},
"expected_recipient": {
"type": "string"
}
},
"required": [
"domain"
],
"additionalProperties": true
},
"payment": {
"type": "object",
"properties": {
"network": {
"type": "string"
},
"currency": {
"type": "string"
},
"amount": {
"type": [
"string",
"number"
]
},
"recipient": {
"type": "string"
}
},
"required": [
"network",
"currency",
"amount",
"recipient"
],
"additionalProperties": true
},
"authorization": {
"type": "object",
"properties": {
"max_amount": {
"type": [
"string",
"number"
]
},
"expected_recipient": {
"type": "string"
},
"allowed_domains": {
"type": "array",
"items": {
"type": "string"
}
},
"human_confirmed": {
"type": "boolean"
}
},
"required": [
"max_amount"
],
"additionalProperties": true
}
},
"required": [
"intent_id",
"nonce",
"expires_at",
"merchant",
"payment",
"authorization"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪verify_agent_action_intent(action_id, nonce, expires_at, subject, action, ...)
Paid exact-action authority preflight for consequential agent tool calls. Binds subject, tool, operation, target, canonical parameters, authority lifetime, retries and postcondition requirements. Costs $0.25 USDC on Base.
輸入結構描述
{
"type": "object",
"properties": {
"action_id": {
"type": "string",
"minLength": 1,
"description": "Unique action-intent identifier"
},
"nonce": {
"type": "string",
"minLength": 8,
"description": "Unique anti-replay nonce"
},
"expires_at": {
"type": "string",
"description": "ISO-8601 action-intent expiry"
},
"subject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"identity_verified": {
"type": "boolean"
}
},
"required": [
"id"
],
"additionalProperties": true
},
"action": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"minLength": 1
},
"operation": {
"type": "string",
"minLength": 1
},
"consequence": {
"type": "string",
"enum": [
"read",
"write",
"send",
"deploy",
"payment",
"delete",
"account_mutation",
"external_submission",
"device_mutation"
]
},
"target": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1
}
},
"required": [
"kind",
"id"
],
"additionalProperties": true
},
"parameters": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"tool",
"operation",
"consequence",
"target"
],
"additionalProperties": true
},
"authority": {
"type": "object",
"properties": {
"expires_at": {
"type": "string"
},
"subject_id": {
"type": "string",
"minLength": 1
},
"attestation_verified": {
"type": "boolean"
},
"allowed_tools": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"allowed_operations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"allowed_targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1
}
},
"required": [
"kind",
"id"
],
"additionalProperties": true
},
"minItems": 1
},
"expected_parameters_hash": {
"type": "string"
},
"human_confirmation_required": {
"type": "boolean"
},
"human_confirmed": {
"type": "boolean"
},
"max_attempts": {
"type": "integer",
"exclusiveMinimum": 0
},
"allow_retry": {
"type": "boolean"
},
"postcondition_required": {
"type": "boolean"
}
},
"required": [
"expires_at",
"subject_id",
"allowed_tools",
"allowed_operations",
"allowed_targets"
],
"additionalProperties": true
},
"execution": {
"type": "object",
"properties": {
"attempt": {
"type": "integer",
"exclusiveMinimum": 0
},
"prior_outcome": {
"type": "string",
"enum": [
"NONE",
"KNOWN_NO_EFFECT",
"EFFECT_CONFIRMED",
"UNKNOWN"
]
},
"retry_authorized": {
"type": "boolean"
},
"idempotency_key": {
"type": "string"
}
},
"additionalProperties": true
},
"postcondition": {
"type": "object",
"properties": {
"type": {
"type": "string",
"minLength": 1
},
"authoritative_source": {
"type": "string",
"minLength": 1
}
},
"required": [
"type",
"authoritative_source"
],
"additionalProperties": true
}
},
"required": [
"action_id",
"nonce",
"expires_at",
"subject",
"action",
"authority"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}已記錄的呼叫範例
1 / 4
提示詞: Example call to verify_agent_payment_intent
工具:
verify_agent_payment_intent輸入參數
{
"intent_id": "example-1",
"nonce": "example-1",
"expires_at": "example-1",
"agent": {},
"merchant": {},
"payment": {},
"authorization": {}
}輸出結果
{
"result": {
"content": [
{
"type": "text",
"text": "MCP error -32602: Input validation error: Invalid arguments for tool verify_agent_payment_intent: Required at merchant.domain\nRequired at payment.network\nRequired at payment.currency\nRequired at payment.recipient\nInvalid input at payment.amount\nInvalid input at authorization.max_amount"
}
],
"isError": true
},
"durationMs": 720
}持續時間:720ms
社群
證據
近期觀測
已驗證未記錄版本3 個工具
已驗證未記錄版本2 個工具