Machine Utility Foundry (Safe x402 Wallet & Trust Oracles)

Auto-paying x402 MCP wallet bridge, honeypot & wash-trade oracle, route failover & ICP guardrails.

Should I use this

Quality & Safety

A
Description quality
98%
Schema completeness
94%
Naming quality
85%
Poisoning risk
100%
Permission match
100%
Protocol compliance
100%

Based on automated analysis of tool definitions and protocol compliance.

Context Cost

~6,571Tokens (tool definitions)
~5.4 KBTypical response size
Significant attention impact (5.13% of 128k context)

This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.

Install

One-Click Install

Add this to your `claude_desktop_config.json` file:

{
  "mcpServers": {
    "machine-utility-foundry": {
      "command": "npx",
      "args": [
        "foundry-x402"
      ]
    }
  }
}

Runnable packages

npmfoundry-x4020.4.5stdio

Remote endpoints

https://machine-utility-foundry.meritoriousmatrix00.workers.dev/mcpstreamable-http

What it can do

Tool inventory

Tools (12)

🟢 Read-only🟡 Write🔴 Delete⚪ Unknown
🟢get_x402_reputation_stats

[FREE Read-Only] Retrieve live x402 ecosystem reputation ledger statistics, sample verified healthy endpoints, bait-and-switch anomaly count, and the current IC Mainnet attestation anchor receipt.

Input Schema

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

Output Schema

{
  "type": "object",
  "properties": {
    "service": {
      "type": "string"
    },
    "schemaVersion": {
      "type": "integer"
    },
    "updatedAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "totalSweeps": {
      "type": "integer"
    },
    "totalObservationsCum": {
      "type": "integer"
    },
    "trackedEndpoints": {
      "type": "integer"
    },
    "trackedMerchantWallets": {
      "type": "integer"
    },
    "recentBaitAndSwitchCount": {
      "type": "integer"
    },
    "suspectedWashEndpointCount": {
      "type": "integer"
    },
    "snapshotSha256": {
      "type": "string"
    },
    "icpAnchorReceiptId": {
      "type": [
        "string",
        "null"
      ]
    },
    "icpVerifyUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "probedUrlDigests": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sampleHealthyEndpoints": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "origin": {
            "type": "string"
          },
          "method": {
            "type": "string",
            "enum": [
              "GET",
              "POST"
            ]
          },
          "observations": {
            "type": "integer"
          },
          "emaLatencyMs": {
            "type": "integer"
          },
          "lastLiveUsd": {
            "type": [
              "number",
              "null"
            ]
          }
        }
      }
    },
    "paidQueryEndpoint": {
      "type": "object",
      "required": [
        "method",
        "url",
        "price",
        "amountAtomic",
        "network",
        "asset",
        "payTo"
      ],
      "properties": {
        "method": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "price": {
          "type": "string"
        },
        "amountAtomic": {
          "type": "string"
        },
        "network": {
          "type": "string"
        },
        "asset": {
          "type": "string"
        },
        "payTo": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "service",
    "schemaVersion",
    "updatedAtUtc",
    "totalSweeps",
    "totalObservationsCum",
    "trackedEndpoints",
    "trackedMerchantWallets",
    "snapshotSha256",
    "icpAnchorReceiptId",
    "paidQueryEndpoint"
  ]
}
🟢verify_icp_attestation_receipt(receiptId)

[FREE Read-Only] Verify an immutable Internet Computer (IC Mainnet) attestation receipt ID returned by `get_x402_reputation_stats`, `attest_artifact_onchain_icp`, or `attest_compliance_bundle_icp`.

Input Schema

{
  "type": "object",
  "properties": {
    "receiptId": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9_-]{4,64}$",
      "description": "IC Mainnet attestation receipt identifier to verify (e.g. icp-att-000002)."
    }
  },
  "required": [
    "receiptId"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean"
    },
    "network": {
      "type": "string"
    },
    "immutable": {
      "type": "boolean"
    },
    "receiptId": {
      "type": "string"
    },
    "record": {
      "type": "object"
    }
  },
  "required": [
    "found"
  ]
}
🟢preview_x402_recommendation(need)

