FOXIFY Agent Authority + Payment Preflight
x402 agent preflight: exact action authority plus payment mandate, destination, expiry and replay.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin foxify_preflight_info
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"foxify-x402-agent-commerce-payment-preflight": {
"url": "https://xqmokxkbgewocuiinnot.supabase.co/functions/v1/foxify-agent-commerce-mcp"
}
}
}Remote-Endpunkte
https://xqmokxkbgewocuiinnot.supabase.co/functions/v1/foxify-agent-commerce-mcpstreamable-httpWas es kann
Tool-Inventar
Tools (3)
⚪foxify_preflight_info
Free metadata for FOXIFY machine-payable authority preflight tools.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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.
Eingabe-Schema
{
"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#"
}Aufgezeichnete Aufrufbeispiele
verify_agent_payment_intentEingabeparameter
{
"intent_id": "example-1",
"nonce": "example-1",
"expires_at": "example-1",
"agent": {},
"merchant": {},
"payment": {},
"authorization": {}
}Ausgabeergebnis
{
"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
}Community
Nachweis