[FREE Read-Only] Preview how many wash-filtered, bait-and-switch-clean x402 APIs match your task need, along with price range and top provider hint before paying.

Input Schema

{
  "type": "object",
  "properties": {
    "need": {
      "type": "string",
      "minLength": 2,
      "maxLength": 300,
      "description": "Plain-language task description (e.g. 'search recent tweets', 'exa web search', 'residential proxy')."
    }
  },
  "required": [
    "need"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "need": {
      "type": "string"
    },
    "matchCount": {
      "type": "integer"
    },
    "totalCandidatesEvaluated": {
      "type": "integer"
    },
    "hasVerifiedMatches": {
      "type": "boolean"
    },
    "priceRangeUsd": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "min": {
          "type": "number"
        },
        "max": {
          "type": "number"
        }
      }
    },
    "topPreview": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "hostHint": {
          "type": "string"
        },
        "method": {
          "type": "string",
          "enum": [
            "GET",
            "POST"
          ]
        },
        "network": {
          "type": "string"
        },
        "priceUsd": {
          "type": "number"
        },
        "trustScore": {
          "type": "integer"
        },
        "uniquePayers30d": {
          "type": [
            "integer",
            "null"
          ]
        },
        "selfListed": {
          "type": "boolean"
        }
      }
    },
    "paidFullRecommendEndpoint": {
      "type": "object",
      "properties": {
        "method": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "price": {
          "type": "string"
        },
        "zeroChargeWhenEmpty": {
          "type": "boolean"
        }
      }
    },
    "icpAnchorReceiptId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "need",
    "matchCount",
    "totalCandidatesEvaluated",
    "hasVerifiedMatches",
    "priceRangeUsd",
    "topPreview",
    "paidFullRecommendEndpoint"
  ]
}
🟡report_x402_delivery_outcome(targetUrl, txHash, outcome, payerSignature)

[FREE — On-Chain Base USDC Tx Verified] Submit a settled Base Mainnet `txHash` to slash a 402-honeypot endpoint that failed after payment (`POST_PAYMENT_FAILURE`) or confirm valid delivery (`DELIVERED_VALID`). Anti-Sybil gated via live `eth_getTransactionReceipt`.

Input Schema

{
  "type": "object",
  "properties": {
    "targetUrl": {
      "type": "string",
      "format": "uri",
      "maxLength": 512,
      "description": "Public https:// URL of the paid x402 endpoint that settled your payment."
    },
    "txHash": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{64}$",
      "description": "66-char 0x-prefixed Base Mainnet settlement transaction hash from `PAYMENT-RESPONSE`."
    },
    "outcome": {
      "type": "string",
      "enum": [
        "DELIVERED_VALID",
        "POST_PAYMENT_FAILURE"
      ],
      "description": "Whether the endpoint delivered valid data after settlement or failed/rugged post-payment."
    },
    "payerSignature": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{130}$",
      "description": "65-byte EIP-191 personal_sign hex signature from the paying wallet over `muf-delivery-feedback-v1\\ntargetUrl:<normalizedUrl>\\ntxHash:<lowercaseTxHash>\\noutcome:<outcome>`."
    }
  },
  "required": [
    "targetUrl",
    "txHash",
    "outcome",
    "payerSignature"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "recorded": {
      "type": "boolean"
    },
    "verifiedOnChain": {
      "type": "boolean"
    },
    "targetUrl": {
      "type": "string"
    },
    "txHash": {
      "type": "string"
    },
    "payerAddress": {
      "type": [
        "string",
        "null"
      ]
    },
    "merchantPayTo": {
      "type": [
        "string",
        "null"
      ]
    },
    "settledUsdc": {
      "type": [
        "number",
        "null"
      ]
    },
    "outcome": {
      "type": "string",
      "enum": [
        "DELIVERED_VALID",
        "POST_PAYMENT_FAILURE"
      ]
    },
    "endpointPostPaymentFailures": {
      "type": "integer"
    },
    "endpointVerifiedDeliveries": {
      "type": "integer"
    },
    "snapshotSha256": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    }
  },
  "required": [
    "recorded",
    "verifiedOnChain",
    "targetUrl",
    "txHash",
    "outcome",
    "endpointPostPaymentFailures",
    "endpointVerifiedDeliveries",
    "snapshotSha256"
  ]
}
🟢recommend_x402_api(need, maxPriceUsd, network, method, limit, ...)

[x402 Paid: $0.005 Base USDC -- FREE if 0 matches] Recommend up to 5 verified, wash-trade-filtered, bait-and-switch-clean x402 APIs for any task need with organic payer counts, URLs, prices, and ICP proof. Zero self-preference.

Input Schema

{
  "type": "object",
  "properties": {
    "need": {
      "type": "string",
      "minLength": 2,
      "maxLength": 300,
      "description": "Plain-language capability or data need (e.g. 'twitter search', 'web page to markdown', 'token price')."
    },
    "maxPriceUsd": {
      "type": "number",
      "minimum": 0,
      "description": "Optional maximum per-call USD price filter for recommended endpoints."
    },
    "network": {
      "type": "string",
      "description": "Optional CAIP-2 payment network filter (e.g. 'eip155:8453')."
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ],
      "description": "Optional HTTP method filter."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "description": "Maximum number of ranked picks to return (1..5, default 5)."
    },
    "excludeSelf": {
      "type": "boolean",
      "description": "When true, excludes any endpoint operated by Machine Utility Foundry (default false; selfListed is always disclosed)."
    }
  },
  "required": [
    "need"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "need": {
      "type": "string"
    },
    "totalCandidatesEvaluated": {
      "type": "integer"
    },
    "charged": {
      "type": "boolean"
    },
    "neutralityPolicy": {
      "type": "string",
      "enum": [
        "ZERO_SELF_PREFERENCE"
      ]
    },
    "picks": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "rank",
          "url",
          "origin",
          "method",
          "network",
          "payTo",
          "priceUsd",
          "description",
          "trustScore",
          "relevanceScore",
          "organicEvidence",
          "selfListed",
          "matchedTerms",
          "riskFlags"
        ],
        "properties": {
          "rank": {
            "type": "integer"
          },
          "url": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "method": {
            "type": "string",
            "enum": [
              "GET",
              "POST"
            ]
          },
          "network": {
            "type": "string"
          },
          "payTo": {
            "type": "string"
          },
          "priceUsd": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "trustScore": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100
          },
          "relevanceScore": {
            "type": "integer",
            "minimum": 0,
            "maximum": 60
          },
          "organicEvidence": {
            "type": "object",
            "properties": {
              "settledCalls30d": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "uniquePayers30d": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "liveProbed402": {
                "type": "boolean"
              },
              "uptime402Rate": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "emaLatencyMs": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "washTradeFiltered": {
                "type": "boolean"
              },
              "baitAndSwitchClean": {
                "type": "boolean"
              }
            }
          },
          "selfListed": {
            "type": "boolean"
          },
          "matchedTerms": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "riskFlags": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "ledgerProof": {
      "type": "object",
      "properties": {
        "updatedAtUtc": {
          "type": "string"
        },
        "trackedLiveEndpoints": {
          "type": "integer"
        },
        "verifiedCatalogSize": {
          "type": "integer"
        },
        "snapshotSha256": {
          "type": "string"
        },
        "icpAnchorReceiptId": {
          "type": [
            "string",
            "null"
          ]
        },
        "verifyUrl": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "recommendationSha256": {
      "type": "string"
    },
    "cryptographicAttestation": {
      "type": "object"
    },
    "evaluatedAtUtc": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "need",
    "picks",
    "totalCandidatesEvaluated",
    "charged",
    "neutralityPolicy",
    "ledgerProof",
    "recommendationSha256",
    "evaluatedAtUtc"
  ]
}
🟢plan_safe_x402_failover_route(need, maxPriceUsd, maxRoutes, method, excludeSelf, ...)

[x402 Paid: $0.015 Base USDC -- FREE if 0 matches] Parallel-quarantined x402 failover route planner: ranks top wash-filtered candidates for `need`, live-probes all candidates in parallel to eliminate dead/bait-and-switch endpoints, and returns an Ed25519-signed primary + fallback execution ticket.

Input Schema

{
  "type": "object",
  "properties": {
    "need": {
      "type": "string",
      "minLength": 2,
      "maxLength": 300,
      "description": "Plain-language capability or data need (e.g. 'weather forecast', 'crypto yields', 'erc20 balance')."
    },
    "maxPriceUsd": {
      "type": "number",
      "minimum": 0,
      "description": "Optional maximum per-call USD price cap enforced against live 402 challenges."
    },
    "maxRoutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 3,
      "description": "Maximum number of live-verified failover routes to return (1..3, default 3)."
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ],
      "description": "Optional HTTP method filter."
    },
    "excludeSelf": {
      "type": "boolean",
      "description": "Exclude any endpoint operated by Machine Utility Foundry (default false)."
    },
    "allowCautionFallback": {
      "type": "boolean",
      "description": "Include CAUTION endpoints as lower-priority fallbacks behind SAFE_TO_PAY (default true; DO_NOT_PAY is strictly excluded)."
    },
    "requireOfficialBaseUsdc": {
      "type": "boolean",
      "description": "Require live 402 challenges to settle in official Base Mainnet USDC (default true)."
    }
  },
  "required": [
    "need"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "need": {
      "type": "string"
    },
    "charged": {
      "type": "boolean"
    },
    "readyToExecute": {
      "type": "boolean"
    },
    "primaryUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "executableRoutes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "role",
          "rank",
          "url",
          "method",
          "verdict",
          "trustScore",
          "liveLatencyMs",
          "paymentTerms"
        ],
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "primary",
              "fallback_1",
              "fallback_2"
            ]
          },
          "rank": {
            "type": "integer"
          },
          "url": {
            "type": "string"
          },
          "method": {
            "type": "string",
            "enum": [
              "GET",
              "POST"
            ]
          },
          "verdict": {
            "type": "string",
            "enum": [
              "SAFE_TO_PAY",
              "CAUTION"
            ]
          },
          "trustScore": {
            "type": "number"
          },
          "liveLatencyMs": {
            "type": "number"
          },
          "paymentTerms": {
            "type": "object"
          },
          "selfListed": {
            "type": "boolean"
          },
          "counterpartyProbe": {
            "type": "object"
          }
        }
      }
    },
    "quarantinedOut": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "totalCatalogCandidatesEvaluated": {
      "type": "integer"
    },
    "liveProbedCount": {
      "type": "integer"
    },
    "neutralityPolicy": {
      "type": "string"
    },
    "ledgerProof": {
      "type": "object"
    },
    "routePlanSha256": {
      "type": "string"
    },
    "cryptographicAttestation": {
      "type": "object"
    },
    "plannedAtUtc": {
      "type": "string"
    }
  },
  "required": [
    "need",
    "charged",
    "readyToExecute",
    "primaryUrl",
    "executableRoutes",
    "quarantinedOut",
    "totalCatalogCandidatesEvaluated",
    "liveProbedCount",
    "neutralityPolicy",
    "ledgerProof",
    "routePlanSha256",
    "cryptographicAttestation",
    "plannedAtUtc"
  ]
}
⚪stateful_budget_guard_icp(vaultId, agentId, nonce, action, amountMicroUsd, ...)

[x402 Paid: $0.005 Base USDC] Enforce payer-isolated stateful shared spending caps and atomic nonce replay protection across multi-agent swarms on Internet Computer (ICP).

Input Schema

{
  "type": "object",
  "properties": {
    "vaultId": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9._:-]{1,64}$",
      "description": "Logical budget vault identifier isolated under the verified x402 payer address (1..64 chars)."
    },
    "agentId": {
      "type": "string",
      "maxLength": 128,
      "description": "Identifier of the autonomous agent worker requesting spend approval."
    },
    "nonce": {
      "type": "string",
      "maxLength": 128,
      "description": "Unique idempotency/replay-protection nonce for this spend attempt (7-day on-chain TTL)."
    },
    "action": {
      "type": "string",
      "maxLength": 128,
      "description": "Short action label describing the intended expenditure (e.g. x402_api_call)."
    },
    "amountMicroUsd": {
      "type": "integer",
      "minimum": 0,
      "description": "Requested spend amount in micro-USD (1 USD = 1,000,000 micro-USD)."
    },
    "budgetCapMicroUsd": {
      "type": "integer",
      "minimum": 1,
      "description": "Maximum cumulative spending cap for this vault in micro-USD."
    },
    "maxSingleMicroUsd": {
      "type": "integer",
      "minimum": 0,
      "description": "Optional per-transaction spending ceiling in micro-USD."
    }
  },
  "required": [
    "vaultId",
    "agentId",
    "nonce",
    "action",
    "amountMicroUsd",
    "budgetCapMicroUsd"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "ALLOW",
        "DENY"
      ]
    },
    "reason": {
      "type": "string"
    },
    "stateAnchoredOnChain": {
      "type": "boolean"
    },
    "payerNamespace": {
      "type": "string"
    },
    "vaultId": {
      "type": "string"
    },
    "opaqueVaultKey": {
      "type": "string"
    },
    "nonce": {
      "type": "string"
    },
    "cumulativeSpentMicroUsd": {
      "type": "integer"
    },
    "remainingMicroUsd": {
      "type": "integer"
    },
    "replayDetected": {
      "type": "boolean"
    },
    "decisionSha256": {
      "type": "string"
    },
    "onChainProof": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "network": {
          "type": "string",
          "enum": [
            "icp"
          ]
        },
        "timestampNs": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "decision",
    "reason",
    "stateAnchoredOnChain",
    "payerNamespace",
    "vaultId",
    "opaqueVaultKey",
    "nonce",
    "cumulativeSpentMicroUsd",
    "remainingMicroUsd",
    "replayDetected",
    "decisionSha256"
  ]
}
🟢oracle_x402_counterparty(targetUrl, method, maxAcceptableUsd, catalogQuotedUsd)

[x402 Paid: $0.005 Base USDC] Probe an unknown x402 endpoint for live HTTP 402 compliance, official Base USDC asset verification, price bait-and-switch anomalies, wash-trade detection, and ICP-anchored historical 0-100 trust score.

Input Schema

{
  "type": "object",
  "properties": {
    "targetUrl": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Public https:// URL of the external x402 paid endpoint to inspect before paying."
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ],
      "description": "HTTP method used by the target x402 endpoint (auto-detected if omitted)."
    },
    "maxAcceptableUsd": {
      "type": "number",
      "minimum": 0,
      "description": "Optional maximum price in USD your agent is willing to pay; triggers DO_NOT_PAY if exceeded."
    },
    "catalogQuotedUsd": {
      "type": "number",
      "minimum": 0,
      "description": "Optional advertised catalog price in USD to cross-check against live 402 bait-and-switch inflation."
    }
  },
  "required": [
    "targetUrl"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "verdict": {
      "type": "string",
      "enum": [
        "SAFE_TO_PAY",
        "CAUTION",
        "DO_NOT_PAY"
      ]
    },
    "trustScore": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "targetUrl": {
      "type": "string"
    },
    "httpStatus": {
      "type": [
        "integer",
        "null"
      ]
    },
    "latencyMs": {
      "type": "integer"
    },
    "x402Version": {
      "type": [
        "integer",
        "null"
      ]
    },
    "paymentTerms": {
      "type": "object",
      "required": [
        "network",
        "asset",
        "isOfficialBaseUsdc",
        "payTo",
        "amountAtomic",
        "estimatedUsd",
        "hasBazaarSchema"
      ],
      "properties": {
        "network": {
          "type": [
            "string",
            "null"
          ]
        },
        "asset": {
          "type": [
            "string",
            "null"
          ]
        },
        "isOfficialBaseUsdc": {
          "type": "boolean"
        },
        "payTo": {
          "type": [
            "string",
            "null"
          ]
        },
        "amountAtomic": {
          "type": [
            "string",
            "null"
          ]
        },
        "estimatedUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "hasBazaarSchema": {
          "type": "boolean"
        }
      }
    },
    "hasWellKnownX402": {
      "type": "boolean"
    },
    "historicalReputation": {
      "type": "object",
      "required": [
        "knownEndpoint",
        "knownMerchantWallet",
        "endpointObservations",
        "baitAndSwitchDetected",
        "priceSpikeDetected",
        "washTradeSuspected",
        "ledgerProof"
      ],
      "properties": {
        "knownEndpoint": {
          "type": "boolean"
        },
        "knownMerchantWallet": {
          "type": "boolean"
        },
        "endpointObservations": {
          "type": "integer"
        },
        "endpointUptime402Rate": {
          "type": [
            "number",
            "null"
          ]
        },
        "endpointEmaLatencyMs": {
          "type": [
            "integer",
            "null"
          ]
        },
        "firstSeenUtc": {
          "type": [
            "string",
            "null"
          ]
        },
        "lastSeenUtc": {
          "type": [
            "string",
            "null"
          ]
        },
        "catalogAdvertisedUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "historicalMinUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "historicalMaxUsd": {
          "type": [
            "number",
            "null"
          ]
        },
        "baitAndSwitchDetected": {
          "type": "boolean"
        },
        "priceSpikeDetected": {
          "type": "boolean"
        },
        "settledCalls30d": {
          "type": [
            "integer",
            "null"
          ]
        },
        "uniquePayers30d": {
          "type": [
            "integer",
            "null"
          ]
        },
        "washTradeSuspected": {
          "type": "boolean"
        },
        "merchantWalletEndpoints": {
          "type": "integer"
        },
        "merchantHealthyRate": {
          "type": [
            "number",
            "null"
          ]
        },
        "ledgerProof": {
          "type": "object",
          "required": [
            "updatedAtUtc",
            "trackedEndpoints",
            "trackedWallets",
            "snapshotSha256"
          ],
          "properties": {
            "updatedAtUtc": {
              "type": "string"
            },
            "trackedEndpoints": {
              "type": "integer"
            },
            "trackedWallets": {
              "type": "integer"
            },
            "snapshotSha256": {
              "type": "string"
            },
            "icpAnchorReceiptId": {
              "type": [
                "string",
                "null"
              ]
            },
            "verifyUrl": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        }
      }
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "severity",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "CRITICAL",
              "WARN",
              "INFO"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "probeSha256": {
      "type": "string"
    },
    "probedAtUtc": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "verdict",
    "trustScore",
    "targetUrl",
    "httpStatus",
    "latencyMs",
    "paymentTerms",
    "hasWellKnownX402",
    "historicalReputation",
    "findings",
    "probeSha256",
    "probedAtUtc"
  ]
}
🟢guard_evm_preflight_base(from, to, data, valueWei, expectOfficialBaseUsdc, ...)

[x402 Paid: $0.01 Base USDC] Simulate a Base Mainnet EVM transaction via fail-closed eth_call and eth_getCode to block unlimited ERC-20 approvals, Permit2/EIP-3009 signature drains, and counterfeit USDC contracts.

Input Schema

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Sender 0x EVM wallet address on Base Mainnet (eip155:8453)."
    },
    "to": {
      "type": "string",
      "pattern": "^0x[a-fA-F0-9]{40}$",
      "description": "Target contract or recipient 0x EVM address on Base Mainnet."
    },
    "data": {
      "type": "string",
      "description": "0x-prefixed even-length hex calldata to decode and simulate (default '0x')."
    },
    "valueWei": {
      "type": "string",
      "description": "Native ETH value in decimal wei string (default '0')."
    },
    "expectOfficialBaseUsdc": {
      "type": "boolean",
      "description": "When true, denies execution unless `to` matches official Base USDC (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913)."
    },
    "maxErc20AmountAtomic": {
      "type": "string",
      "description": "Optional non-negative integer string capping maximum allowed ERC-20 token transfer/approval in atomic units."
    },
    "runSimulation": {
      "type": "boolean",
      "description": "Whether to execute live Base Mainnet eth_getCode and eth_call RPC simulation (default true)."
    }
  },
  "required": [
    "from",
    "to"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "decision": {
      "type": "string",
      "enum": [
        "ALLOW",
        "DENY"
      ]
    },
    "network": {
      "type": "string",
      "enum": [
        "eip155:8453"
      ]
    },
    "decodedCall": {
      "type": "object",
      "required": [
        "selector",
        "signature",
        "spenderOrRecipient",
        "amountAtomic"
      ],
      "properties": {
        "selector": {
          "type": [
            "string",
            "null"
          ]
        },
        "signature": {
          "type": [
            "string",
            "null"
          ]
        },
        "spenderOrRecipient": {
          "type": [
            "string",
            "null"
          ]
        },
        "amountAtomic": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "onChainChecks": {
      "type": "object",
      "required": [
        "targetIsContract",
        "simulationRan",
        "simulationSucceeded",
        "revertReason"
      ],
      "properties": {
        "targetIsContract": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "simulationRan": {
          "type": "boolean"
        },
        "simulationSucceeded": {
          "type": [
            "boolean",
            "null"
          ]
        },
        "revertReason": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "findings": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "code",
          "severity",
          "message"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "severity": {
            "type": "string",
            "enum": [
              "CRITICAL",
              "HIGH",
              "WARN"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "preflightSha256": {
      "type": "string"
    },
    "evaluatedAtUtc": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "decision",
    "network",
    "decodedCall",
    "onChainChecks",
    "findings",
    "preflightSha256",
    "evaluatedAtUtc"
  ]
}
⚪attest_artifact_onchain_icp(agentId, artifactType, payload, schema, draft, ...)

[x402 Paid: $0.005 Base USDC] Deterministically validate an agent output artifact against an optional JSON Schema and anchor a tamper-proof payer-bound SHA-256 receipt on IC Mainnet.

Input Schema

{
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "maxLength": 128,
      "description": "Identifier of the agent producing the artifact."
    },
    "artifactType": {
      "type": "string",
      "maxLength": 128,
      "description": "Category label of the attested artifact (e.g. task-result, audit-report)."
    },
    "payload": {
      "type": [
        "object",
        "array",
        "string",
        "number",
        "boolean"
      ],
      "description": "JSON value produced by the agent to canonically hash, validate, and anchor on IC Mainnet."
    },
    "schema": {
      "type": "object",
      "description": "Optional JSON Schema object (ReDoS-checked, no remote $ref) to validate `payload` before anchoring."
    },
    "draft": {
      "type": "string",
      "enum": [
        "4",
        "7",
        "2019-09",
        "2020-12"
      ],
      "description": "JSON Schema draft version when `schema` is supplied (default '2020-12')."
    },
    "policyVersion": {
      "type": "string",
      "maxLength": 64,
      "description": "Optional policy version tag recorded alongside the IC Mainnet receipt."
    }
  },
  "required": [
    "agentId",
    "artifactType",
    "payload"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "anchoredOnChain": {
      "type": "boolean"
    },
    "receiptId": {
      "type": "string"
    },
    "payerAddress": {
      "type": [
        "string",
        "null"
      ]
    },
    "artifactSha256": {
      "type": "string"
    },
    "schemaSha256": {
      "type": [
        "string",
        "null"
      ]
    },
    "verifiedAtUtc": {
      "type": "string",
      "format": "date-time"
    },
    "validationErrors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "keyword": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "onChainProof": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "network": {
          "type": "string",
          "enum": [
            "icp"
          ]
        },
        "verifyUrl": {
          "type": "string"
        },
        "recordId": {
          "type": "string"
        },
        "canisterTimestampNs": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "valid",
    "anchoredOnChain",
    "receiptId",
    "payerAddress",
    "artifactSha256",
    "schemaSha256",
    "verifiedAtUtc",
    "validationErrors",
    "onChainProof"
  ]
}
⚪attest_compliance_bundle_icp(agentId, artifactType, action, amountUsd, payload, ...)

[x402 Paid: $0.015 Base USDC] Run an all-in-one high-assurance audit (JSON Schema + Pre-Action Policy + BigInt Double-Entry Ledger) and anchor the combined `rulesCommitmentSha256` receipt on IC Mainnet.

Input Schema

{
  "type": "object",
  "properties": {
    "agentId": {
      "type": "string",
      "maxLength": 128,
      "description": "Identifier of the autonomous agent undergoing compliance verification."
    },
    "artifactType": {
      "type": "string",
      "maxLength": 128,
      "description": "Artifact category label (e.g. payout-batch, treasury-settlement)."
    },
    "action": {
      "type": "string",
      "maxLength": 128,
      "description": "Action name evaluated against `policy.allowedActions` / `policy.blockedActions`."
    },
    "amountUsd": {
      "type": "number",
      "minimum": 0,
      "description": "Transaction USD amount checked against `policy.maxAmountUsd`."
    },
    "payload": {
      "type": [
        "object",
        "array",
        "string",
        "number",
        "boolean"
      ],
      "description": "Primary JSON artifact payload to validate and canonically hash."
    },
    "schema": {
      "type": "object",
      "description": "Optional JSON Schema object for deterministic structural validation."
    },
    "draft": {
      "type": "string",
      "enum": [
        "4",
        "7",
        "2019-09",
        "2020-12"
      ],
      "description": "JSON Schema draft version (default '2020-12')."
    },
    "policy": {
      "type": "object",
      "description": "Optional pre-action policy rule set (allowedActions, blockedActions, maxAmountUsd, blockPromptInjection)."
    },
    "ledgerEntries": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Optional double-entry accounting lines audited with exact BigInt balance invariants."
    },
    "ledgerPrecision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 18,
      "description": "Decimal precision for BigInt ledger verification (default 6)."
    },
    "policyVersion": {
      "type": "string",
      "maxLength": 64,
      "description": "Optional compliance policy version identifier."
    }
  },
  "required": [
    "agentId",
    "artifactType",
    "payload"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "allPassed": {
      "type": "boolean"
    },
    "rulesCommitmentSha256": {
      "type": "string"
    },
    "checks": {
      "type": "object",
      "required": [
        "schema",
        "policy",
        "ledger"
      ],
      "properties": {
        "schema": {
          "type": "object",
          "properties": {
            "ran": {
              "type": "boolean"
            },
            "passed": {
              "type": "boolean"
            },
            "errorCount": {
              "type": "integer"
            },
            "schemaSha256": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "policy": {
          "type": "object",
          "properties": {
            "ran": {
              "type": "boolean"
            },
            "passed": {
              "type": "boolean"
            },
            "violationCount": {
              "type": "integer"
            },
            "policySha256": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "ledger": {
          "type": "object",
          "properties": {
            "ran": {
              "type": "boolean"
            },
            "passed": {
              "type": "boolean"
            },
            "errorCount": {
              "type": "integer"
            }
          }
        }
      }
    },
    "details": {
      "type": "object",
      "properties": {
        "schemaErrors": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "policyViolations": {
          "type": "array",
          "items": {
            "type": "object"
          }
        },
        "ledgerErrors": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "attestation": {
      "type": [
        "object",
        "null"
      ]
    }
  },
  "required": [
    "allPassed",
    "rulesCommitmentSha256",
    "checks",
    "details",
    "attestation"
  ]
}
🟢diff_breaking_openapi(previous, current)

[x402 Paid: $0.01 Base USDC] Audit two OpenAPI 3.x specifications (up to 2 MB) with memoized local $ref and allOf resolution to detect breaking endpoint, parameter, request, and response contract changes.

Input Schema

{
  "type": "object",
  "properties": {
    "previous": {
      "type": "object",
      "description": "Baseline OpenAPI 3.x specification JSON object (before change)."
    },
    "current": {
      "type": "object",
      "description": "Candidate OpenAPI 3.x specification JSON object (after change)."
    }
  },
  "required": [
    "previous",
    "current"
  ],
  "additionalProperties": false
}

Output Schema

{
  "type": "object",
  "properties": {
    "hasBreakingChanges": {
      "type": "boolean"
    },
    "breakingCount": {
      "type": "integer"
    },
    "nonBreakingCount": {
      "type": "integer"
    },
    "truncatedByBudget": {
      "type": "boolean"
    },
    "changes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "severity",
          "category",
          "location",
          "message"
        ],
        "properties": {
          "severity": {
            "type": "string",
            "enum": [
              "BREAKING",
              "NON_BREAKING"
            ]
          },
          "category": {
            "type": "string"
          },
          "location": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "summary": {
      "type": "string"
    }
  },
  "required": [
    "hasBreakingChanges",
    "breakingCount",
    "nonBreakingCount",
    "changes",
    "summary"
  ]
}

Community

Rate this Server

Evidence

Recent observations

verifiedversion not recorded12 tools